diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Annotation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Annotation.g.cs index 1c155ad8..521ae5b4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Annotation.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Annotation.g.cs @@ -27,27 +27,27 @@ public class AnnotationJsonConverter : global::System.Text.Json.Serialization.Js } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("file_id")) __score0++; - if (__jsonProps.Contains("index")) __score0++; if (__jsonProps.Contains("filename")) __score0++; + if (__jsonProps.Contains("index")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("url")) __score1++; - if (__jsonProps.Contains("start_index")) __score1++; if (__jsonProps.Contains("end_index")) __score1++; + if (__jsonProps.Contains("start_index")) __score1++; if (__jsonProps.Contains("title")) __score1++; + if (__jsonProps.Contains("type")) __score1++; + if (__jsonProps.Contains("url")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("container_id")) __score2++; - if (__jsonProps.Contains("file_id")) __score2++; - if (__jsonProps.Contains("start_index")) __score2++; if (__jsonProps.Contains("end_index")) __score2++; + if (__jsonProps.Contains("file_id")) __score2++; if (__jsonProps.Contains("filename")) __score2++; + if (__jsonProps.Contains("start_index")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("type")) __score3++; if (__jsonProps.Contains("file_id")) __score3++; if (__jsonProps.Contains("index")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AnnotationsItem3.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AnnotationsItem3.g.cs index bf382f38..32466ecc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AnnotationsItem3.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AnnotationsItem3.g.cs @@ -27,11 +27,11 @@ public class AnnotationsItem3JsonConverter : global::System.Text.Json.Serializat } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("source")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("source")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ApplyPatchOperationParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ApplyPatchOperationParam.g.cs index ff939801..84ae9358 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ApplyPatchOperationParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ApplyPatchOperationParam.g.cs @@ -27,16 +27,16 @@ public class ApplyPatchOperationParamJsonConverter : global::System.Text.Json.Se } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("path")) __score0++; if (__jsonProps.Contains("diff")) __score0++; + if (__jsonProps.Contains("path")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("path")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; - if (__jsonProps.Contains("path")) __score2++; if (__jsonProps.Contains("diff")) __score2++; + if (__jsonProps.Contains("path")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AssistantStreamEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AssistantStreamEvent.g.cs index ae681910..0d568efe 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AssistantStreamEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AssistantStreamEvent.g.cs @@ -31,11 +31,11 @@ public class AssistantStreamEventJsonConverter : global::System.Text.Json.Serial var __score2 = 0; var __score3 = 0; var __score4 = 0; - if (__jsonProps.Contains("event")) __score4++; if (__jsonProps.Contains("data")) __score4++; + if (__jsonProps.Contains("event")) __score4++; var __score5 = 0; - if (__jsonProps.Contains("event")) __score5++; if (__jsonProps.Contains("data")) __score5++; + if (__jsonProps.Contains("event")) __score5++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AssistantsApiResponseFormatOption.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AssistantsApiResponseFormatOption.g.cs index 99c8fc78..c952eeac 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AssistantsApiResponseFormatOption.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AssistantsApiResponseFormatOption.g.cs @@ -32,8 +32,8 @@ public class AssistantsApiResponseFormatOptionJsonConverter : global::System.Tex var __score2 = 0; if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("type")) __score3++; if (__jsonProps.Contains("json_schema")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AssistantsApiToolChoiceOption.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AssistantsApiToolChoiceOption.g.cs index 8bc96116..b6dd4d0b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AssistantsApiToolChoiceOption.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AssistantsApiToolChoiceOption.g.cs @@ -28,8 +28,8 @@ public class AssistantsApiToolChoiceOptionJsonConverter : global::System.Text.Js var __score0 = 0; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("function")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionMessageToolCallsItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionMessageToolCallsItem.g.cs index f0594f38..979cb4ee 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionMessageToolCallsItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionMessageToolCallsItem.g.cs @@ -27,13 +27,13 @@ public class ChatCompletionMessageToolCallsItemJsonConverter : global::System.Te } var __score0 = 0; + if (__jsonProps.Contains("function")) __score0++; if (__jsonProps.Contains("id")) __score0++; if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("function")) __score0++; var __score1 = 0; + if (__jsonProps.Contains("custom")) __score1++; if (__jsonProps.Contains("id")) __score1++; if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("custom")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestAssistantMessageContentPart.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestAssistantMessageContentPart.g.cs index 7dae0d64..fbec8985 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestAssistantMessageContentPart.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestAssistantMessageContentPart.g.cs @@ -27,11 +27,11 @@ public class ChatCompletionRequestAssistantMessageContentPartJsonConverter : glo } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("text")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("refusal")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestMessage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestMessage.g.cs index 1f53e39d..6282a96a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestMessage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestMessage.g.cs @@ -28,32 +28,32 @@ public class ChatCompletionRequestMessageJsonConverter : global::System.Text.Jso var __score0 = 0; if (__jsonProps.Contains("content")) __score0++; - if (__jsonProps.Contains("role")) __score0++; if (__jsonProps.Contains("name")) __score0++; + if (__jsonProps.Contains("role")) __score0++; var __score1 = 0; if (__jsonProps.Contains("content")) __score1++; - if (__jsonProps.Contains("role")) __score1++; if (__jsonProps.Contains("name")) __score1++; + if (__jsonProps.Contains("role")) __score1++; var __score2 = 0; if (__jsonProps.Contains("content")) __score2++; - if (__jsonProps.Contains("role")) __score2++; if (__jsonProps.Contains("name")) __score2++; + if (__jsonProps.Contains("role")) __score2++; var __score3 = 0; + if (__jsonProps.Contains("audio")) __score3++; if (__jsonProps.Contains("content")) __score3++; + if (__jsonProps.Contains("function_call")) __score3++; + if (__jsonProps.Contains("name")) __score3++; if (__jsonProps.Contains("refusal")) __score3++; if (__jsonProps.Contains("role")) __score3++; - if (__jsonProps.Contains("name")) __score3++; - if (__jsonProps.Contains("audio")) __score3++; if (__jsonProps.Contains("tool_calls")) __score3++; - if (__jsonProps.Contains("function_call")) __score3++; var __score4 = 0; - if (__jsonProps.Contains("role")) __score4++; if (__jsonProps.Contains("content")) __score4++; + if (__jsonProps.Contains("role")) __score4++; if (__jsonProps.Contains("tool_call_id")) __score4++; var __score5 = 0; - if (__jsonProps.Contains("role")) __score5++; if (__jsonProps.Contains("content")) __score5++; if (__jsonProps.Contains("name")) __score5++; + if (__jsonProps.Contains("role")) __score5++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestSystemMessageContentPart.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestSystemMessageContentPart.g.cs index bed41971..5b272322 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestSystemMessageContentPart.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestSystemMessageContentPart.g.cs @@ -27,8 +27,8 @@ public class ChatCompletionRequestSystemMessageContentPartJsonConverter : global } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("text")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestToolMessageContentPart.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestToolMessageContentPart.g.cs index f8e787e1..ea259442 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestToolMessageContentPart.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestToolMessageContentPart.g.cs @@ -27,8 +27,8 @@ public class ChatCompletionRequestToolMessageContentPartJsonConverter : global:: } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("text")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestUserMessageContentPart.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestUserMessageContentPart.g.cs index 251e4397..6387b322 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestUserMessageContentPart.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestUserMessageContentPart.g.cs @@ -27,17 +27,17 @@ public class ChatCompletionRequestUserMessageContentPartJsonConverter : global:: } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("text")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("image_url")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("input_audio")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("type")) __score3++; if (__jsonProps.Contains("file")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionToolChoiceOption.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionToolChoiceOption.g.cs index b2bc5297..5e0663bb 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionToolChoiceOption.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionToolChoiceOption.g.cs @@ -28,14 +28,14 @@ public class ChatCompletionToolChoiceOptionJsonConverter : global::System.Text.J var __score0 = 0; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("allowed_tools")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("function")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("type")) __score3++; if (__jsonProps.Contains("custom")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChunkingStrategyRequestParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChunkingStrategyRequestParam.g.cs index 7898a3f2..b90adf2c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChunkingStrategyRequestParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChunkingStrategyRequestParam.g.cs @@ -29,8 +29,8 @@ public class ChunkingStrategyRequestParamJsonConverter : global::System.Text.Jso var __score0 = 0; if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("static")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ComputerAction.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ComputerAction.g.cs index 7bb97766..6cd4834b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ComputerAction.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ComputerAction.g.cs @@ -27,8 +27,8 @@ public class ComputerActionJsonConverter : global::System.Text.Json.Serializatio } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("button")) __score0++; + if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("x")) __score0++; if (__jsonProps.Contains("y")) __score0++; var __score1 = 0; @@ -36,11 +36,11 @@ public class ComputerActionJsonConverter : global::System.Text.Json.Serializatio if (__jsonProps.Contains("x")) __score1++; if (__jsonProps.Contains("y")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("path")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("type")) __score3++; if (__jsonProps.Contains("keys")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __score4 = 0; if (__jsonProps.Contains("type")) __score4++; if (__jsonProps.Contains("x")) __score4++; @@ -48,14 +48,14 @@ public class ComputerActionJsonConverter : global::System.Text.Json.Serializatio var __score5 = 0; if (__jsonProps.Contains("type")) __score5++; var __score6 = 0; + if (__jsonProps.Contains("scroll_x")) __score6++; + if (__jsonProps.Contains("scroll_y")) __score6++; if (__jsonProps.Contains("type")) __score6++; if (__jsonProps.Contains("x")) __score6++; if (__jsonProps.Contains("y")) __score6++; - if (__jsonProps.Contains("scroll_x")) __score6++; - if (__jsonProps.Contains("scroll_y")) __score6++; var __score7 = 0; - if (__jsonProps.Contains("type")) __score7++; if (__jsonProps.Contains("text")) __score7++; + if (__jsonProps.Contains("type")) __score7++; var __score8 = 0; if (__jsonProps.Contains("type")) __score8++; var __bestScore = 0; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ComputerToolCallOutputResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ComputerToolCallOutputResource.g.cs index 28d3334f..3f09e60e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ComputerToolCallOutputResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ComputerToolCallOutputResource.g.cs @@ -27,12 +27,12 @@ public class ComputerToolCallOutputResourceJsonConverter : global::System.Text.J } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("id")) __score0++; - if (__jsonProps.Contains("call_id")) __score0++; if (__jsonProps.Contains("acknowledged_safety_checks")) __score0++; + if (__jsonProps.Contains("call_id")) __score0++; + if (__jsonProps.Contains("id")) __score0++; if (__jsonProps.Contains("output")) __score0++; if (__jsonProps.Contains("status")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; if (__jsonProps.Contains("id")) __score1++; var __bestScore = 0; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ContentItem3.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ContentItem3.g.cs index 02efacdf..de4b87ad 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ContentItem3.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ContentItem3.g.cs @@ -27,41 +27,41 @@ public class ContentItem3JsonConverter : global::System.Text.Json.Serialization. } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("text")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("text")) __score1++; if (__jsonProps.Contains("annotations")) __score1++; if (__jsonProps.Contains("logprobs")) __score1++; + if (__jsonProps.Contains("text")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("text")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("type")) __score3++; if (__jsonProps.Contains("text")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __score4 = 0; - if (__jsonProps.Contains("type")) __score4++; if (__jsonProps.Contains("text")) __score4++; + if (__jsonProps.Contains("type")) __score4++; var __score5 = 0; - if (__jsonProps.Contains("type")) __score5++; if (__jsonProps.Contains("refusal")) __score5++; + if (__jsonProps.Contains("type")) __score5++; var __score6 = 0; - if (__jsonProps.Contains("type")) __score6++; - if (__jsonProps.Contains("image_url")) __score6++; - if (__jsonProps.Contains("file_id")) __score6++; if (__jsonProps.Contains("detail")) __score6++; + if (__jsonProps.Contains("file_id")) __score6++; + if (__jsonProps.Contains("image_url")) __score6++; + if (__jsonProps.Contains("type")) __score6++; var __score7 = 0; - if (__jsonProps.Contains("type")) __score7++; - if (__jsonProps.Contains("image_url")) __score7++; - if (__jsonProps.Contains("file_id")) __score7++; if (__jsonProps.Contains("detail")) __score7++; + if (__jsonProps.Contains("file_id")) __score7++; + if (__jsonProps.Contains("image_url")) __score7++; + if (__jsonProps.Contains("type")) __score7++; var __score8 = 0; - if (__jsonProps.Contains("type")) __score8++; - if (__jsonProps.Contains("file_id")) __score8++; - if (__jsonProps.Contains("filename")) __score8++; if (__jsonProps.Contains("file_data")) __score8++; + if (__jsonProps.Contains("file_id")) __score8++; if (__jsonProps.Contains("file_url")) __score8++; + if (__jsonProps.Contains("filename")) __score8++; + if (__jsonProps.Contains("type")) __score8++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ContentItem4.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ContentItem4.g.cs index c0e522b7..046e98c5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ContentItem4.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ContentItem4.g.cs @@ -27,11 +27,11 @@ public class ContentItem4JsonConverter : global::System.Text.Json.Serialization. } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("text")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("text")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ConversationItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ConversationItem.g.cs index 3083cd9c..a9b575db 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ConversationItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ConversationItem.g.cs @@ -27,149 +27,149 @@ public class ConversationItemJsonConverter : global::System.Text.Json.Serializat } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; + if (__jsonProps.Contains("content")) __score0++; if (__jsonProps.Contains("id")) __score0++; - if (__jsonProps.Contains("status")) __score0++; if (__jsonProps.Contains("role")) __score0++; - if (__jsonProps.Contains("content")) __score0++; + if (__jsonProps.Contains("status")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; var __score2 = 0; var __score3 = 0; if (__jsonProps.Contains("id")) __score3++; - if (__jsonProps.Contains("type")) __score3++; - if (__jsonProps.Contains("status")) __score3++; if (__jsonProps.Contains("queries")) __score3++; if (__jsonProps.Contains("results")) __score3++; + if (__jsonProps.Contains("status")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __score4 = 0; + if (__jsonProps.Contains("action")) __score4++; if (__jsonProps.Contains("id")) __score4++; - if (__jsonProps.Contains("type")) __score4++; if (__jsonProps.Contains("status")) __score4++; - if (__jsonProps.Contains("action")) __score4++; + if (__jsonProps.Contains("type")) __score4++; var __score5 = 0; - if (__jsonProps.Contains("type")) __score5++; if (__jsonProps.Contains("id")) __score5++; - if (__jsonProps.Contains("status")) __score5++; if (__jsonProps.Contains("result")) __score5++; + if (__jsonProps.Contains("status")) __score5++; + if (__jsonProps.Contains("type")) __score5++; var __score6 = 0; - if (__jsonProps.Contains("type")) __score6++; - if (__jsonProps.Contains("id")) __score6++; - if (__jsonProps.Contains("call_id")) __score6++; if (__jsonProps.Contains("action")) __score6++; if (__jsonProps.Contains("actions")) __score6++; + if (__jsonProps.Contains("call_id")) __score6++; + if (__jsonProps.Contains("id")) __score6++; if (__jsonProps.Contains("pending_safety_checks")) __score6++; if (__jsonProps.Contains("status")) __score6++; + if (__jsonProps.Contains("type")) __score6++; var __score7 = 0; var __score8 = 0; - if (__jsonProps.Contains("type")) __score8++; - if (__jsonProps.Contains("id")) __score8++; + if (__jsonProps.Contains("arguments")) __score8++; if (__jsonProps.Contains("call_id")) __score8++; + if (__jsonProps.Contains("created_by")) __score8++; if (__jsonProps.Contains("execution")) __score8++; - if (__jsonProps.Contains("arguments")) __score8++; + if (__jsonProps.Contains("id")) __score8++; if (__jsonProps.Contains("status")) __score8++; - if (__jsonProps.Contains("created_by")) __score8++; + if (__jsonProps.Contains("type")) __score8++; var __score9 = 0; - if (__jsonProps.Contains("type")) __score9++; - if (__jsonProps.Contains("id")) __score9++; if (__jsonProps.Contains("call_id")) __score9++; + if (__jsonProps.Contains("created_by")) __score9++; if (__jsonProps.Contains("execution")) __score9++; - if (__jsonProps.Contains("tools")) __score9++; + if (__jsonProps.Contains("id")) __score9++; if (__jsonProps.Contains("status")) __score9++; - if (__jsonProps.Contains("created_by")) __score9++; + if (__jsonProps.Contains("tools")) __score9++; + if (__jsonProps.Contains("type")) __score9++; var __score10 = 0; - if (__jsonProps.Contains("type")) __score10++; - if (__jsonProps.Contains("id")) __score10++; - if (__jsonProps.Contains("encrypted_content")) __score10++; - if (__jsonProps.Contains("summary")) __score10++; if (__jsonProps.Contains("content")) __score10++; + if (__jsonProps.Contains("encrypted_content")) __score10++; + if (__jsonProps.Contains("id")) __score10++; if (__jsonProps.Contains("status")) __score10++; + if (__jsonProps.Contains("summary")) __score10++; + if (__jsonProps.Contains("type")) __score10++; var __score11 = 0; - if (__jsonProps.Contains("type")) __score11++; - if (__jsonProps.Contains("id")) __score11++; - if (__jsonProps.Contains("status")) __score11++; - if (__jsonProps.Contains("container_id")) __score11++; if (__jsonProps.Contains("code")) __score11++; + if (__jsonProps.Contains("container_id")) __score11++; + if (__jsonProps.Contains("id")) __score11++; if (__jsonProps.Contains("outputs")) __score11++; + if (__jsonProps.Contains("status")) __score11++; + if (__jsonProps.Contains("type")) __score11++; var __score12 = 0; - if (__jsonProps.Contains("type")) __score12++; - if (__jsonProps.Contains("id")) __score12++; - if (__jsonProps.Contains("call_id")) __score12++; if (__jsonProps.Contains("action")) __score12++; + if (__jsonProps.Contains("call_id")) __score12++; + if (__jsonProps.Contains("id")) __score12++; if (__jsonProps.Contains("status")) __score12++; + if (__jsonProps.Contains("type")) __score12++; var __score13 = 0; - if (__jsonProps.Contains("type")) __score13++; if (__jsonProps.Contains("id")) __score13++; if (__jsonProps.Contains("output")) __score13++; if (__jsonProps.Contains("status")) __score13++; + if (__jsonProps.Contains("type")) __score13++; var __score14 = 0; - if (__jsonProps.Contains("type")) __score14++; - if (__jsonProps.Contains("id")) __score14++; - if (__jsonProps.Contains("call_id")) __score14++; if (__jsonProps.Contains("action")) __score14++; - if (__jsonProps.Contains("status")) __score14++; - if (__jsonProps.Contains("environment")) __score14++; + if (__jsonProps.Contains("call_id")) __score14++; if (__jsonProps.Contains("created_by")) __score14++; + if (__jsonProps.Contains("environment")) __score14++; + if (__jsonProps.Contains("id")) __score14++; + if (__jsonProps.Contains("status")) __score14++; + if (__jsonProps.Contains("type")) __score14++; var __score15 = 0; - if (__jsonProps.Contains("type")) __score15++; - if (__jsonProps.Contains("id")) __score15++; if (__jsonProps.Contains("call_id")) __score15++; - if (__jsonProps.Contains("status")) __score15++; - if (__jsonProps.Contains("output")) __score15++; - if (__jsonProps.Contains("max_output_length")) __score15++; if (__jsonProps.Contains("created_by")) __score15++; + if (__jsonProps.Contains("id")) __score15++; + if (__jsonProps.Contains("max_output_length")) __score15++; + if (__jsonProps.Contains("output")) __score15++; + if (__jsonProps.Contains("status")) __score15++; + if (__jsonProps.Contains("type")) __score15++; var __score16 = 0; - if (__jsonProps.Contains("type")) __score16++; - if (__jsonProps.Contains("id")) __score16++; if (__jsonProps.Contains("call_id")) __score16++; - if (__jsonProps.Contains("status")) __score16++; - if (__jsonProps.Contains("operation")) __score16++; if (__jsonProps.Contains("created_by")) __score16++; + if (__jsonProps.Contains("id")) __score16++; + if (__jsonProps.Contains("operation")) __score16++; + if (__jsonProps.Contains("status")) __score16++; + if (__jsonProps.Contains("type")) __score16++; var __score17 = 0; - if (__jsonProps.Contains("type")) __score17++; - if (__jsonProps.Contains("id")) __score17++; if (__jsonProps.Contains("call_id")) __score17++; - if (__jsonProps.Contains("status")) __score17++; - if (__jsonProps.Contains("output")) __score17++; if (__jsonProps.Contains("created_by")) __score17++; + if (__jsonProps.Contains("id")) __score17++; + if (__jsonProps.Contains("output")) __score17++; + if (__jsonProps.Contains("status")) __score17++; + if (__jsonProps.Contains("type")) __score17++; var __score18 = 0; - if (__jsonProps.Contains("type")) __score18++; + if (__jsonProps.Contains("error")) __score18++; if (__jsonProps.Contains("id")) __score18++; if (__jsonProps.Contains("server_label")) __score18++; if (__jsonProps.Contains("tools")) __score18++; - if (__jsonProps.Contains("error")) __score18++; + if (__jsonProps.Contains("type")) __score18++; var __score19 = 0; - if (__jsonProps.Contains("type")) __score19++; + if (__jsonProps.Contains("arguments")) __score19++; if (__jsonProps.Contains("id")) __score19++; - if (__jsonProps.Contains("server_label")) __score19++; if (__jsonProps.Contains("name")) __score19++; - if (__jsonProps.Contains("arguments")) __score19++; + if (__jsonProps.Contains("server_label")) __score19++; + if (__jsonProps.Contains("type")) __score19++; var __score20 = 0; - if (__jsonProps.Contains("type")) __score20++; - if (__jsonProps.Contains("id")) __score20++; if (__jsonProps.Contains("approval_request_id")) __score20++; if (__jsonProps.Contains("approve")) __score20++; + if (__jsonProps.Contains("id")) __score20++; if (__jsonProps.Contains("reason")) __score20++; + if (__jsonProps.Contains("type")) __score20++; var __score21 = 0; - if (__jsonProps.Contains("type")) __score21++; + if (__jsonProps.Contains("approval_request_id")) __score21++; + if (__jsonProps.Contains("arguments")) __score21++; + if (__jsonProps.Contains("error")) __score21++; if (__jsonProps.Contains("id")) __score21++; - if (__jsonProps.Contains("server_label")) __score21++; if (__jsonProps.Contains("name")) __score21++; - if (__jsonProps.Contains("arguments")) __score21++; if (__jsonProps.Contains("output")) __score21++; - if (__jsonProps.Contains("error")) __score21++; + if (__jsonProps.Contains("server_label")) __score21++; if (__jsonProps.Contains("status")) __score21++; - if (__jsonProps.Contains("approval_request_id")) __score21++; + if (__jsonProps.Contains("type")) __score21++; var __score22 = 0; - if (__jsonProps.Contains("type")) __score22++; - if (__jsonProps.Contains("id")) __score22++; if (__jsonProps.Contains("call_id")) __score22++; - if (__jsonProps.Contains("namespace")) __score22++; - if (__jsonProps.Contains("name")) __score22++; + if (__jsonProps.Contains("id")) __score22++; if (__jsonProps.Contains("input")) __score22++; + if (__jsonProps.Contains("name")) __score22++; + if (__jsonProps.Contains("namespace")) __score22++; + if (__jsonProps.Contains("type")) __score22++; var __score23 = 0; - if (__jsonProps.Contains("type")) __score23++; - if (__jsonProps.Contains("id")) __score23++; if (__jsonProps.Contains("call_id")) __score23++; + if (__jsonProps.Contains("id")) __score23++; if (__jsonProps.Contains("output")) __score23++; + if (__jsonProps.Contains("type")) __score23++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateChatCompletionRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateChatCompletionRequest.g.cs index 7db73779..d2ba4720 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateChatCompletionRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateChatCompletionRequest.g.cs @@ -28,33 +28,33 @@ public class CreateChatCompletionRequestJsonConverter : global::System.Text.Json var __score0 = 0; var __score1 = 0; - if (__jsonProps.Contains("messages")) __score1++; - if (__jsonProps.Contains("model")) __score1++; - if (__jsonProps.Contains("modalities")) __score1++; - if (__jsonProps.Contains("verbosity")) __score1++; - if (__jsonProps.Contains("reasoning_effort")) __score1++; - if (__jsonProps.Contains("max_completion_tokens")) __score1++; - if (__jsonProps.Contains("frequency_penalty")) __score1++; - if (__jsonProps.Contains("presence_penalty")) __score1++; - if (__jsonProps.Contains("web_search_options")) __score1++; - if (__jsonProps.Contains("top_logprobs")) __score1++; - if (__jsonProps.Contains("response_format")) __score1++; if (__jsonProps.Contains("audio")) __score1++; - if (__jsonProps.Contains("store")) __score1++; - if (__jsonProps.Contains("stream")) __score1++; - if (__jsonProps.Contains("stop")) __score1++; + if (__jsonProps.Contains("frequency_penalty")) __score1++; + if (__jsonProps.Contains("function_call")) __score1++; + if (__jsonProps.Contains("functions")) __score1++; if (__jsonProps.Contains("logit_bias")) __score1++; if (__jsonProps.Contains("logprobs")) __score1++; + if (__jsonProps.Contains("max_completion_tokens")) __score1++; if (__jsonProps.Contains("max_tokens")) __score1++; + if (__jsonProps.Contains("messages")) __score1++; + if (__jsonProps.Contains("modalities")) __score1++; + if (__jsonProps.Contains("model")) __score1++; if (__jsonProps.Contains("n")) __score1++; + if (__jsonProps.Contains("parallel_tool_calls")) __score1++; if (__jsonProps.Contains("prediction")) __score1++; + if (__jsonProps.Contains("presence_penalty")) __score1++; + if (__jsonProps.Contains("reasoning_effort")) __score1++; + if (__jsonProps.Contains("response_format")) __score1++; if (__jsonProps.Contains("seed")) __score1++; + if (__jsonProps.Contains("stop")) __score1++; + if (__jsonProps.Contains("store")) __score1++; + if (__jsonProps.Contains("stream")) __score1++; if (__jsonProps.Contains("stream_options")) __score1++; - if (__jsonProps.Contains("tools")) __score1++; if (__jsonProps.Contains("tool_choice")) __score1++; - if (__jsonProps.Contains("parallel_tool_calls")) __score1++; - if (__jsonProps.Contains("function_call")) __score1++; - if (__jsonProps.Contains("functions")) __score1++; + if (__jsonProps.Contains("tools")) __score1++; + if (__jsonProps.Contains("top_logprobs")) __score1++; + if (__jsonProps.Contains("verbosity")) __score1++; + if (__jsonProps.Contains("web_search_options")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEvalItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEvalItem.g.cs index 5459d076..ca1a2b21 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEvalItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateEvalItem.g.cs @@ -27,11 +27,11 @@ public class CreateEvalItemJsonConverter : global::System.Text.Json.Serializatio } var __score0 = 0; - if (__jsonProps.Contains("role")) __score0++; if (__jsonProps.Contains("content")) __score0++; + if (__jsonProps.Contains("role")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("role")) __score1++; if (__jsonProps.Contains("content")) __score1++; + if (__jsonProps.Contains("role")) __score1++; if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateModelResponseProperties.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateModelResponseProperties.g.cs index 7b816b00..f80a5fa4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateModelResponseProperties.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateModelResponseProperties.g.cs @@ -28,14 +28,14 @@ public class CreateModelResponsePropertiesJsonConverter : global::System.Text.Js var __score0 = 0; if (__jsonProps.Contains("metadata")) __score0++; - if (__jsonProps.Contains("top_logprobs")) __score0++; + if (__jsonProps.Contains("prompt_cache_key")) __score0++; + if (__jsonProps.Contains("prompt_cache_retention")) __score0++; + if (__jsonProps.Contains("safety_identifier")) __score0++; + if (__jsonProps.Contains("service_tier")) __score0++; if (__jsonProps.Contains("temperature")) __score0++; + if (__jsonProps.Contains("top_logprobs")) __score0++; if (__jsonProps.Contains("top_p")) __score0++; if (__jsonProps.Contains("user")) __score0++; - if (__jsonProps.Contains("safety_identifier")) __score0++; - if (__jsonProps.Contains("prompt_cache_key")) __score0++; - if (__jsonProps.Contains("service_tier")) __score0++; - if (__jsonProps.Contains("prompt_cache_retention")) __score0++; var __score1 = 0; if (__jsonProps.Contains("top_logprobs")) __score1++; var __bestScore = 0; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateResponse.g.cs index abfc60fc..6d2dddc5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateResponse.g.cs @@ -28,27 +28,27 @@ public class CreateResponseJsonConverter : global::System.Text.Json.Serializatio var __score0 = 0; var __score1 = 0; - if (__jsonProps.Contains("previous_response_id")) __score1++; - if (__jsonProps.Contains("model")) __score1++; - if (__jsonProps.Contains("reasoning")) __score1++; if (__jsonProps.Contains("background")) __score1++; if (__jsonProps.Contains("max_output_tokens")) __score1++; if (__jsonProps.Contains("max_tool_calls")) __score1++; + if (__jsonProps.Contains("model")) __score1++; + if (__jsonProps.Contains("previous_response_id")) __score1++; + if (__jsonProps.Contains("prompt")) __score1++; + if (__jsonProps.Contains("reasoning")) __score1++; if (__jsonProps.Contains("text")) __score1++; - if (__jsonProps.Contains("tools")) __score1++; if (__jsonProps.Contains("tool_choice")) __score1++; - if (__jsonProps.Contains("prompt")) __score1++; + if (__jsonProps.Contains("tools")) __score1++; if (__jsonProps.Contains("truncation")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("input")) __score2++; + if (__jsonProps.Contains("context_management")) __score2++; + if (__jsonProps.Contains("conversation")) __score2++; if (__jsonProps.Contains("include")) __score2++; + if (__jsonProps.Contains("input")) __score2++; + if (__jsonProps.Contains("instructions")) __score2++; if (__jsonProps.Contains("parallel_tool_calls")) __score2++; if (__jsonProps.Contains("store")) __score2++; - if (__jsonProps.Contains("instructions")) __score2++; if (__jsonProps.Contains("stream")) __score2++; if (__jsonProps.Contains("stream_options")) __score2++; - if (__jsonProps.Contains("conversation")) __score2++; - if (__jsonProps.Contains("context_management")) __score2++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEvent.g.cs index 1a755f9a..7943e052 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEvent.g.cs @@ -27,8 +27,8 @@ public class CreateSpeechResponseStreamEventJsonConverter : global::System.Text. } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("audio")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("usage")) __score1++; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateTranscriptionResponseDiarizedJsonUsage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateTranscriptionResponseDiarizedJsonUsage.g.cs index 4a4accb8..f3508f49 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateTranscriptionResponseDiarizedJsonUsage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateTranscriptionResponseDiarizedJsonUsage.g.cs @@ -27,14 +27,14 @@ public class CreateTranscriptionResponseDiarizedJsonUsageJsonConverter : global: } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("input_tokens")) __score0++; if (__jsonProps.Contains("input_token_details")) __score0++; + if (__jsonProps.Contains("input_tokens")) __score0++; if (__jsonProps.Contains("output_tokens")) __score0++; if (__jsonProps.Contains("total_tokens")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("seconds")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateTranscriptionResponseStreamEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateTranscriptionResponseStreamEvent.g.cs index 156e1934..7e39a80f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateTranscriptionResponseStreamEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateTranscriptionResponseStreamEvent.g.cs @@ -27,21 +27,21 @@ public class CreateTranscriptionResponseStreamEventJsonConverter : global::Syste } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; + if (__jsonProps.Contains("end")) __score0++; if (__jsonProps.Contains("id")) __score0++; + if (__jsonProps.Contains("speaker")) __score0++; if (__jsonProps.Contains("start")) __score0++; - if (__jsonProps.Contains("end")) __score0++; if (__jsonProps.Contains("text")) __score0++; - if (__jsonProps.Contains("speaker")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("delta")) __score1++; if (__jsonProps.Contains("logprobs")) __score1++; if (__jsonProps.Contains("segment_id")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; - if (__jsonProps.Contains("text")) __score2++; if (__jsonProps.Contains("logprobs")) __score2++; + if (__jsonProps.Contains("text")) __score2++; + if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("usage")) __score2++; var __bestScore = 0; var __bestIndex = -1; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.DeletedConversation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.DeletedConversation.g.cs index 4512d0e0..d736afa9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.DeletedConversation.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.DeletedConversation.g.cs @@ -27,9 +27,9 @@ public class DeletedConversationJsonConverter : global::System.Text.Json.Seriali } var __score0 = 0; - if (__jsonProps.Contains("object")) __score0++; if (__jsonProps.Contains("deleted")) __score0++; if (__jsonProps.Contains("id")) __score0++; + if (__jsonProps.Contains("object")) __score0++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentVariant1.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentVariant1.g.cs index a9abc403..8540be59 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentVariant1.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentVariant1.g.cs @@ -27,17 +27,17 @@ public class EnvironmentVariant1JsonConverter : global::System.Text.Json.Seriali } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("file_ids")) __score0++; if (__jsonProps.Contains("memory_limit")) __score0++; if (__jsonProps.Contains("network_policy")) __score0++; if (__jsonProps.Contains("skills")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("skills")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("container_id")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentVariant12.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentVariant12.g.cs index cc3f1212..6a76395c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentVariant12.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentVariant12.g.cs @@ -29,8 +29,8 @@ public class EnvironmentVariant12JsonConverter : global::System.Text.Json.Serial var __score0 = 0; if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("container_id")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentVariant13.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentVariant13.g.cs index 3e2d0754..82ac4ea5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentVariant13.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EnvironmentVariant13.g.cs @@ -27,11 +27,11 @@ public class EnvironmentVariant13JsonConverter : global::System.Text.Json.Serial } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("skills")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("container_id")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderLabelModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderLabelModel.g.cs index 3bb9a252..f592a585 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderLabelModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderLabelModel.g.cs @@ -27,12 +27,12 @@ public class EvalGraderLabelModelJsonConverter : global::System.Text.Json.Serial } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("name")) __score0++; - if (__jsonProps.Contains("model")) __score0++; if (__jsonProps.Contains("input")) __score0++; if (__jsonProps.Contains("labels")) __score0++; + if (__jsonProps.Contains("model")) __score0++; + if (__jsonProps.Contains("name")) __score0++; if (__jsonProps.Contains("passing_labels")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderPython.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderPython.g.cs index ff813070..b383ce16 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderPython.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderPython.g.cs @@ -27,10 +27,10 @@ public class EvalGraderPythonJsonConverter : global::System.Text.Json.Serializat } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; + if (__jsonProps.Contains("image_tag")) __score0++; if (__jsonProps.Contains("name")) __score0++; if (__jsonProps.Contains("source")) __score0++; - if (__jsonProps.Contains("image_tag")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; if (__jsonProps.Contains("pass_threshold")) __score1++; var __bestScore = 0; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderScoreModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderScoreModel.g.cs index bc1b1222..044d6ae4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderScoreModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderScoreModel.g.cs @@ -27,12 +27,12 @@ public class EvalGraderScoreModelJsonConverter : global::System.Text.Json.Serial } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("name")) __score0++; - if (__jsonProps.Contains("model")) __score0++; - if (__jsonProps.Contains("sampling_params")) __score0++; if (__jsonProps.Contains("input")) __score0++; + if (__jsonProps.Contains("model")) __score0++; + if (__jsonProps.Contains("name")) __score0++; if (__jsonProps.Contains("range")) __score0++; + if (__jsonProps.Contains("sampling_params")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; if (__jsonProps.Contains("pass_threshold")) __score1++; var __bestScore = 0; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderStringCheck.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderStringCheck.g.cs index b1223647..94a6127d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderStringCheck.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderStringCheck.g.cs @@ -27,11 +27,11 @@ public class EvalGraderStringCheckJsonConverter : global::System.Text.Json.Seria } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("name")) __score0++; if (__jsonProps.Contains("input")) __score0++; - if (__jsonProps.Contains("reference")) __score0++; + if (__jsonProps.Contains("name")) __score0++; if (__jsonProps.Contains("operation")) __score0++; + if (__jsonProps.Contains("reference")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderTextSimilarity.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderTextSimilarity.g.cs index adca192a..1859ba2d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderTextSimilarity.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalGraderTextSimilarity.g.cs @@ -27,11 +27,11 @@ public class EvalGraderTextSimilarityJsonConverter : global::System.Text.Json.Se } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("name")) __score0++; + if (__jsonProps.Contains("evaluation_metric")) __score0++; if (__jsonProps.Contains("input")) __score0++; + if (__jsonProps.Contains("name")) __score0++; if (__jsonProps.Contains("reference")) __score0++; - if (__jsonProps.Contains("evaluation_metric")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; if (__jsonProps.Contains("pass_threshold")) __score1++; var __bestScore = 0; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalItemContentItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalItemContentItem.g.cs index 3f63a3a7..2fa81069 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalItemContentItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.EvalItemContentItem.g.cs @@ -28,18 +28,18 @@ public class EvalItemContentItemJsonConverter : global::System.Text.Json.Seriali var __score0 = 0; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("text")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("text")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("type")) __score3++; - if (__jsonProps.Contains("image_url")) __score3++; if (__jsonProps.Contains("detail")) __score3++; + if (__jsonProps.Contains("image_url")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __score4 = 0; - if (__jsonProps.Contains("type")) __score4++; if (__jsonProps.Contains("input_audio")) __score4++; + if (__jsonProps.Contains("type")) __score4++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Filters2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Filters2.g.cs index a342d042..f518a022 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Filters2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Filters2.g.cs @@ -27,12 +27,12 @@ public class Filters2JsonConverter : global::System.Text.Json.Serialization.Json } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("key")) __score0++; + if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("value")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("filters")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FiltersItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FiltersItem.g.cs index 18e04c2d..a64023ca 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FiltersItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FiltersItem.g.cs @@ -27,8 +27,8 @@ public class FiltersItemJsonConverter : global::System.Text.Json.Serialization.J } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("key")) __score0++; + if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("value")) __score0++; var __score1 = 0; var __bestScore = 0; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FineTuneChatCompletionRequestAssistantMessage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FineTuneChatCompletionRequestAssistantMessage.g.cs index 0e91f84d..63c9c07d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FineTuneChatCompletionRequestAssistantMessage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FineTuneChatCompletionRequestAssistantMessage.g.cs @@ -29,13 +29,13 @@ public class FineTuneChatCompletionRequestAssistantMessageJsonConverter : global var __score0 = 0; if (__jsonProps.Contains("weight")) __score0++; var __score1 = 0; + if (__jsonProps.Contains("audio")) __score1++; if (__jsonProps.Contains("content")) __score1++; + if (__jsonProps.Contains("function_call")) __score1++; + if (__jsonProps.Contains("name")) __score1++; if (__jsonProps.Contains("refusal")) __score1++; if (__jsonProps.Contains("role")) __score1++; - if (__jsonProps.Contains("name")) __score1++; - if (__jsonProps.Contains("audio")) __score1++; if (__jsonProps.Contains("tool_calls")) __score1++; - if (__jsonProps.Contains("function_call")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Format2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Format2.g.cs index f8acfe02..e2c438b0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Format2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Format2.g.cs @@ -29,9 +29,9 @@ public class Format2JsonConverter : global::System.Text.Json.Serialization.JsonC var __score0 = 0; if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("syntax")) __score1++; if (__jsonProps.Contains("definition")) __score1++; + if (__jsonProps.Contains("syntax")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionAndCustomToolCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionAndCustomToolCallOutput.g.cs index d60127c3..cfc12c01 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionAndCustomToolCallOutput.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionAndCustomToolCallOutput.g.cs @@ -27,19 +27,19 @@ public class FunctionAndCustomToolCallOutputJsonConverter : global::System.Text. } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("text")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("image_url")) __score1++; - if (__jsonProps.Contains("file_id")) __score1++; if (__jsonProps.Contains("detail")) __score1++; + if (__jsonProps.Contains("file_id")) __score1++; + if (__jsonProps.Contains("image_url")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; - if (__jsonProps.Contains("file_id")) __score2++; - if (__jsonProps.Contains("filename")) __score2++; if (__jsonProps.Contains("file_data")) __score2++; + if (__jsonProps.Contains("file_id")) __score2++; if (__jsonProps.Contains("file_url")) __score2++; + if (__jsonProps.Contains("filename")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionShellCallOutputOutcomeParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionShellCallOutputOutcomeParam.g.cs index 016aaf60..e531e452 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionShellCallOutputOutcomeParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionShellCallOutputOutcomeParam.g.cs @@ -29,8 +29,8 @@ public class FunctionShellCallOutputOutcomeParamJsonConverter : global::System.T var __score0 = 0; if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("exit_code")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionToolCallOutputResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionToolCallOutputResource.g.cs index 64c4f4ef..460c3d84 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionToolCallOutputResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionToolCallOutputResource.g.cs @@ -27,11 +27,11 @@ public class FunctionToolCallOutputResourceJsonConverter : global::System.Text.J } var __score0 = 0; - if (__jsonProps.Contains("id")) __score0++; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("call_id")) __score0++; + if (__jsonProps.Contains("id")) __score0++; if (__jsonProps.Contains("output")) __score0++; if (__jsonProps.Contains("status")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; if (__jsonProps.Contains("id")) __score1++; var __bestScore = 0; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionToolCallResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionToolCallResource.g.cs index 519a2a0c..b7659253 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionToolCallResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.FunctionToolCallResource.g.cs @@ -27,13 +27,13 @@ public class FunctionToolCallResourceJsonConverter : global::System.Text.Json.Se } var __score0 = 0; - if (__jsonProps.Contains("id")) __score0++; - if (__jsonProps.Contains("type")) __score0++; + if (__jsonProps.Contains("arguments")) __score0++; if (__jsonProps.Contains("call_id")) __score0++; - if (__jsonProps.Contains("namespace")) __score0++; + if (__jsonProps.Contains("id")) __score0++; if (__jsonProps.Contains("name")) __score0++; - if (__jsonProps.Contains("arguments")) __score0++; + if (__jsonProps.Contains("namespace")) __score0++; if (__jsonProps.Contains("status")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; if (__jsonProps.Contains("id")) __score1++; var __bestScore = 0; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ImageEditStreamEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ImageEditStreamEvent.g.cs index af4a1eda..e92ad72c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ImageEditStreamEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ImageEditStreamEvent.g.cs @@ -27,22 +27,22 @@ public class ImageEditStreamEventJsonConverter : global::System.Text.Json.Serial } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("b64_json")) __score0++; - if (__jsonProps.Contains("created_at")) __score0++; - if (__jsonProps.Contains("size")) __score0++; - if (__jsonProps.Contains("quality")) __score0++; if (__jsonProps.Contains("background")) __score0++; + if (__jsonProps.Contains("created_at")) __score0++; if (__jsonProps.Contains("output_format")) __score0++; if (__jsonProps.Contains("partial_image_index")) __score0++; + if (__jsonProps.Contains("quality")) __score0++; + if (__jsonProps.Contains("size")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("b64_json")) __score1++; - if (__jsonProps.Contains("created_at")) __score1++; - if (__jsonProps.Contains("size")) __score1++; - if (__jsonProps.Contains("quality")) __score1++; if (__jsonProps.Contains("background")) __score1++; + if (__jsonProps.Contains("created_at")) __score1++; if (__jsonProps.Contains("output_format")) __score1++; + if (__jsonProps.Contains("quality")) __score1++; + if (__jsonProps.Contains("size")) __score1++; + if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("usage")) __score1++; var __bestScore = 0; var __bestIndex = -1; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ImageGenStreamEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ImageGenStreamEvent.g.cs index 06468219..87901d16 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ImageGenStreamEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ImageGenStreamEvent.g.cs @@ -27,22 +27,22 @@ public class ImageGenStreamEventJsonConverter : global::System.Text.Json.Seriali } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("b64_json")) __score0++; - if (__jsonProps.Contains("created_at")) __score0++; - if (__jsonProps.Contains("size")) __score0++; - if (__jsonProps.Contains("quality")) __score0++; if (__jsonProps.Contains("background")) __score0++; + if (__jsonProps.Contains("created_at")) __score0++; if (__jsonProps.Contains("output_format")) __score0++; if (__jsonProps.Contains("partial_image_index")) __score0++; + if (__jsonProps.Contains("quality")) __score0++; + if (__jsonProps.Contains("size")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("b64_json")) __score1++; - if (__jsonProps.Contains("created_at")) __score1++; - if (__jsonProps.Contains("size")) __score1++; - if (__jsonProps.Contains("quality")) __score1++; if (__jsonProps.Contains("background")) __score1++; + if (__jsonProps.Contains("created_at")) __score1++; if (__jsonProps.Contains("output_format")) __score1++; + if (__jsonProps.Contains("quality")) __score1++; + if (__jsonProps.Contains("size")) __score1++; + if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("usage")) __score1++; var __bestScore = 0; var __bestIndex = -1; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputContent.g.cs index 5dce576a..567ef927 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputContent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputContent.g.cs @@ -27,19 +27,19 @@ public class InputContentJsonConverter : global::System.Text.Json.Serialization. } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("text")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("image_url")) __score1++; - if (__jsonProps.Contains("file_id")) __score1++; if (__jsonProps.Contains("detail")) __score1++; + if (__jsonProps.Contains("file_id")) __score1++; + if (__jsonProps.Contains("image_url")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; - if (__jsonProps.Contains("file_id")) __score2++; - if (__jsonProps.Contains("filename")) __score2++; if (__jsonProps.Contains("file_data")) __score2++; + if (__jsonProps.Contains("file_id")) __score2++; if (__jsonProps.Contains("file_url")) __score2++; + if (__jsonProps.Contains("filename")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputItem.g.cs index 95f6f7ae..9707af34 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputItem.g.cs @@ -27,14 +27,14 @@ public class InputItemJsonConverter : global::System.Text.Json.Serialization.Jso } var __score0 = 0; - if (__jsonProps.Contains("role")) __score0++; if (__jsonProps.Contains("content")) __score0++; if (__jsonProps.Contains("phase")) __score0++; + if (__jsonProps.Contains("role")) __score0++; if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("id")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputMessageResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputMessageResource.g.cs index bd64fb69..8e925943 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputMessageResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputMessageResource.g.cs @@ -27,10 +27,10 @@ public class InputMessageResourceJsonConverter : global::System.Text.Json.Serial } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; + if (__jsonProps.Contains("content")) __score0++; if (__jsonProps.Contains("role")) __score0++; if (__jsonProps.Contains("status")) __score0++; - if (__jsonProps.Contains("content")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; if (__jsonProps.Contains("id")) __score1++; var __bestScore = 0; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Item.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Item.g.cs index 7ccde3d4..7201c895 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Item.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Item.g.cs @@ -27,171 +27,171 @@ public class ItemJsonConverter : global::System.Text.Json.Serialization.JsonConv } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; + if (__jsonProps.Contains("content")) __score0++; if (__jsonProps.Contains("role")) __score0++; if (__jsonProps.Contains("status")) __score0++; - if (__jsonProps.Contains("content")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("id")) __score1++; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("role")) __score1++; if (__jsonProps.Contains("content")) __score1++; + if (__jsonProps.Contains("id")) __score1++; if (__jsonProps.Contains("phase")) __score1++; + if (__jsonProps.Contains("role")) __score1++; if (__jsonProps.Contains("status")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; if (__jsonProps.Contains("id")) __score2++; - if (__jsonProps.Contains("type")) __score2++; - if (__jsonProps.Contains("status")) __score2++; if (__jsonProps.Contains("queries")) __score2++; if (__jsonProps.Contains("results")) __score2++; + if (__jsonProps.Contains("status")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("type")) __score3++; - if (__jsonProps.Contains("id")) __score3++; - if (__jsonProps.Contains("call_id")) __score3++; if (__jsonProps.Contains("action")) __score3++; if (__jsonProps.Contains("actions")) __score3++; + if (__jsonProps.Contains("call_id")) __score3++; + if (__jsonProps.Contains("id")) __score3++; if (__jsonProps.Contains("pending_safety_checks")) __score3++; if (__jsonProps.Contains("status")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __score4 = 0; - if (__jsonProps.Contains("id")) __score4++; + if (__jsonProps.Contains("acknowledged_safety_checks")) __score4++; if (__jsonProps.Contains("call_id")) __score4++; - if (__jsonProps.Contains("type")) __score4++; + if (__jsonProps.Contains("id")) __score4++; if (__jsonProps.Contains("output")) __score4++; - if (__jsonProps.Contains("acknowledged_safety_checks")) __score4++; if (__jsonProps.Contains("status")) __score4++; + if (__jsonProps.Contains("type")) __score4++; var __score5 = 0; + if (__jsonProps.Contains("action")) __score5++; if (__jsonProps.Contains("id")) __score5++; - if (__jsonProps.Contains("type")) __score5++; if (__jsonProps.Contains("status")) __score5++; - if (__jsonProps.Contains("action")) __score5++; + if (__jsonProps.Contains("type")) __score5++; var __score6 = 0; - if (__jsonProps.Contains("id")) __score6++; - if (__jsonProps.Contains("type")) __score6++; + if (__jsonProps.Contains("arguments")) __score6++; if (__jsonProps.Contains("call_id")) __score6++; - if (__jsonProps.Contains("namespace")) __score6++; + if (__jsonProps.Contains("id")) __score6++; if (__jsonProps.Contains("name")) __score6++; - if (__jsonProps.Contains("arguments")) __score6++; + if (__jsonProps.Contains("namespace")) __score6++; if (__jsonProps.Contains("status")) __score6++; + if (__jsonProps.Contains("type")) __score6++; var __score7 = 0; - if (__jsonProps.Contains("id")) __score7++; if (__jsonProps.Contains("call_id")) __score7++; - if (__jsonProps.Contains("type")) __score7++; + if (__jsonProps.Contains("id")) __score7++; if (__jsonProps.Contains("output")) __score7++; if (__jsonProps.Contains("status")) __score7++; + if (__jsonProps.Contains("type")) __score7++; var __score8 = 0; - if (__jsonProps.Contains("id")) __score8++; + if (__jsonProps.Contains("arguments")) __score8++; if (__jsonProps.Contains("call_id")) __score8++; - if (__jsonProps.Contains("type")) __score8++; if (__jsonProps.Contains("execution")) __score8++; - if (__jsonProps.Contains("arguments")) __score8++; + if (__jsonProps.Contains("id")) __score8++; if (__jsonProps.Contains("status")) __score8++; + if (__jsonProps.Contains("type")) __score8++; var __score9 = 0; - if (__jsonProps.Contains("id")) __score9++; if (__jsonProps.Contains("call_id")) __score9++; - if (__jsonProps.Contains("type")) __score9++; if (__jsonProps.Contains("execution")) __score9++; - if (__jsonProps.Contains("tools")) __score9++; + if (__jsonProps.Contains("id")) __score9++; if (__jsonProps.Contains("status")) __score9++; + if (__jsonProps.Contains("tools")) __score9++; + if (__jsonProps.Contains("type")) __score9++; var __score10 = 0; - if (__jsonProps.Contains("type")) __score10++; - if (__jsonProps.Contains("id")) __score10++; - if (__jsonProps.Contains("encrypted_content")) __score10++; - if (__jsonProps.Contains("summary")) __score10++; if (__jsonProps.Contains("content")) __score10++; + if (__jsonProps.Contains("encrypted_content")) __score10++; + if (__jsonProps.Contains("id")) __score10++; if (__jsonProps.Contains("status")) __score10++; + if (__jsonProps.Contains("summary")) __score10++; + if (__jsonProps.Contains("type")) __score10++; var __score11 = 0; + if (__jsonProps.Contains("encrypted_content")) __score11++; if (__jsonProps.Contains("id")) __score11++; if (__jsonProps.Contains("type")) __score11++; - if (__jsonProps.Contains("encrypted_content")) __score11++; var __score12 = 0; - if (__jsonProps.Contains("type")) __score12++; if (__jsonProps.Contains("id")) __score12++; - if (__jsonProps.Contains("status")) __score12++; if (__jsonProps.Contains("result")) __score12++; + if (__jsonProps.Contains("status")) __score12++; + if (__jsonProps.Contains("type")) __score12++; var __score13 = 0; - if (__jsonProps.Contains("type")) __score13++; - if (__jsonProps.Contains("id")) __score13++; - if (__jsonProps.Contains("status")) __score13++; - if (__jsonProps.Contains("container_id")) __score13++; if (__jsonProps.Contains("code")) __score13++; + if (__jsonProps.Contains("container_id")) __score13++; + if (__jsonProps.Contains("id")) __score13++; if (__jsonProps.Contains("outputs")) __score13++; + if (__jsonProps.Contains("status")) __score13++; + if (__jsonProps.Contains("type")) __score13++; var __score14 = 0; - if (__jsonProps.Contains("type")) __score14++; - if (__jsonProps.Contains("id")) __score14++; - if (__jsonProps.Contains("call_id")) __score14++; if (__jsonProps.Contains("action")) __score14++; + if (__jsonProps.Contains("call_id")) __score14++; + if (__jsonProps.Contains("id")) __score14++; if (__jsonProps.Contains("status")) __score14++; + if (__jsonProps.Contains("type")) __score14++; var __score15 = 0; - if (__jsonProps.Contains("type")) __score15++; if (__jsonProps.Contains("id")) __score15++; if (__jsonProps.Contains("output")) __score15++; if (__jsonProps.Contains("status")) __score15++; + if (__jsonProps.Contains("type")) __score15++; var __score16 = 0; - if (__jsonProps.Contains("id")) __score16++; - if (__jsonProps.Contains("call_id")) __score16++; - if (__jsonProps.Contains("type")) __score16++; if (__jsonProps.Contains("action")) __score16++; - if (__jsonProps.Contains("status")) __score16++; + if (__jsonProps.Contains("call_id")) __score16++; if (__jsonProps.Contains("environment")) __score16++; + if (__jsonProps.Contains("id")) __score16++; + if (__jsonProps.Contains("status")) __score16++; + if (__jsonProps.Contains("type")) __score16++; var __score17 = 0; - if (__jsonProps.Contains("id")) __score17++; if (__jsonProps.Contains("call_id")) __score17++; - if (__jsonProps.Contains("type")) __score17++; + if (__jsonProps.Contains("id")) __score17++; + if (__jsonProps.Contains("max_output_length")) __score17++; if (__jsonProps.Contains("output")) __score17++; if (__jsonProps.Contains("status")) __score17++; - if (__jsonProps.Contains("max_output_length")) __score17++; + if (__jsonProps.Contains("type")) __score17++; var __score18 = 0; - if (__jsonProps.Contains("type")) __score18++; - if (__jsonProps.Contains("id")) __score18++; if (__jsonProps.Contains("call_id")) __score18++; - if (__jsonProps.Contains("status")) __score18++; + if (__jsonProps.Contains("id")) __score18++; if (__jsonProps.Contains("operation")) __score18++; + if (__jsonProps.Contains("status")) __score18++; + if (__jsonProps.Contains("type")) __score18++; var __score19 = 0; - if (__jsonProps.Contains("type")) __score19++; - if (__jsonProps.Contains("id")) __score19++; if (__jsonProps.Contains("call_id")) __score19++; - if (__jsonProps.Contains("status")) __score19++; + if (__jsonProps.Contains("id")) __score19++; if (__jsonProps.Contains("output")) __score19++; + if (__jsonProps.Contains("status")) __score19++; + if (__jsonProps.Contains("type")) __score19++; var __score20 = 0; - if (__jsonProps.Contains("type")) __score20++; + if (__jsonProps.Contains("error")) __score20++; if (__jsonProps.Contains("id")) __score20++; if (__jsonProps.Contains("server_label")) __score20++; if (__jsonProps.Contains("tools")) __score20++; - if (__jsonProps.Contains("error")) __score20++; + if (__jsonProps.Contains("type")) __score20++; var __score21 = 0; - if (__jsonProps.Contains("type")) __score21++; + if (__jsonProps.Contains("arguments")) __score21++; if (__jsonProps.Contains("id")) __score21++; - if (__jsonProps.Contains("server_label")) __score21++; if (__jsonProps.Contains("name")) __score21++; - if (__jsonProps.Contains("arguments")) __score21++; + if (__jsonProps.Contains("server_label")) __score21++; + if (__jsonProps.Contains("type")) __score21++; var __score22 = 0; - if (__jsonProps.Contains("type")) __score22++; - if (__jsonProps.Contains("id")) __score22++; if (__jsonProps.Contains("approval_request_id")) __score22++; if (__jsonProps.Contains("approve")) __score22++; + if (__jsonProps.Contains("id")) __score22++; if (__jsonProps.Contains("reason")) __score22++; + if (__jsonProps.Contains("type")) __score22++; var __score23 = 0; - if (__jsonProps.Contains("type")) __score23++; + if (__jsonProps.Contains("approval_request_id")) __score23++; + if (__jsonProps.Contains("arguments")) __score23++; + if (__jsonProps.Contains("error")) __score23++; if (__jsonProps.Contains("id")) __score23++; - if (__jsonProps.Contains("server_label")) __score23++; if (__jsonProps.Contains("name")) __score23++; - if (__jsonProps.Contains("arguments")) __score23++; if (__jsonProps.Contains("output")) __score23++; - if (__jsonProps.Contains("error")) __score23++; + if (__jsonProps.Contains("server_label")) __score23++; if (__jsonProps.Contains("status")) __score23++; - if (__jsonProps.Contains("approval_request_id")) __score23++; + if (__jsonProps.Contains("type")) __score23++; var __score24 = 0; - if (__jsonProps.Contains("type")) __score24++; - if (__jsonProps.Contains("id")) __score24++; if (__jsonProps.Contains("call_id")) __score24++; + if (__jsonProps.Contains("id")) __score24++; if (__jsonProps.Contains("output")) __score24++; + if (__jsonProps.Contains("type")) __score24++; var __score25 = 0; - if (__jsonProps.Contains("type")) __score25++; - if (__jsonProps.Contains("id")) __score25++; if (__jsonProps.Contains("call_id")) __score25++; - if (__jsonProps.Contains("namespace")) __score25++; - if (__jsonProps.Contains("name")) __score25++; + if (__jsonProps.Contains("id")) __score25++; if (__jsonProps.Contains("input")) __score25++; + if (__jsonProps.Contains("name")) __score25++; + if (__jsonProps.Contains("namespace")) __score25++; + if (__jsonProps.Contains("type")) __score25++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemField.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemField.g.cs index 06d4a132..85a1fe54 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemField.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemField.g.cs @@ -27,166 +27,166 @@ public class ItemFieldJsonConverter : global::System.Text.Json.Serialization.Jso } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; + if (__jsonProps.Contains("content")) __score0++; if (__jsonProps.Contains("id")) __score0++; - if (__jsonProps.Contains("status")) __score0++; if (__jsonProps.Contains("role")) __score0++; - if (__jsonProps.Contains("content")) __score0++; + if (__jsonProps.Contains("status")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("id")) __score1++; - if (__jsonProps.Contains("type")) __score1++; + if (__jsonProps.Contains("arguments")) __score1++; if (__jsonProps.Contains("call_id")) __score1++; - if (__jsonProps.Contains("namespace")) __score1++; + if (__jsonProps.Contains("id")) __score1++; if (__jsonProps.Contains("name")) __score1++; - if (__jsonProps.Contains("arguments")) __score1++; + if (__jsonProps.Contains("namespace")) __score1++; if (__jsonProps.Contains("status")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; - if (__jsonProps.Contains("id")) __score2++; + if (__jsonProps.Contains("arguments")) __score2++; if (__jsonProps.Contains("call_id")) __score2++; + if (__jsonProps.Contains("created_by")) __score2++; if (__jsonProps.Contains("execution")) __score2++; - if (__jsonProps.Contains("arguments")) __score2++; + if (__jsonProps.Contains("id")) __score2++; if (__jsonProps.Contains("status")) __score2++; - if (__jsonProps.Contains("created_by")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("type")) __score3++; - if (__jsonProps.Contains("id")) __score3++; if (__jsonProps.Contains("call_id")) __score3++; + if (__jsonProps.Contains("created_by")) __score3++; if (__jsonProps.Contains("execution")) __score3++; - if (__jsonProps.Contains("tools")) __score3++; + if (__jsonProps.Contains("id")) __score3++; if (__jsonProps.Contains("status")) __score3++; - if (__jsonProps.Contains("created_by")) __score3++; + if (__jsonProps.Contains("tools")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __score4 = 0; - if (__jsonProps.Contains("id")) __score4++; - if (__jsonProps.Contains("type")) __score4++; if (__jsonProps.Contains("call_id")) __score4++; + if (__jsonProps.Contains("id")) __score4++; if (__jsonProps.Contains("output")) __score4++; if (__jsonProps.Contains("status")) __score4++; + if (__jsonProps.Contains("type")) __score4++; var __score5 = 0; if (__jsonProps.Contains("id")) __score5++; - if (__jsonProps.Contains("type")) __score5++; - if (__jsonProps.Contains("status")) __score5++; if (__jsonProps.Contains("queries")) __score5++; if (__jsonProps.Contains("results")) __score5++; + if (__jsonProps.Contains("status")) __score5++; + if (__jsonProps.Contains("type")) __score5++; var __score6 = 0; + if (__jsonProps.Contains("action")) __score6++; if (__jsonProps.Contains("id")) __score6++; - if (__jsonProps.Contains("type")) __score6++; if (__jsonProps.Contains("status")) __score6++; - if (__jsonProps.Contains("action")) __score6++; + if (__jsonProps.Contains("type")) __score6++; var __score7 = 0; - if (__jsonProps.Contains("type")) __score7++; if (__jsonProps.Contains("id")) __score7++; - if (__jsonProps.Contains("status")) __score7++; if (__jsonProps.Contains("result")) __score7++; + if (__jsonProps.Contains("status")) __score7++; + if (__jsonProps.Contains("type")) __score7++; var __score8 = 0; - if (__jsonProps.Contains("type")) __score8++; - if (__jsonProps.Contains("id")) __score8++; - if (__jsonProps.Contains("call_id")) __score8++; if (__jsonProps.Contains("action")) __score8++; if (__jsonProps.Contains("actions")) __score8++; + if (__jsonProps.Contains("call_id")) __score8++; + if (__jsonProps.Contains("id")) __score8++; if (__jsonProps.Contains("pending_safety_checks")) __score8++; if (__jsonProps.Contains("status")) __score8++; + if (__jsonProps.Contains("type")) __score8++; var __score9 = 0; var __score10 = 0; - if (__jsonProps.Contains("type")) __score10++; - if (__jsonProps.Contains("id")) __score10++; - if (__jsonProps.Contains("encrypted_content")) __score10++; - if (__jsonProps.Contains("summary")) __score10++; if (__jsonProps.Contains("content")) __score10++; + if (__jsonProps.Contains("encrypted_content")) __score10++; + if (__jsonProps.Contains("id")) __score10++; if (__jsonProps.Contains("status")) __score10++; + if (__jsonProps.Contains("summary")) __score10++; + if (__jsonProps.Contains("type")) __score10++; var __score11 = 0; - if (__jsonProps.Contains("type")) __score11++; - if (__jsonProps.Contains("id")) __score11++; - if (__jsonProps.Contains("encrypted_content")) __score11++; if (__jsonProps.Contains("created_by")) __score11++; + if (__jsonProps.Contains("encrypted_content")) __score11++; + if (__jsonProps.Contains("id")) __score11++; + if (__jsonProps.Contains("type")) __score11++; var __score12 = 0; - if (__jsonProps.Contains("type")) __score12++; - if (__jsonProps.Contains("id")) __score12++; - if (__jsonProps.Contains("status")) __score12++; - if (__jsonProps.Contains("container_id")) __score12++; if (__jsonProps.Contains("code")) __score12++; + if (__jsonProps.Contains("container_id")) __score12++; + if (__jsonProps.Contains("id")) __score12++; if (__jsonProps.Contains("outputs")) __score12++; + if (__jsonProps.Contains("status")) __score12++; + if (__jsonProps.Contains("type")) __score12++; var __score13 = 0; - if (__jsonProps.Contains("type")) __score13++; - if (__jsonProps.Contains("id")) __score13++; - if (__jsonProps.Contains("call_id")) __score13++; if (__jsonProps.Contains("action")) __score13++; + if (__jsonProps.Contains("call_id")) __score13++; + if (__jsonProps.Contains("id")) __score13++; if (__jsonProps.Contains("status")) __score13++; + if (__jsonProps.Contains("type")) __score13++; var __score14 = 0; - if (__jsonProps.Contains("type")) __score14++; if (__jsonProps.Contains("id")) __score14++; if (__jsonProps.Contains("output")) __score14++; if (__jsonProps.Contains("status")) __score14++; + if (__jsonProps.Contains("type")) __score14++; var __score15 = 0; - if (__jsonProps.Contains("type")) __score15++; - if (__jsonProps.Contains("id")) __score15++; - if (__jsonProps.Contains("call_id")) __score15++; if (__jsonProps.Contains("action")) __score15++; - if (__jsonProps.Contains("status")) __score15++; - if (__jsonProps.Contains("environment")) __score15++; + if (__jsonProps.Contains("call_id")) __score15++; if (__jsonProps.Contains("created_by")) __score15++; + if (__jsonProps.Contains("environment")) __score15++; + if (__jsonProps.Contains("id")) __score15++; + if (__jsonProps.Contains("status")) __score15++; + if (__jsonProps.Contains("type")) __score15++; var __score16 = 0; - if (__jsonProps.Contains("type")) __score16++; - if (__jsonProps.Contains("id")) __score16++; if (__jsonProps.Contains("call_id")) __score16++; - if (__jsonProps.Contains("status")) __score16++; - if (__jsonProps.Contains("output")) __score16++; - if (__jsonProps.Contains("max_output_length")) __score16++; if (__jsonProps.Contains("created_by")) __score16++; + if (__jsonProps.Contains("id")) __score16++; + if (__jsonProps.Contains("max_output_length")) __score16++; + if (__jsonProps.Contains("output")) __score16++; + if (__jsonProps.Contains("status")) __score16++; + if (__jsonProps.Contains("type")) __score16++; var __score17 = 0; - if (__jsonProps.Contains("type")) __score17++; - if (__jsonProps.Contains("id")) __score17++; if (__jsonProps.Contains("call_id")) __score17++; - if (__jsonProps.Contains("status")) __score17++; - if (__jsonProps.Contains("operation")) __score17++; if (__jsonProps.Contains("created_by")) __score17++; + if (__jsonProps.Contains("id")) __score17++; + if (__jsonProps.Contains("operation")) __score17++; + if (__jsonProps.Contains("status")) __score17++; + if (__jsonProps.Contains("type")) __score17++; var __score18 = 0; - if (__jsonProps.Contains("type")) __score18++; - if (__jsonProps.Contains("id")) __score18++; if (__jsonProps.Contains("call_id")) __score18++; - if (__jsonProps.Contains("status")) __score18++; - if (__jsonProps.Contains("output")) __score18++; if (__jsonProps.Contains("created_by")) __score18++; + if (__jsonProps.Contains("id")) __score18++; + if (__jsonProps.Contains("output")) __score18++; + if (__jsonProps.Contains("status")) __score18++; + if (__jsonProps.Contains("type")) __score18++; var __score19 = 0; - if (__jsonProps.Contains("type")) __score19++; + if (__jsonProps.Contains("error")) __score19++; if (__jsonProps.Contains("id")) __score19++; if (__jsonProps.Contains("server_label")) __score19++; if (__jsonProps.Contains("tools")) __score19++; - if (__jsonProps.Contains("error")) __score19++; + if (__jsonProps.Contains("type")) __score19++; var __score20 = 0; - if (__jsonProps.Contains("type")) __score20++; + if (__jsonProps.Contains("arguments")) __score20++; if (__jsonProps.Contains("id")) __score20++; - if (__jsonProps.Contains("server_label")) __score20++; if (__jsonProps.Contains("name")) __score20++; - if (__jsonProps.Contains("arguments")) __score20++; + if (__jsonProps.Contains("server_label")) __score20++; + if (__jsonProps.Contains("type")) __score20++; var __score21 = 0; - if (__jsonProps.Contains("type")) __score21++; - if (__jsonProps.Contains("id")) __score21++; if (__jsonProps.Contains("approval_request_id")) __score21++; if (__jsonProps.Contains("approve")) __score21++; + if (__jsonProps.Contains("id")) __score21++; if (__jsonProps.Contains("reason")) __score21++; + if (__jsonProps.Contains("type")) __score21++; var __score22 = 0; - if (__jsonProps.Contains("type")) __score22++; + if (__jsonProps.Contains("approval_request_id")) __score22++; + if (__jsonProps.Contains("arguments")) __score22++; + if (__jsonProps.Contains("error")) __score22++; if (__jsonProps.Contains("id")) __score22++; - if (__jsonProps.Contains("server_label")) __score22++; if (__jsonProps.Contains("name")) __score22++; - if (__jsonProps.Contains("arguments")) __score22++; if (__jsonProps.Contains("output")) __score22++; - if (__jsonProps.Contains("error")) __score22++; + if (__jsonProps.Contains("server_label")) __score22++; if (__jsonProps.Contains("status")) __score22++; - if (__jsonProps.Contains("approval_request_id")) __score22++; + if (__jsonProps.Contains("type")) __score22++; var __score23 = 0; - if (__jsonProps.Contains("type")) __score23++; - if (__jsonProps.Contains("id")) __score23++; if (__jsonProps.Contains("call_id")) __score23++; - if (__jsonProps.Contains("namespace")) __score23++; - if (__jsonProps.Contains("name")) __score23++; + if (__jsonProps.Contains("id")) __score23++; if (__jsonProps.Contains("input")) __score23++; + if (__jsonProps.Contains("name")) __score23++; + if (__jsonProps.Contains("namespace")) __score23++; + if (__jsonProps.Contains("type")) __score23++; var __score24 = 0; - if (__jsonProps.Contains("type")) __score24++; - if (__jsonProps.Contains("id")) __score24++; if (__jsonProps.Contains("call_id")) __score24++; + if (__jsonProps.Contains("id")) __score24++; if (__jsonProps.Contains("output")) __score24++; + if (__jsonProps.Contains("type")) __score24++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemResource.g.cs index 58ec2bb6..62b20bb8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ItemResource.g.cs @@ -28,131 +28,131 @@ public class ItemResourceJsonConverter : global::System.Text.Json.Serialization. var __score0 = 0; var __score1 = 0; - if (__jsonProps.Contains("id")) __score1++; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("role")) __score1++; if (__jsonProps.Contains("content")) __score1++; + if (__jsonProps.Contains("id")) __score1++; if (__jsonProps.Contains("phase")) __score1++; + if (__jsonProps.Contains("role")) __score1++; if (__jsonProps.Contains("status")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; if (__jsonProps.Contains("id")) __score2++; - if (__jsonProps.Contains("type")) __score2++; - if (__jsonProps.Contains("status")) __score2++; if (__jsonProps.Contains("queries")) __score2++; if (__jsonProps.Contains("results")) __score2++; + if (__jsonProps.Contains("status")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("type")) __score3++; - if (__jsonProps.Contains("id")) __score3++; - if (__jsonProps.Contains("call_id")) __score3++; if (__jsonProps.Contains("action")) __score3++; if (__jsonProps.Contains("actions")) __score3++; + if (__jsonProps.Contains("call_id")) __score3++; + if (__jsonProps.Contains("id")) __score3++; if (__jsonProps.Contains("pending_safety_checks")) __score3++; if (__jsonProps.Contains("status")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __score4 = 0; var __score5 = 0; + if (__jsonProps.Contains("action")) __score5++; if (__jsonProps.Contains("id")) __score5++; - if (__jsonProps.Contains("type")) __score5++; if (__jsonProps.Contains("status")) __score5++; - if (__jsonProps.Contains("action")) __score5++; + if (__jsonProps.Contains("type")) __score5++; var __score6 = 0; var __score7 = 0; var __score8 = 0; - if (__jsonProps.Contains("type")) __score8++; - if (__jsonProps.Contains("id")) __score8++; + if (__jsonProps.Contains("arguments")) __score8++; if (__jsonProps.Contains("call_id")) __score8++; + if (__jsonProps.Contains("created_by")) __score8++; if (__jsonProps.Contains("execution")) __score8++; - if (__jsonProps.Contains("arguments")) __score8++; + if (__jsonProps.Contains("id")) __score8++; if (__jsonProps.Contains("status")) __score8++; - if (__jsonProps.Contains("created_by")) __score8++; + if (__jsonProps.Contains("type")) __score8++; var __score9 = 0; - if (__jsonProps.Contains("type")) __score9++; - if (__jsonProps.Contains("id")) __score9++; if (__jsonProps.Contains("call_id")) __score9++; + if (__jsonProps.Contains("created_by")) __score9++; if (__jsonProps.Contains("execution")) __score9++; - if (__jsonProps.Contains("tools")) __score9++; + if (__jsonProps.Contains("id")) __score9++; if (__jsonProps.Contains("status")) __score9++; - if (__jsonProps.Contains("created_by")) __score9++; + if (__jsonProps.Contains("tools")) __score9++; + if (__jsonProps.Contains("type")) __score9++; var __score10 = 0; - if (__jsonProps.Contains("type")) __score10++; if (__jsonProps.Contains("id")) __score10++; - if (__jsonProps.Contains("status")) __score10++; if (__jsonProps.Contains("result")) __score10++; + if (__jsonProps.Contains("status")) __score10++; + if (__jsonProps.Contains("type")) __score10++; var __score11 = 0; - if (__jsonProps.Contains("type")) __score11++; - if (__jsonProps.Contains("id")) __score11++; - if (__jsonProps.Contains("status")) __score11++; - if (__jsonProps.Contains("container_id")) __score11++; if (__jsonProps.Contains("code")) __score11++; + if (__jsonProps.Contains("container_id")) __score11++; + if (__jsonProps.Contains("id")) __score11++; if (__jsonProps.Contains("outputs")) __score11++; + if (__jsonProps.Contains("status")) __score11++; + if (__jsonProps.Contains("type")) __score11++; var __score12 = 0; - if (__jsonProps.Contains("type")) __score12++; - if (__jsonProps.Contains("id")) __score12++; - if (__jsonProps.Contains("call_id")) __score12++; if (__jsonProps.Contains("action")) __score12++; + if (__jsonProps.Contains("call_id")) __score12++; + if (__jsonProps.Contains("id")) __score12++; if (__jsonProps.Contains("status")) __score12++; + if (__jsonProps.Contains("type")) __score12++; var __score13 = 0; - if (__jsonProps.Contains("type")) __score13++; if (__jsonProps.Contains("id")) __score13++; if (__jsonProps.Contains("output")) __score13++; if (__jsonProps.Contains("status")) __score13++; + if (__jsonProps.Contains("type")) __score13++; var __score14 = 0; - if (__jsonProps.Contains("type")) __score14++; - if (__jsonProps.Contains("id")) __score14++; - if (__jsonProps.Contains("call_id")) __score14++; if (__jsonProps.Contains("action")) __score14++; - if (__jsonProps.Contains("status")) __score14++; - if (__jsonProps.Contains("environment")) __score14++; + if (__jsonProps.Contains("call_id")) __score14++; if (__jsonProps.Contains("created_by")) __score14++; + if (__jsonProps.Contains("environment")) __score14++; + if (__jsonProps.Contains("id")) __score14++; + if (__jsonProps.Contains("status")) __score14++; + if (__jsonProps.Contains("type")) __score14++; var __score15 = 0; - if (__jsonProps.Contains("type")) __score15++; - if (__jsonProps.Contains("id")) __score15++; if (__jsonProps.Contains("call_id")) __score15++; - if (__jsonProps.Contains("status")) __score15++; - if (__jsonProps.Contains("output")) __score15++; - if (__jsonProps.Contains("max_output_length")) __score15++; if (__jsonProps.Contains("created_by")) __score15++; + if (__jsonProps.Contains("id")) __score15++; + if (__jsonProps.Contains("max_output_length")) __score15++; + if (__jsonProps.Contains("output")) __score15++; + if (__jsonProps.Contains("status")) __score15++; + if (__jsonProps.Contains("type")) __score15++; var __score16 = 0; - if (__jsonProps.Contains("type")) __score16++; - if (__jsonProps.Contains("id")) __score16++; if (__jsonProps.Contains("call_id")) __score16++; - if (__jsonProps.Contains("status")) __score16++; - if (__jsonProps.Contains("operation")) __score16++; if (__jsonProps.Contains("created_by")) __score16++; + if (__jsonProps.Contains("id")) __score16++; + if (__jsonProps.Contains("operation")) __score16++; + if (__jsonProps.Contains("status")) __score16++; + if (__jsonProps.Contains("type")) __score16++; var __score17 = 0; - if (__jsonProps.Contains("type")) __score17++; - if (__jsonProps.Contains("id")) __score17++; if (__jsonProps.Contains("call_id")) __score17++; - if (__jsonProps.Contains("status")) __score17++; - if (__jsonProps.Contains("output")) __score17++; if (__jsonProps.Contains("created_by")) __score17++; + if (__jsonProps.Contains("id")) __score17++; + if (__jsonProps.Contains("output")) __score17++; + if (__jsonProps.Contains("status")) __score17++; + if (__jsonProps.Contains("type")) __score17++; var __score18 = 0; - if (__jsonProps.Contains("type")) __score18++; + if (__jsonProps.Contains("error")) __score18++; if (__jsonProps.Contains("id")) __score18++; if (__jsonProps.Contains("server_label")) __score18++; if (__jsonProps.Contains("tools")) __score18++; - if (__jsonProps.Contains("error")) __score18++; + if (__jsonProps.Contains("type")) __score18++; var __score19 = 0; - if (__jsonProps.Contains("type")) __score19++; + if (__jsonProps.Contains("arguments")) __score19++; if (__jsonProps.Contains("id")) __score19++; - if (__jsonProps.Contains("server_label")) __score19++; if (__jsonProps.Contains("name")) __score19++; - if (__jsonProps.Contains("arguments")) __score19++; + if (__jsonProps.Contains("server_label")) __score19++; + if (__jsonProps.Contains("type")) __score19++; var __score20 = 0; - if (__jsonProps.Contains("type")) __score20++; - if (__jsonProps.Contains("id")) __score20++; if (__jsonProps.Contains("approval_request_id")) __score20++; if (__jsonProps.Contains("approve")) __score20++; + if (__jsonProps.Contains("id")) __score20++; if (__jsonProps.Contains("reason")) __score20++; + if (__jsonProps.Contains("type")) __score20++; var __score21 = 0; - if (__jsonProps.Contains("type")) __score21++; + if (__jsonProps.Contains("approval_request_id")) __score21++; + if (__jsonProps.Contains("arguments")) __score21++; + if (__jsonProps.Contains("error")) __score21++; if (__jsonProps.Contains("id")) __score21++; - if (__jsonProps.Contains("server_label")) __score21++; if (__jsonProps.Contains("name")) __score21++; - if (__jsonProps.Contains("arguments")) __score21++; if (__jsonProps.Contains("output")) __score21++; - if (__jsonProps.Contains("error")) __score21++; + if (__jsonProps.Contains("server_label")) __score21++; if (__jsonProps.Contains("status")) __score21++; - if (__jsonProps.Contains("approval_request_id")) __score21++; + if (__jsonProps.Contains("type")) __score21++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.MessageStreamEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.MessageStreamEvent.g.cs index 93db1df1..81bfaf79 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.MessageStreamEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.MessageStreamEvent.g.cs @@ -27,20 +27,20 @@ public class MessageStreamEventJsonConverter : global::System.Text.Json.Serializ } var __score0 = 0; - if (__jsonProps.Contains("event")) __score0++; if (__jsonProps.Contains("data")) __score0++; + if (__jsonProps.Contains("event")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("event")) __score1++; if (__jsonProps.Contains("data")) __score1++; + if (__jsonProps.Contains("event")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("event")) __score2++; if (__jsonProps.Contains("data")) __score2++; + if (__jsonProps.Contains("event")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("event")) __score3++; if (__jsonProps.Contains("data")) __score3++; + if (__jsonProps.Contains("event")) __score3++; var __score4 = 0; - if (__jsonProps.Contains("event")) __score4++; if (__jsonProps.Contains("data")) __score4++; + if (__jsonProps.Contains("event")) __score4++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.NetworkPolicy.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.NetworkPolicy.g.cs index 79f46075..a2b8be63 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.NetworkPolicy.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.NetworkPolicy.g.cs @@ -29,9 +29,9 @@ public class NetworkPolicyJsonConverter : global::System.Text.Json.Serialization var __score0 = 0; if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("allowed_domains")) __score1++; if (__jsonProps.Contains("domain_secrets")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.NetworkPolicy2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.NetworkPolicy2.g.cs index bca141b8..759b1add 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.NetworkPolicy2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.NetworkPolicy2.g.cs @@ -29,9 +29,9 @@ public class NetworkPolicy2JsonConverter : global::System.Text.Json.Serializatio var __score0 = 0; if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("allowed_domains")) __score1++; if (__jsonProps.Contains("domain_secrets")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.NetworkPolicy3.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.NetworkPolicy3.g.cs index dca04a92..74c32e72 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.NetworkPolicy3.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.NetworkPolicy3.g.cs @@ -29,9 +29,9 @@ public class NetworkPolicy3JsonConverter : global::System.Text.Json.Serializatio var __score0 = 0; if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("allowed_domains")) __score1++; if (__jsonProps.Contains("domain_secrets")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Operation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Operation.g.cs index 8cf5dc4a..3965ab28 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Operation.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Operation.g.cs @@ -27,16 +27,16 @@ public class OperationJsonConverter : global::System.Text.Json.Serialization.Jso } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("path")) __score0++; if (__jsonProps.Contains("diff")) __score0++; + if (__jsonProps.Contains("path")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("path")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; - if (__jsonProps.Contains("path")) __score2++; if (__jsonProps.Contains("diff")) __score2++; + if (__jsonProps.Contains("path")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Outcome.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Outcome.g.cs index d7d32ade..27ca95c6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Outcome.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Outcome.g.cs @@ -29,8 +29,8 @@ public class OutcomeJsonConverter : global::System.Text.Json.Serialization.JsonC var __score0 = 0; if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("exit_code")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputContent.g.cs index ee2894ad..2941e409 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputContent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputContent.g.cs @@ -27,16 +27,16 @@ public class OutputContentJsonConverter : global::System.Text.Json.Serialization } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("text")) __score0++; if (__jsonProps.Contains("annotations")) __score0++; if (__jsonProps.Contains("logprobs")) __score0++; + if (__jsonProps.Contains("text")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("refusal")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("text")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputItem.g.cs index 1e178e44..c1dba254 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputItem.g.cs @@ -27,144 +27,144 @@ public class OutputItemJsonConverter : global::System.Text.Json.Serialization.Js } var __score0 = 0; - if (__jsonProps.Contains("id")) __score0++; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("role")) __score0++; if (__jsonProps.Contains("content")) __score0++; + if (__jsonProps.Contains("id")) __score0++; if (__jsonProps.Contains("phase")) __score0++; + if (__jsonProps.Contains("role")) __score0++; if (__jsonProps.Contains("status")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; if (__jsonProps.Contains("id")) __score1++; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("status")) __score1++; if (__jsonProps.Contains("queries")) __score1++; if (__jsonProps.Contains("results")) __score1++; + if (__jsonProps.Contains("status")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("id")) __score2++; - if (__jsonProps.Contains("type")) __score2++; + if (__jsonProps.Contains("arguments")) __score2++; if (__jsonProps.Contains("call_id")) __score2++; - if (__jsonProps.Contains("namespace")) __score2++; + if (__jsonProps.Contains("id")) __score2++; if (__jsonProps.Contains("name")) __score2++; - if (__jsonProps.Contains("arguments")) __score2++; + if (__jsonProps.Contains("namespace")) __score2++; if (__jsonProps.Contains("status")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; + if (__jsonProps.Contains("action")) __score3++; if (__jsonProps.Contains("id")) __score3++; - if (__jsonProps.Contains("type")) __score3++; if (__jsonProps.Contains("status")) __score3++; - if (__jsonProps.Contains("action")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __score4 = 0; - if (__jsonProps.Contains("type")) __score4++; - if (__jsonProps.Contains("id")) __score4++; - if (__jsonProps.Contains("call_id")) __score4++; if (__jsonProps.Contains("action")) __score4++; if (__jsonProps.Contains("actions")) __score4++; + if (__jsonProps.Contains("call_id")) __score4++; + if (__jsonProps.Contains("id")) __score4++; if (__jsonProps.Contains("pending_safety_checks")) __score4++; if (__jsonProps.Contains("status")) __score4++; + if (__jsonProps.Contains("type")) __score4++; var __score5 = 0; - if (__jsonProps.Contains("type")) __score5++; - if (__jsonProps.Contains("id")) __score5++; - if (__jsonProps.Contains("encrypted_content")) __score5++; - if (__jsonProps.Contains("summary")) __score5++; if (__jsonProps.Contains("content")) __score5++; + if (__jsonProps.Contains("encrypted_content")) __score5++; + if (__jsonProps.Contains("id")) __score5++; if (__jsonProps.Contains("status")) __score5++; + if (__jsonProps.Contains("summary")) __score5++; + if (__jsonProps.Contains("type")) __score5++; var __score6 = 0; - if (__jsonProps.Contains("type")) __score6++; - if (__jsonProps.Contains("id")) __score6++; + if (__jsonProps.Contains("arguments")) __score6++; if (__jsonProps.Contains("call_id")) __score6++; + if (__jsonProps.Contains("created_by")) __score6++; if (__jsonProps.Contains("execution")) __score6++; - if (__jsonProps.Contains("arguments")) __score6++; + if (__jsonProps.Contains("id")) __score6++; if (__jsonProps.Contains("status")) __score6++; - if (__jsonProps.Contains("created_by")) __score6++; + if (__jsonProps.Contains("type")) __score6++; var __score7 = 0; - if (__jsonProps.Contains("type")) __score7++; - if (__jsonProps.Contains("id")) __score7++; if (__jsonProps.Contains("call_id")) __score7++; + if (__jsonProps.Contains("created_by")) __score7++; if (__jsonProps.Contains("execution")) __score7++; - if (__jsonProps.Contains("tools")) __score7++; + if (__jsonProps.Contains("id")) __score7++; if (__jsonProps.Contains("status")) __score7++; - if (__jsonProps.Contains("created_by")) __score7++; + if (__jsonProps.Contains("tools")) __score7++; + if (__jsonProps.Contains("type")) __score7++; var __score8 = 0; - if (__jsonProps.Contains("type")) __score8++; - if (__jsonProps.Contains("id")) __score8++; - if (__jsonProps.Contains("encrypted_content")) __score8++; if (__jsonProps.Contains("created_by")) __score8++; + if (__jsonProps.Contains("encrypted_content")) __score8++; + if (__jsonProps.Contains("id")) __score8++; + if (__jsonProps.Contains("type")) __score8++; var __score9 = 0; - if (__jsonProps.Contains("type")) __score9++; if (__jsonProps.Contains("id")) __score9++; - if (__jsonProps.Contains("status")) __score9++; if (__jsonProps.Contains("result")) __score9++; + if (__jsonProps.Contains("status")) __score9++; + if (__jsonProps.Contains("type")) __score9++; var __score10 = 0; - if (__jsonProps.Contains("type")) __score10++; - if (__jsonProps.Contains("id")) __score10++; - if (__jsonProps.Contains("status")) __score10++; - if (__jsonProps.Contains("container_id")) __score10++; if (__jsonProps.Contains("code")) __score10++; + if (__jsonProps.Contains("container_id")) __score10++; + if (__jsonProps.Contains("id")) __score10++; if (__jsonProps.Contains("outputs")) __score10++; + if (__jsonProps.Contains("status")) __score10++; + if (__jsonProps.Contains("type")) __score10++; var __score11 = 0; - if (__jsonProps.Contains("type")) __score11++; - if (__jsonProps.Contains("id")) __score11++; - if (__jsonProps.Contains("call_id")) __score11++; if (__jsonProps.Contains("action")) __score11++; + if (__jsonProps.Contains("call_id")) __score11++; + if (__jsonProps.Contains("id")) __score11++; if (__jsonProps.Contains("status")) __score11++; + if (__jsonProps.Contains("type")) __score11++; var __score12 = 0; - if (__jsonProps.Contains("type")) __score12++; - if (__jsonProps.Contains("id")) __score12++; - if (__jsonProps.Contains("call_id")) __score12++; if (__jsonProps.Contains("action")) __score12++; - if (__jsonProps.Contains("status")) __score12++; - if (__jsonProps.Contains("environment")) __score12++; + if (__jsonProps.Contains("call_id")) __score12++; if (__jsonProps.Contains("created_by")) __score12++; + if (__jsonProps.Contains("environment")) __score12++; + if (__jsonProps.Contains("id")) __score12++; + if (__jsonProps.Contains("status")) __score12++; + if (__jsonProps.Contains("type")) __score12++; var __score13 = 0; - if (__jsonProps.Contains("type")) __score13++; - if (__jsonProps.Contains("id")) __score13++; if (__jsonProps.Contains("call_id")) __score13++; - if (__jsonProps.Contains("status")) __score13++; - if (__jsonProps.Contains("output")) __score13++; - if (__jsonProps.Contains("max_output_length")) __score13++; if (__jsonProps.Contains("created_by")) __score13++; + if (__jsonProps.Contains("id")) __score13++; + if (__jsonProps.Contains("max_output_length")) __score13++; + if (__jsonProps.Contains("output")) __score13++; + if (__jsonProps.Contains("status")) __score13++; + if (__jsonProps.Contains("type")) __score13++; var __score14 = 0; - if (__jsonProps.Contains("type")) __score14++; - if (__jsonProps.Contains("id")) __score14++; if (__jsonProps.Contains("call_id")) __score14++; - if (__jsonProps.Contains("status")) __score14++; - if (__jsonProps.Contains("operation")) __score14++; if (__jsonProps.Contains("created_by")) __score14++; + if (__jsonProps.Contains("id")) __score14++; + if (__jsonProps.Contains("operation")) __score14++; + if (__jsonProps.Contains("status")) __score14++; + if (__jsonProps.Contains("type")) __score14++; var __score15 = 0; - if (__jsonProps.Contains("type")) __score15++; - if (__jsonProps.Contains("id")) __score15++; if (__jsonProps.Contains("call_id")) __score15++; - if (__jsonProps.Contains("status")) __score15++; - if (__jsonProps.Contains("output")) __score15++; if (__jsonProps.Contains("created_by")) __score15++; + if (__jsonProps.Contains("id")) __score15++; + if (__jsonProps.Contains("output")) __score15++; + if (__jsonProps.Contains("status")) __score15++; + if (__jsonProps.Contains("type")) __score15++; var __score16 = 0; - if (__jsonProps.Contains("type")) __score16++; + if (__jsonProps.Contains("approval_request_id")) __score16++; + if (__jsonProps.Contains("arguments")) __score16++; + if (__jsonProps.Contains("error")) __score16++; if (__jsonProps.Contains("id")) __score16++; - if (__jsonProps.Contains("server_label")) __score16++; if (__jsonProps.Contains("name")) __score16++; - if (__jsonProps.Contains("arguments")) __score16++; if (__jsonProps.Contains("output")) __score16++; - if (__jsonProps.Contains("error")) __score16++; + if (__jsonProps.Contains("server_label")) __score16++; if (__jsonProps.Contains("status")) __score16++; - if (__jsonProps.Contains("approval_request_id")) __score16++; + if (__jsonProps.Contains("type")) __score16++; var __score17 = 0; - if (__jsonProps.Contains("type")) __score17++; + if (__jsonProps.Contains("error")) __score17++; if (__jsonProps.Contains("id")) __score17++; if (__jsonProps.Contains("server_label")) __score17++; if (__jsonProps.Contains("tools")) __score17++; - if (__jsonProps.Contains("error")) __score17++; + if (__jsonProps.Contains("type")) __score17++; var __score18 = 0; - if (__jsonProps.Contains("type")) __score18++; + if (__jsonProps.Contains("arguments")) __score18++; if (__jsonProps.Contains("id")) __score18++; - if (__jsonProps.Contains("server_label")) __score18++; if (__jsonProps.Contains("name")) __score18++; - if (__jsonProps.Contains("arguments")) __score18++; + if (__jsonProps.Contains("server_label")) __score18++; + if (__jsonProps.Contains("type")) __score18++; var __score19 = 0; - if (__jsonProps.Contains("type")) __score19++; - if (__jsonProps.Contains("id")) __score19++; if (__jsonProps.Contains("call_id")) __score19++; - if (__jsonProps.Contains("namespace")) __score19++; - if (__jsonProps.Contains("name")) __score19++; + if (__jsonProps.Contains("id")) __score19++; if (__jsonProps.Contains("input")) __score19++; + if (__jsonProps.Contains("name")) __score19++; + if (__jsonProps.Contains("namespace")) __score19++; + if (__jsonProps.Contains("type")) __score19++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputMessageContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputMessageContent.g.cs index 1d5d028a..e491f81b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputMessageContent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputMessageContent.g.cs @@ -27,13 +27,13 @@ public class OutputMessageContentJsonConverter : global::System.Text.Json.Serial } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("text")) __score0++; if (__jsonProps.Contains("annotations")) __score0++; if (__jsonProps.Contains("logprobs")) __score0++; + if (__jsonProps.Contains("text")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("refusal")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputVariant2Item.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputVariant2Item.g.cs index bc2cc9ee..459768a5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputVariant2Item.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputVariant2Item.g.cs @@ -27,19 +27,19 @@ public class OutputVariant2ItemJsonConverter : global::System.Text.Json.Serializ } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("text")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("image_url")) __score1++; - if (__jsonProps.Contains("file_id")) __score1++; if (__jsonProps.Contains("detail")) __score1++; + if (__jsonProps.Contains("file_id")) __score1++; + if (__jsonProps.Contains("image_url")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; - if (__jsonProps.Contains("file_id")) __score2++; - if (__jsonProps.Contains("filename")) __score2++; if (__jsonProps.Contains("file_data")) __score2++; + if (__jsonProps.Contains("file_id")) __score2++; if (__jsonProps.Contains("file_url")) __score2++; + if (__jsonProps.Contains("filename")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputsVariant1Item.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputsVariant1Item.g.cs index 0e6767d9..04da2f87 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputsVariant1Item.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OutputsVariant1Item.g.cs @@ -27,8 +27,8 @@ public class OutputsVariant1ItemJsonConverter : global::System.Text.Json.Seriali } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("logs")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("url")) __score1++; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeAudioFormats.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeAudioFormats.g.cs index 177228d9..084fac64 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeAudioFormats.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeAudioFormats.g.cs @@ -27,8 +27,8 @@ public class RealtimeAudioFormatsJsonConverter : global::System.Text.Json.Serial } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("rate")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeClientEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeClientEvent.g.cs index 285eb360..7691ab90 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeClientEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeClientEvent.g.cs @@ -28,27 +28,27 @@ public class RealtimeClientEventJsonConverter : global::System.Text.Json.Seriali var __score0 = 0; if (__jsonProps.Contains("event_id")) __score0++; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("previous_item_id")) __score0++; if (__jsonProps.Contains("item")) __score0++; + if (__jsonProps.Contains("previous_item_id")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; if (__jsonProps.Contains("event_id")) __score1++; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("item_id")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; if (__jsonProps.Contains("event_id")) __score2++; - if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("item_id")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; + if (__jsonProps.Contains("audio_end_ms")) __score3++; + if (__jsonProps.Contains("content_index")) __score3++; if (__jsonProps.Contains("event_id")) __score3++; - if (__jsonProps.Contains("type")) __score3++; if (__jsonProps.Contains("item_id")) __score3++; - if (__jsonProps.Contains("content_index")) __score3++; - if (__jsonProps.Contains("audio_end_ms")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __score4 = 0; + if (__jsonProps.Contains("audio")) __score4++; if (__jsonProps.Contains("event_id")) __score4++; if (__jsonProps.Contains("type")) __score4++; - if (__jsonProps.Contains("audio")) __score4++; var __score5 = 0; if (__jsonProps.Contains("event_id")) __score5++; if (__jsonProps.Contains("type")) __score5++; @@ -60,16 +60,16 @@ public class RealtimeClientEventJsonConverter : global::System.Text.Json.Seriali if (__jsonProps.Contains("type")) __score7++; var __score8 = 0; if (__jsonProps.Contains("event_id")) __score8++; - if (__jsonProps.Contains("type")) __score8++; if (__jsonProps.Contains("response_id")) __score8++; + if (__jsonProps.Contains("type")) __score8++; var __score9 = 0; if (__jsonProps.Contains("event_id")) __score9++; - if (__jsonProps.Contains("type")) __score9++; if (__jsonProps.Contains("response")) __score9++; + if (__jsonProps.Contains("type")) __score9++; var __score10 = 0; if (__jsonProps.Contains("event_id")) __score10++; - if (__jsonProps.Contains("type")) __score10++; if (__jsonProps.Contains("session")) __score10++; + if (__jsonProps.Contains("type")) __score10++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeConversationItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeConversationItem.g.cs index f315b833..0d4ab2d0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeConversationItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeConversationItem.g.cs @@ -27,67 +27,67 @@ public class RealtimeConversationItemJsonConverter : global::System.Text.Json.Se } var __score0 = 0; + if (__jsonProps.Contains("content")) __score0++; if (__jsonProps.Contains("id")) __score0++; if (__jsonProps.Contains("object")) __score0++; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("status")) __score0++; if (__jsonProps.Contains("role")) __score0++; - if (__jsonProps.Contains("content")) __score0++; + if (__jsonProps.Contains("status")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; + if (__jsonProps.Contains("content")) __score1++; if (__jsonProps.Contains("id")) __score1++; if (__jsonProps.Contains("object")) __score1++; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("status")) __score1++; if (__jsonProps.Contains("role")) __score1++; - if (__jsonProps.Contains("content")) __score1++; + if (__jsonProps.Contains("status")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; + if (__jsonProps.Contains("content")) __score2++; if (__jsonProps.Contains("id")) __score2++; if (__jsonProps.Contains("object")) __score2++; - if (__jsonProps.Contains("type")) __score2++; - if (__jsonProps.Contains("status")) __score2++; if (__jsonProps.Contains("role")) __score2++; - if (__jsonProps.Contains("content")) __score2++; + if (__jsonProps.Contains("status")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; + if (__jsonProps.Contains("arguments")) __score3++; + if (__jsonProps.Contains("call_id")) __score3++; if (__jsonProps.Contains("id")) __score3++; + if (__jsonProps.Contains("name")) __score3++; if (__jsonProps.Contains("object")) __score3++; - if (__jsonProps.Contains("type")) __score3++; if (__jsonProps.Contains("status")) __score3++; - if (__jsonProps.Contains("call_id")) __score3++; - if (__jsonProps.Contains("name")) __score3++; - if (__jsonProps.Contains("arguments")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __score4 = 0; + if (__jsonProps.Contains("call_id")) __score4++; if (__jsonProps.Contains("id")) __score4++; if (__jsonProps.Contains("object")) __score4++; - if (__jsonProps.Contains("type")) __score4++; - if (__jsonProps.Contains("status")) __score4++; - if (__jsonProps.Contains("call_id")) __score4++; if (__jsonProps.Contains("output")) __score4++; + if (__jsonProps.Contains("status")) __score4++; + if (__jsonProps.Contains("type")) __score4++; var __score5 = 0; - if (__jsonProps.Contains("type")) __score5++; - if (__jsonProps.Contains("id")) __score5++; if (__jsonProps.Contains("approval_request_id")) __score5++; if (__jsonProps.Contains("approve")) __score5++; + if (__jsonProps.Contains("id")) __score5++; if (__jsonProps.Contains("reason")) __score5++; + if (__jsonProps.Contains("type")) __score5++; var __score6 = 0; - if (__jsonProps.Contains("type")) __score6++; if (__jsonProps.Contains("id")) __score6++; if (__jsonProps.Contains("server_label")) __score6++; if (__jsonProps.Contains("tools")) __score6++; + if (__jsonProps.Contains("type")) __score6++; var __score7 = 0; - if (__jsonProps.Contains("type")) __score7++; + if (__jsonProps.Contains("approval_request_id")) __score7++; + if (__jsonProps.Contains("arguments")) __score7++; + if (__jsonProps.Contains("error")) __score7++; if (__jsonProps.Contains("id")) __score7++; - if (__jsonProps.Contains("server_label")) __score7++; if (__jsonProps.Contains("name")) __score7++; - if (__jsonProps.Contains("arguments")) __score7++; - if (__jsonProps.Contains("approval_request_id")) __score7++; if (__jsonProps.Contains("output")) __score7++; - if (__jsonProps.Contains("error")) __score7++; + if (__jsonProps.Contains("server_label")) __score7++; + if (__jsonProps.Contains("type")) __score7++; var __score8 = 0; - if (__jsonProps.Contains("type")) __score8++; + if (__jsonProps.Contains("arguments")) __score8++; if (__jsonProps.Contains("id")) __score8++; - if (__jsonProps.Contains("server_label")) __score8++; if (__jsonProps.Contains("name")) __score8++; - if (__jsonProps.Contains("arguments")) __score8++; + if (__jsonProps.Contains("server_label")) __score8++; + if (__jsonProps.Contains("type")) __score8++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeServerEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeServerEvent.g.cs index 60a6c369..6fbdaa67 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeServerEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeServerEvent.g.cs @@ -27,267 +27,267 @@ public class RealtimeServerEventJsonConverter : global::System.Text.Json.Seriali } var __score0 = 0; + if (__jsonProps.Contains("conversation")) __score0++; if (__jsonProps.Contains("event_id")) __score0++; if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("conversation")) __score0++; var __score1 = 0; if (__jsonProps.Contains("event_id")) __score1++; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("previous_item_id")) __score1++; if (__jsonProps.Contains("item")) __score1++; + if (__jsonProps.Contains("previous_item_id")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; if (__jsonProps.Contains("event_id")) __score2++; - if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("item_id")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; + if (__jsonProps.Contains("content_index")) __score3++; if (__jsonProps.Contains("event_id")) __score3++; - if (__jsonProps.Contains("type")) __score3++; if (__jsonProps.Contains("item_id")) __score3++; - if (__jsonProps.Contains("content_index")) __score3++; - if (__jsonProps.Contains("transcript")) __score3++; if (__jsonProps.Contains("logprobs")) __score3++; + if (__jsonProps.Contains("transcript")) __score3++; + if (__jsonProps.Contains("type")) __score3++; if (__jsonProps.Contains("usage")) __score3++; var __score4 = 0; - if (__jsonProps.Contains("event_id")) __score4++; - if (__jsonProps.Contains("type")) __score4++; - if (__jsonProps.Contains("item_id")) __score4++; if (__jsonProps.Contains("content_index")) __score4++; if (__jsonProps.Contains("delta")) __score4++; + if (__jsonProps.Contains("event_id")) __score4++; + if (__jsonProps.Contains("item_id")) __score4++; if (__jsonProps.Contains("logprobs")) __score4++; + if (__jsonProps.Contains("type")) __score4++; var __score5 = 0; - if (__jsonProps.Contains("event_id")) __score5++; - if (__jsonProps.Contains("type")) __score5++; - if (__jsonProps.Contains("item_id")) __score5++; if (__jsonProps.Contains("content_index")) __score5++; if (__jsonProps.Contains("error")) __score5++; + if (__jsonProps.Contains("event_id")) __score5++; + if (__jsonProps.Contains("item_id")) __score5++; + if (__jsonProps.Contains("type")) __score5++; var __score6 = 0; if (__jsonProps.Contains("event_id")) __score6++; - if (__jsonProps.Contains("type")) __score6++; if (__jsonProps.Contains("item")) __score6++; + if (__jsonProps.Contains("type")) __score6++; var __score7 = 0; + if (__jsonProps.Contains("audio_end_ms")) __score7++; + if (__jsonProps.Contains("content_index")) __score7++; if (__jsonProps.Contains("event_id")) __score7++; - if (__jsonProps.Contains("type")) __score7++; if (__jsonProps.Contains("item_id")) __score7++; - if (__jsonProps.Contains("content_index")) __score7++; - if (__jsonProps.Contains("audio_end_ms")) __score7++; + if (__jsonProps.Contains("type")) __score7++; var __score8 = 0; + if (__jsonProps.Contains("error")) __score8++; if (__jsonProps.Contains("event_id")) __score8++; if (__jsonProps.Contains("type")) __score8++; - if (__jsonProps.Contains("error")) __score8++; var __score9 = 0; if (__jsonProps.Contains("event_id")) __score9++; if (__jsonProps.Contains("type")) __score9++; var __score10 = 0; if (__jsonProps.Contains("event_id")) __score10++; - if (__jsonProps.Contains("type")) __score10++; - if (__jsonProps.Contains("previous_item_id")) __score10++; if (__jsonProps.Contains("item_id")) __score10++; + if (__jsonProps.Contains("previous_item_id")) __score10++; + if (__jsonProps.Contains("type")) __score10++; var __score11 = 0; - if (__jsonProps.Contains("type")) __score11++; if (__jsonProps.Contains("event")) __score11++; if (__jsonProps.Contains("received_at")) __score11++; + if (__jsonProps.Contains("type")) __score11++; var __score12 = 0; - if (__jsonProps.Contains("event_id")) __score12++; - if (__jsonProps.Contains("type")) __score12++; if (__jsonProps.Contains("audio_start_ms")) __score12++; + if (__jsonProps.Contains("event_id")) __score12++; if (__jsonProps.Contains("item_id")) __score12++; + if (__jsonProps.Contains("type")) __score12++; var __score13 = 0; - if (__jsonProps.Contains("event_id")) __score13++; - if (__jsonProps.Contains("type")) __score13++; if (__jsonProps.Contains("audio_end_ms")) __score13++; + if (__jsonProps.Contains("event_id")) __score13++; if (__jsonProps.Contains("item_id")) __score13++; + if (__jsonProps.Contains("type")) __score13++; var __score14 = 0; if (__jsonProps.Contains("event_id")) __score14++; - if (__jsonProps.Contains("type")) __score14++; if (__jsonProps.Contains("rate_limits")) __score14++; + if (__jsonProps.Contains("type")) __score14++; var __score15 = 0; + if (__jsonProps.Contains("content_index")) __score15++; + if (__jsonProps.Contains("delta")) __score15++; if (__jsonProps.Contains("event_id")) __score15++; - if (__jsonProps.Contains("type")) __score15++; - if (__jsonProps.Contains("response_id")) __score15++; if (__jsonProps.Contains("item_id")) __score15++; if (__jsonProps.Contains("output_index")) __score15++; - if (__jsonProps.Contains("content_index")) __score15++; - if (__jsonProps.Contains("delta")) __score15++; + if (__jsonProps.Contains("response_id")) __score15++; + if (__jsonProps.Contains("type")) __score15++; var __score16 = 0; + if (__jsonProps.Contains("content_index")) __score16++; if (__jsonProps.Contains("event_id")) __score16++; - if (__jsonProps.Contains("type")) __score16++; - if (__jsonProps.Contains("response_id")) __score16++; if (__jsonProps.Contains("item_id")) __score16++; if (__jsonProps.Contains("output_index")) __score16++; - if (__jsonProps.Contains("content_index")) __score16++; + if (__jsonProps.Contains("response_id")) __score16++; + if (__jsonProps.Contains("type")) __score16++; var __score17 = 0; + if (__jsonProps.Contains("content_index")) __score17++; + if (__jsonProps.Contains("delta")) __score17++; if (__jsonProps.Contains("event_id")) __score17++; - if (__jsonProps.Contains("type")) __score17++; - if (__jsonProps.Contains("response_id")) __score17++; if (__jsonProps.Contains("item_id")) __score17++; if (__jsonProps.Contains("output_index")) __score17++; - if (__jsonProps.Contains("content_index")) __score17++; - if (__jsonProps.Contains("delta")) __score17++; + if (__jsonProps.Contains("response_id")) __score17++; + if (__jsonProps.Contains("type")) __score17++; var __score18 = 0; + if (__jsonProps.Contains("content_index")) __score18++; if (__jsonProps.Contains("event_id")) __score18++; - if (__jsonProps.Contains("type")) __score18++; - if (__jsonProps.Contains("response_id")) __score18++; if (__jsonProps.Contains("item_id")) __score18++; if (__jsonProps.Contains("output_index")) __score18++; - if (__jsonProps.Contains("content_index")) __score18++; + if (__jsonProps.Contains("response_id")) __score18++; if (__jsonProps.Contains("transcript")) __score18++; + if (__jsonProps.Contains("type")) __score18++; var __score19 = 0; + if (__jsonProps.Contains("content_index")) __score19++; if (__jsonProps.Contains("event_id")) __score19++; - if (__jsonProps.Contains("type")) __score19++; - if (__jsonProps.Contains("response_id")) __score19++; if (__jsonProps.Contains("item_id")) __score19++; if (__jsonProps.Contains("output_index")) __score19++; - if (__jsonProps.Contains("content_index")) __score19++; if (__jsonProps.Contains("part")) __score19++; + if (__jsonProps.Contains("response_id")) __score19++; + if (__jsonProps.Contains("type")) __score19++; var __score20 = 0; + if (__jsonProps.Contains("content_index")) __score20++; if (__jsonProps.Contains("event_id")) __score20++; - if (__jsonProps.Contains("type")) __score20++; - if (__jsonProps.Contains("response_id")) __score20++; if (__jsonProps.Contains("item_id")) __score20++; if (__jsonProps.Contains("output_index")) __score20++; - if (__jsonProps.Contains("content_index")) __score20++; if (__jsonProps.Contains("part")) __score20++; + if (__jsonProps.Contains("response_id")) __score20++; + if (__jsonProps.Contains("type")) __score20++; var __score21 = 0; if (__jsonProps.Contains("event_id")) __score21++; - if (__jsonProps.Contains("type")) __score21++; if (__jsonProps.Contains("response")) __score21++; + if (__jsonProps.Contains("type")) __score21++; var __score22 = 0; if (__jsonProps.Contains("event_id")) __score22++; - if (__jsonProps.Contains("type")) __score22++; if (__jsonProps.Contains("response")) __score22++; + if (__jsonProps.Contains("type")) __score22++; var __score23 = 0; + if (__jsonProps.Contains("call_id")) __score23++; + if (__jsonProps.Contains("delta")) __score23++; if (__jsonProps.Contains("event_id")) __score23++; - if (__jsonProps.Contains("type")) __score23++; - if (__jsonProps.Contains("response_id")) __score23++; if (__jsonProps.Contains("item_id")) __score23++; if (__jsonProps.Contains("output_index")) __score23++; - if (__jsonProps.Contains("call_id")) __score23++; - if (__jsonProps.Contains("delta")) __score23++; + if (__jsonProps.Contains("response_id")) __score23++; + if (__jsonProps.Contains("type")) __score23++; var __score24 = 0; + if (__jsonProps.Contains("arguments")) __score24++; + if (__jsonProps.Contains("call_id")) __score24++; if (__jsonProps.Contains("event_id")) __score24++; - if (__jsonProps.Contains("type")) __score24++; - if (__jsonProps.Contains("response_id")) __score24++; if (__jsonProps.Contains("item_id")) __score24++; - if (__jsonProps.Contains("output_index")) __score24++; - if (__jsonProps.Contains("call_id")) __score24++; if (__jsonProps.Contains("name")) __score24++; - if (__jsonProps.Contains("arguments")) __score24++; + if (__jsonProps.Contains("output_index")) __score24++; + if (__jsonProps.Contains("response_id")) __score24++; + if (__jsonProps.Contains("type")) __score24++; var __score25 = 0; if (__jsonProps.Contains("event_id")) __score25++; - if (__jsonProps.Contains("type")) __score25++; - if (__jsonProps.Contains("response_id")) __score25++; - if (__jsonProps.Contains("output_index")) __score25++; if (__jsonProps.Contains("item")) __score25++; + if (__jsonProps.Contains("output_index")) __score25++; + if (__jsonProps.Contains("response_id")) __score25++; + if (__jsonProps.Contains("type")) __score25++; var __score26 = 0; if (__jsonProps.Contains("event_id")) __score26++; - if (__jsonProps.Contains("type")) __score26++; - if (__jsonProps.Contains("response_id")) __score26++; - if (__jsonProps.Contains("output_index")) __score26++; if (__jsonProps.Contains("item")) __score26++; + if (__jsonProps.Contains("output_index")) __score26++; + if (__jsonProps.Contains("response_id")) __score26++; + if (__jsonProps.Contains("type")) __score26++; var __score27 = 0; + if (__jsonProps.Contains("content_index")) __score27++; + if (__jsonProps.Contains("delta")) __score27++; if (__jsonProps.Contains("event_id")) __score27++; - if (__jsonProps.Contains("type")) __score27++; - if (__jsonProps.Contains("response_id")) __score27++; if (__jsonProps.Contains("item_id")) __score27++; if (__jsonProps.Contains("output_index")) __score27++; - if (__jsonProps.Contains("content_index")) __score27++; - if (__jsonProps.Contains("delta")) __score27++; + if (__jsonProps.Contains("response_id")) __score27++; + if (__jsonProps.Contains("type")) __score27++; var __score28 = 0; + if (__jsonProps.Contains("content_index")) __score28++; if (__jsonProps.Contains("event_id")) __score28++; - if (__jsonProps.Contains("type")) __score28++; - if (__jsonProps.Contains("response_id")) __score28++; if (__jsonProps.Contains("item_id")) __score28++; if (__jsonProps.Contains("output_index")) __score28++; - if (__jsonProps.Contains("content_index")) __score28++; + if (__jsonProps.Contains("response_id")) __score28++; if (__jsonProps.Contains("text")) __score28++; + if (__jsonProps.Contains("type")) __score28++; var __score29 = 0; if (__jsonProps.Contains("event_id")) __score29++; - if (__jsonProps.Contains("type")) __score29++; if (__jsonProps.Contains("session")) __score29++; + if (__jsonProps.Contains("type")) __score29++; var __score30 = 0; if (__jsonProps.Contains("event_id")) __score30++; - if (__jsonProps.Contains("type")) __score30++; if (__jsonProps.Contains("session")) __score30++; + if (__jsonProps.Contains("type")) __score30++; var __score31 = 0; if (__jsonProps.Contains("event_id")) __score31++; - if (__jsonProps.Contains("type")) __score31++; if (__jsonProps.Contains("response_id")) __score31++; + if (__jsonProps.Contains("type")) __score31++; var __score32 = 0; if (__jsonProps.Contains("event_id")) __score32++; - if (__jsonProps.Contains("type")) __score32++; if (__jsonProps.Contains("response_id")) __score32++; + if (__jsonProps.Contains("type")) __score32++; var __score33 = 0; if (__jsonProps.Contains("event_id")) __score33++; - if (__jsonProps.Contains("type")) __score33++; if (__jsonProps.Contains("response_id")) __score33++; + if (__jsonProps.Contains("type")) __score33++; var __score34 = 0; if (__jsonProps.Contains("event_id")) __score34++; - if (__jsonProps.Contains("type")) __score34++; - if (__jsonProps.Contains("previous_item_id")) __score34++; if (__jsonProps.Contains("item")) __score34++; + if (__jsonProps.Contains("previous_item_id")) __score34++; + if (__jsonProps.Contains("type")) __score34++; var __score35 = 0; if (__jsonProps.Contains("event_id")) __score35++; - if (__jsonProps.Contains("type")) __score35++; - if (__jsonProps.Contains("previous_item_id")) __score35++; if (__jsonProps.Contains("item")) __score35++; + if (__jsonProps.Contains("previous_item_id")) __score35++; + if (__jsonProps.Contains("type")) __score35++; var __score36 = 0; - if (__jsonProps.Contains("event_id")) __score36++; - if (__jsonProps.Contains("type")) __score36++; - if (__jsonProps.Contains("audio_start_ms")) __score36++; if (__jsonProps.Contains("audio_end_ms")) __score36++; + if (__jsonProps.Contains("audio_start_ms")) __score36++; + if (__jsonProps.Contains("event_id")) __score36++; if (__jsonProps.Contains("item_id")) __score36++; + if (__jsonProps.Contains("type")) __score36++; var __score37 = 0; - if (__jsonProps.Contains("event_id")) __score37++; - if (__jsonProps.Contains("type")) __score37++; - if (__jsonProps.Contains("item_id")) __score37++; if (__jsonProps.Contains("content_index")) __score37++; - if (__jsonProps.Contains("text")) __score37++; + if (__jsonProps.Contains("end")) __score37++; + if (__jsonProps.Contains("event_id")) __score37++; if (__jsonProps.Contains("id")) __score37++; + if (__jsonProps.Contains("item_id")) __score37++; if (__jsonProps.Contains("speaker")) __score37++; if (__jsonProps.Contains("start")) __score37++; - if (__jsonProps.Contains("end")) __score37++; + if (__jsonProps.Contains("text")) __score37++; + if (__jsonProps.Contains("type")) __score37++; var __score38 = 0; if (__jsonProps.Contains("event_id")) __score38++; - if (__jsonProps.Contains("type")) __score38++; if (__jsonProps.Contains("item_id")) __score38++; + if (__jsonProps.Contains("type")) __score38++; var __score39 = 0; if (__jsonProps.Contains("event_id")) __score39++; - if (__jsonProps.Contains("type")) __score39++; if (__jsonProps.Contains("item_id")) __score39++; + if (__jsonProps.Contains("type")) __score39++; var __score40 = 0; if (__jsonProps.Contains("event_id")) __score40++; - if (__jsonProps.Contains("type")) __score40++; if (__jsonProps.Contains("item_id")) __score40++; + if (__jsonProps.Contains("type")) __score40++; var __score41 = 0; + if (__jsonProps.Contains("delta")) __score41++; if (__jsonProps.Contains("event_id")) __score41++; - if (__jsonProps.Contains("type")) __score41++; - if (__jsonProps.Contains("response_id")) __score41++; if (__jsonProps.Contains("item_id")) __score41++; - if (__jsonProps.Contains("output_index")) __score41++; - if (__jsonProps.Contains("delta")) __score41++; if (__jsonProps.Contains("obfuscation")) __score41++; + if (__jsonProps.Contains("output_index")) __score41++; + if (__jsonProps.Contains("response_id")) __score41++; + if (__jsonProps.Contains("type")) __score41++; var __score42 = 0; + if (__jsonProps.Contains("arguments")) __score42++; if (__jsonProps.Contains("event_id")) __score42++; - if (__jsonProps.Contains("type")) __score42++; - if (__jsonProps.Contains("response_id")) __score42++; if (__jsonProps.Contains("item_id")) __score42++; if (__jsonProps.Contains("output_index")) __score42++; - if (__jsonProps.Contains("arguments")) __score42++; + if (__jsonProps.Contains("response_id")) __score42++; + if (__jsonProps.Contains("type")) __score42++; var __score43 = 0; if (__jsonProps.Contains("event_id")) __score43++; - if (__jsonProps.Contains("type")) __score43++; - if (__jsonProps.Contains("output_index")) __score43++; if (__jsonProps.Contains("item_id")) __score43++; + if (__jsonProps.Contains("output_index")) __score43++; + if (__jsonProps.Contains("type")) __score43++; var __score44 = 0; if (__jsonProps.Contains("event_id")) __score44++; - if (__jsonProps.Contains("type")) __score44++; - if (__jsonProps.Contains("output_index")) __score44++; if (__jsonProps.Contains("item_id")) __score44++; + if (__jsonProps.Contains("output_index")) __score44++; + if (__jsonProps.Contains("type")) __score44++; var __score45 = 0; if (__jsonProps.Contains("event_id")) __score45++; - if (__jsonProps.Contains("type")) __score45++; - if (__jsonProps.Contains("output_index")) __score45++; if (__jsonProps.Contains("item_id")) __score45++; + if (__jsonProps.Contains("output_index")) __score45++; + if (__jsonProps.Contains("type")) __score45++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeTruncation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeTruncation.g.cs index cc3c95e5..342170df 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeTruncation.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeTruncation.g.cs @@ -28,9 +28,9 @@ public class RealtimeTruncationJsonConverter : global::System.Text.Json.Serializ var __score0 = 0; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("retention_ratio")) __score1++; if (__jsonProps.Contains("token_limits")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeTurnDetectionRealtimeTurnDetection1.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeTurnDetectionRealtimeTurnDetection1.g.cs index 629a66a2..5450fab3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeTurnDetectionRealtimeTurnDetection1.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeTurnDetectionRealtimeTurnDetection1.g.cs @@ -27,18 +27,18 @@ public class RealtimeTurnDetectionRealtimeTurnDetection1JsonConverter : global:: } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("threshold")) __score0++; - if (__jsonProps.Contains("prefix_padding_ms")) __score0++; - if (__jsonProps.Contains("silence_duration_ms")) __score0++; if (__jsonProps.Contains("create_response")) __score0++; - if (__jsonProps.Contains("interrupt_response")) __score0++; if (__jsonProps.Contains("idle_timeout_ms")) __score0++; + if (__jsonProps.Contains("interrupt_response")) __score0++; + if (__jsonProps.Contains("prefix_padding_ms")) __score0++; + if (__jsonProps.Contains("silence_duration_ms")) __score0++; + if (__jsonProps.Contains("threshold")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("eagerness")) __score1++; if (__jsonProps.Contains("create_response")) __score1++; + if (__jsonProps.Contains("eagerness")) __score1++; if (__jsonProps.Contains("interrupt_response")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Response.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Response.g.cs index 8b86e695..762da96a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Response.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Response.g.cs @@ -28,40 +28,40 @@ public class ResponseJsonConverter : global::System.Text.Json.Serialization.Json var __score0 = 0; if (__jsonProps.Contains("metadata")) __score0++; - if (__jsonProps.Contains("top_logprobs")) __score0++; + if (__jsonProps.Contains("prompt_cache_key")) __score0++; + if (__jsonProps.Contains("prompt_cache_retention")) __score0++; + if (__jsonProps.Contains("safety_identifier")) __score0++; + if (__jsonProps.Contains("service_tier")) __score0++; if (__jsonProps.Contains("temperature")) __score0++; + if (__jsonProps.Contains("top_logprobs")) __score0++; if (__jsonProps.Contains("top_p")) __score0++; if (__jsonProps.Contains("user")) __score0++; - if (__jsonProps.Contains("safety_identifier")) __score0++; - if (__jsonProps.Contains("prompt_cache_key")) __score0++; - if (__jsonProps.Contains("service_tier")) __score0++; - if (__jsonProps.Contains("prompt_cache_retention")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("previous_response_id")) __score1++; - if (__jsonProps.Contains("model")) __score1++; - if (__jsonProps.Contains("reasoning")) __score1++; if (__jsonProps.Contains("background")) __score1++; if (__jsonProps.Contains("max_output_tokens")) __score1++; if (__jsonProps.Contains("max_tool_calls")) __score1++; + if (__jsonProps.Contains("model")) __score1++; + if (__jsonProps.Contains("previous_response_id")) __score1++; + if (__jsonProps.Contains("prompt")) __score1++; + if (__jsonProps.Contains("reasoning")) __score1++; if (__jsonProps.Contains("text")) __score1++; - if (__jsonProps.Contains("tools")) __score1++; if (__jsonProps.Contains("tool_choice")) __score1++; - if (__jsonProps.Contains("prompt")) __score1++; + if (__jsonProps.Contains("tools")) __score1++; if (__jsonProps.Contains("truncation")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("id")) __score2++; - if (__jsonProps.Contains("object")) __score2++; - if (__jsonProps.Contains("status")) __score2++; - if (__jsonProps.Contains("created_at")) __score2++; if (__jsonProps.Contains("completed_at")) __score2++; + if (__jsonProps.Contains("conversation")) __score2++; + if (__jsonProps.Contains("created_at")) __score2++; if (__jsonProps.Contains("error")) __score2++; + if (__jsonProps.Contains("id")) __score2++; if (__jsonProps.Contains("incomplete_details")) __score2++; - if (__jsonProps.Contains("output")) __score2++; if (__jsonProps.Contains("instructions")) __score2++; + if (__jsonProps.Contains("object")) __score2++; + if (__jsonProps.Contains("output")) __score2++; if (__jsonProps.Contains("output_text")) __score2++; - if (__jsonProps.Contains("usage")) __score2++; if (__jsonProps.Contains("parallel_tool_calls")) __score2++; - if (__jsonProps.Contains("conversation")) __score2++; + if (__jsonProps.Contains("status")) __score2++; + if (__jsonProps.Contains("usage")) __score2++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ResponseFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ResponseFormat.g.cs index 0510d83d..f9065fe1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ResponseFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ResponseFormat.g.cs @@ -29,8 +29,8 @@ public class ResponseFormatJsonConverter : global::System.Text.Json.Serializatio var __score0 = 0; if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("json_schema")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; if (__jsonProps.Contains("type")) __score2++; var __bestScore = 0; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ResponseStreamEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ResponseStreamEvent.g.cs index 65b7cb90..56490803 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ResponseStreamEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ResponseStreamEvent.g.cs @@ -27,299 +27,299 @@ public class ResponseStreamEventJsonConverter : global::System.Text.Json.Seriali } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("sequence_number")) __score0++; if (__jsonProps.Contains("delta")) __score0++; + if (__jsonProps.Contains("sequence_number")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("sequence_number")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("delta")) __score2++; if (__jsonProps.Contains("sequence_number")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("type")) __score3++; if (__jsonProps.Contains("sequence_number")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __score4 = 0; - if (__jsonProps.Contains("type")) __score4++; - if (__jsonProps.Contains("output_index")) __score4++; - if (__jsonProps.Contains("item_id")) __score4++; if (__jsonProps.Contains("delta")) __score4++; + if (__jsonProps.Contains("item_id")) __score4++; + if (__jsonProps.Contains("output_index")) __score4++; if (__jsonProps.Contains("sequence_number")) __score4++; + if (__jsonProps.Contains("type")) __score4++; var __score5 = 0; - if (__jsonProps.Contains("type")) __score5++; - if (__jsonProps.Contains("output_index")) __score5++; - if (__jsonProps.Contains("item_id")) __score5++; if (__jsonProps.Contains("code")) __score5++; + if (__jsonProps.Contains("item_id")) __score5++; + if (__jsonProps.Contains("output_index")) __score5++; if (__jsonProps.Contains("sequence_number")) __score5++; + if (__jsonProps.Contains("type")) __score5++; var __score6 = 0; - if (__jsonProps.Contains("type")) __score6++; - if (__jsonProps.Contains("output_index")) __score6++; if (__jsonProps.Contains("item_id")) __score6++; + if (__jsonProps.Contains("output_index")) __score6++; if (__jsonProps.Contains("sequence_number")) __score6++; + if (__jsonProps.Contains("type")) __score6++; var __score7 = 0; - if (__jsonProps.Contains("type")) __score7++; - if (__jsonProps.Contains("output_index")) __score7++; if (__jsonProps.Contains("item_id")) __score7++; + if (__jsonProps.Contains("output_index")) __score7++; if (__jsonProps.Contains("sequence_number")) __score7++; + if (__jsonProps.Contains("type")) __score7++; var __score8 = 0; - if (__jsonProps.Contains("type")) __score8++; - if (__jsonProps.Contains("output_index")) __score8++; if (__jsonProps.Contains("item_id")) __score8++; + if (__jsonProps.Contains("output_index")) __score8++; if (__jsonProps.Contains("sequence_number")) __score8++; + if (__jsonProps.Contains("type")) __score8++; var __score9 = 0; - if (__jsonProps.Contains("type")) __score9++; if (__jsonProps.Contains("response")) __score9++; if (__jsonProps.Contains("sequence_number")) __score9++; + if (__jsonProps.Contains("type")) __score9++; var __score10 = 0; - if (__jsonProps.Contains("type")) __score10++; + if (__jsonProps.Contains("content_index")) __score10++; if (__jsonProps.Contains("item_id")) __score10++; if (__jsonProps.Contains("output_index")) __score10++; - if (__jsonProps.Contains("content_index")) __score10++; if (__jsonProps.Contains("part")) __score10++; if (__jsonProps.Contains("sequence_number")) __score10++; + if (__jsonProps.Contains("type")) __score10++; var __score11 = 0; - if (__jsonProps.Contains("type")) __score11++; + if (__jsonProps.Contains("content_index")) __score11++; if (__jsonProps.Contains("item_id")) __score11++; if (__jsonProps.Contains("output_index")) __score11++; - if (__jsonProps.Contains("content_index")) __score11++; - if (__jsonProps.Contains("sequence_number")) __score11++; if (__jsonProps.Contains("part")) __score11++; + if (__jsonProps.Contains("sequence_number")) __score11++; + if (__jsonProps.Contains("type")) __score11++; var __score12 = 0; - if (__jsonProps.Contains("type")) __score12++; if (__jsonProps.Contains("response")) __score12++; if (__jsonProps.Contains("sequence_number")) __score12++; + if (__jsonProps.Contains("type")) __score12++; var __score13 = 0; - if (__jsonProps.Contains("type")) __score13++; if (__jsonProps.Contains("code")) __score13++; if (__jsonProps.Contains("message")) __score13++; if (__jsonProps.Contains("param")) __score13++; if (__jsonProps.Contains("sequence_number")) __score13++; + if (__jsonProps.Contains("type")) __score13++; var __score14 = 0; - if (__jsonProps.Contains("type")) __score14++; - if (__jsonProps.Contains("output_index")) __score14++; if (__jsonProps.Contains("item_id")) __score14++; + if (__jsonProps.Contains("output_index")) __score14++; if (__jsonProps.Contains("sequence_number")) __score14++; + if (__jsonProps.Contains("type")) __score14++; var __score15 = 0; - if (__jsonProps.Contains("type")) __score15++; - if (__jsonProps.Contains("output_index")) __score15++; if (__jsonProps.Contains("item_id")) __score15++; + if (__jsonProps.Contains("output_index")) __score15++; if (__jsonProps.Contains("sequence_number")) __score15++; + if (__jsonProps.Contains("type")) __score15++; var __score16 = 0; - if (__jsonProps.Contains("type")) __score16++; - if (__jsonProps.Contains("output_index")) __score16++; if (__jsonProps.Contains("item_id")) __score16++; + if (__jsonProps.Contains("output_index")) __score16++; if (__jsonProps.Contains("sequence_number")) __score16++; + if (__jsonProps.Contains("type")) __score16++; var __score17 = 0; - if (__jsonProps.Contains("type")) __score17++; + if (__jsonProps.Contains("delta")) __score17++; if (__jsonProps.Contains("item_id")) __score17++; if (__jsonProps.Contains("output_index")) __score17++; if (__jsonProps.Contains("sequence_number")) __score17++; - if (__jsonProps.Contains("delta")) __score17++; + if (__jsonProps.Contains("type")) __score17++; var __score18 = 0; - if (__jsonProps.Contains("type")) __score18++; + if (__jsonProps.Contains("arguments")) __score18++; if (__jsonProps.Contains("item_id")) __score18++; if (__jsonProps.Contains("name")) __score18++; if (__jsonProps.Contains("output_index")) __score18++; if (__jsonProps.Contains("sequence_number")) __score18++; - if (__jsonProps.Contains("arguments")) __score18++; + if (__jsonProps.Contains("type")) __score18++; var __score19 = 0; - if (__jsonProps.Contains("type")) __score19++; if (__jsonProps.Contains("response")) __score19++; if (__jsonProps.Contains("sequence_number")) __score19++; + if (__jsonProps.Contains("type")) __score19++; var __score20 = 0; - if (__jsonProps.Contains("type")) __score20++; - if (__jsonProps.Contains("sequence_number")) __score20++; if (__jsonProps.Contains("response")) __score20++; + if (__jsonProps.Contains("sequence_number")) __score20++; + if (__jsonProps.Contains("type")) __score20++; var __score21 = 0; - if (__jsonProps.Contains("type")) __score21++; if (__jsonProps.Contains("response")) __score21++; if (__jsonProps.Contains("sequence_number")) __score21++; + if (__jsonProps.Contains("type")) __score21++; var __score22 = 0; - if (__jsonProps.Contains("type")) __score22++; + if (__jsonProps.Contains("item")) __score22++; if (__jsonProps.Contains("output_index")) __score22++; if (__jsonProps.Contains("sequence_number")) __score22++; - if (__jsonProps.Contains("item")) __score22++; + if (__jsonProps.Contains("type")) __score22++; var __score23 = 0; - if (__jsonProps.Contains("type")) __score23++; + if (__jsonProps.Contains("item")) __score23++; if (__jsonProps.Contains("output_index")) __score23++; if (__jsonProps.Contains("sequence_number")) __score23++; - if (__jsonProps.Contains("item")) __score23++; + if (__jsonProps.Contains("type")) __score23++; var __score24 = 0; - if (__jsonProps.Contains("type")) __score24++; if (__jsonProps.Contains("item_id")) __score24++; if (__jsonProps.Contains("output_index")) __score24++; - if (__jsonProps.Contains("summary_index")) __score24++; - if (__jsonProps.Contains("sequence_number")) __score24++; if (__jsonProps.Contains("part")) __score24++; + if (__jsonProps.Contains("sequence_number")) __score24++; + if (__jsonProps.Contains("summary_index")) __score24++; + if (__jsonProps.Contains("type")) __score24++; var __score25 = 0; - if (__jsonProps.Contains("type")) __score25++; if (__jsonProps.Contains("item_id")) __score25++; if (__jsonProps.Contains("output_index")) __score25++; - if (__jsonProps.Contains("summary_index")) __score25++; - if (__jsonProps.Contains("sequence_number")) __score25++; if (__jsonProps.Contains("part")) __score25++; + if (__jsonProps.Contains("sequence_number")) __score25++; + if (__jsonProps.Contains("summary_index")) __score25++; + if (__jsonProps.Contains("type")) __score25++; var __score26 = 0; - if (__jsonProps.Contains("type")) __score26++; + if (__jsonProps.Contains("delta")) __score26++; if (__jsonProps.Contains("item_id")) __score26++; if (__jsonProps.Contains("output_index")) __score26++; - if (__jsonProps.Contains("summary_index")) __score26++; - if (__jsonProps.Contains("delta")) __score26++; if (__jsonProps.Contains("sequence_number")) __score26++; + if (__jsonProps.Contains("summary_index")) __score26++; + if (__jsonProps.Contains("type")) __score26++; var __score27 = 0; - if (__jsonProps.Contains("type")) __score27++; if (__jsonProps.Contains("item_id")) __score27++; if (__jsonProps.Contains("output_index")) __score27++; + if (__jsonProps.Contains("sequence_number")) __score27++; if (__jsonProps.Contains("summary_index")) __score27++; if (__jsonProps.Contains("text")) __score27++; - if (__jsonProps.Contains("sequence_number")) __score27++; + if (__jsonProps.Contains("type")) __score27++; var __score28 = 0; - if (__jsonProps.Contains("type")) __score28++; - if (__jsonProps.Contains("item_id")) __score28++; - if (__jsonProps.Contains("output_index")) __score28++; if (__jsonProps.Contains("content_index")) __score28++; if (__jsonProps.Contains("delta")) __score28++; + if (__jsonProps.Contains("item_id")) __score28++; + if (__jsonProps.Contains("output_index")) __score28++; if (__jsonProps.Contains("sequence_number")) __score28++; + if (__jsonProps.Contains("type")) __score28++; var __score29 = 0; - if (__jsonProps.Contains("type")) __score29++; + if (__jsonProps.Contains("content_index")) __score29++; if (__jsonProps.Contains("item_id")) __score29++; if (__jsonProps.Contains("output_index")) __score29++; - if (__jsonProps.Contains("content_index")) __score29++; - if (__jsonProps.Contains("text")) __score29++; if (__jsonProps.Contains("sequence_number")) __score29++; + if (__jsonProps.Contains("text")) __score29++; + if (__jsonProps.Contains("type")) __score29++; var __score30 = 0; - if (__jsonProps.Contains("type")) __score30++; - if (__jsonProps.Contains("item_id")) __score30++; - if (__jsonProps.Contains("output_index")) __score30++; if (__jsonProps.Contains("content_index")) __score30++; if (__jsonProps.Contains("delta")) __score30++; + if (__jsonProps.Contains("item_id")) __score30++; + if (__jsonProps.Contains("output_index")) __score30++; if (__jsonProps.Contains("sequence_number")) __score30++; + if (__jsonProps.Contains("type")) __score30++; var __score31 = 0; - if (__jsonProps.Contains("type")) __score31++; + if (__jsonProps.Contains("content_index")) __score31++; if (__jsonProps.Contains("item_id")) __score31++; if (__jsonProps.Contains("output_index")) __score31++; - if (__jsonProps.Contains("content_index")) __score31++; if (__jsonProps.Contains("refusal")) __score31++; if (__jsonProps.Contains("sequence_number")) __score31++; + if (__jsonProps.Contains("type")) __score31++; var __score32 = 0; - if (__jsonProps.Contains("type")) __score32++; - if (__jsonProps.Contains("item_id")) __score32++; - if (__jsonProps.Contains("output_index")) __score32++; if (__jsonProps.Contains("content_index")) __score32++; if (__jsonProps.Contains("delta")) __score32++; - if (__jsonProps.Contains("sequence_number")) __score32++; + if (__jsonProps.Contains("item_id")) __score32++; if (__jsonProps.Contains("logprobs")) __score32++; + if (__jsonProps.Contains("output_index")) __score32++; + if (__jsonProps.Contains("sequence_number")) __score32++; + if (__jsonProps.Contains("type")) __score32++; var __score33 = 0; - if (__jsonProps.Contains("type")) __score33++; + if (__jsonProps.Contains("content_index")) __score33++; if (__jsonProps.Contains("item_id")) __score33++; + if (__jsonProps.Contains("logprobs")) __score33++; if (__jsonProps.Contains("output_index")) __score33++; - if (__jsonProps.Contains("content_index")) __score33++; - if (__jsonProps.Contains("text")) __score33++; if (__jsonProps.Contains("sequence_number")) __score33++; - if (__jsonProps.Contains("logprobs")) __score33++; + if (__jsonProps.Contains("text")) __score33++; + if (__jsonProps.Contains("type")) __score33++; var __score34 = 0; - if (__jsonProps.Contains("type")) __score34++; - if (__jsonProps.Contains("output_index")) __score34++; if (__jsonProps.Contains("item_id")) __score34++; + if (__jsonProps.Contains("output_index")) __score34++; if (__jsonProps.Contains("sequence_number")) __score34++; + if (__jsonProps.Contains("type")) __score34++; var __score35 = 0; - if (__jsonProps.Contains("type")) __score35++; - if (__jsonProps.Contains("output_index")) __score35++; if (__jsonProps.Contains("item_id")) __score35++; + if (__jsonProps.Contains("output_index")) __score35++; if (__jsonProps.Contains("sequence_number")) __score35++; + if (__jsonProps.Contains("type")) __score35++; var __score36 = 0; - if (__jsonProps.Contains("type")) __score36++; - if (__jsonProps.Contains("output_index")) __score36++; if (__jsonProps.Contains("item_id")) __score36++; + if (__jsonProps.Contains("output_index")) __score36++; if (__jsonProps.Contains("sequence_number")) __score36++; + if (__jsonProps.Contains("type")) __score36++; var __score37 = 0; - if (__jsonProps.Contains("type")) __score37++; + if (__jsonProps.Contains("item_id")) __score37++; if (__jsonProps.Contains("output_index")) __score37++; if (__jsonProps.Contains("sequence_number")) __score37++; - if (__jsonProps.Contains("item_id")) __score37++; + if (__jsonProps.Contains("type")) __score37++; var __score38 = 0; - if (__jsonProps.Contains("type")) __score38++; - if (__jsonProps.Contains("output_index")) __score38++; if (__jsonProps.Contains("item_id")) __score38++; + if (__jsonProps.Contains("output_index")) __score38++; if (__jsonProps.Contains("sequence_number")) __score38++; + if (__jsonProps.Contains("type")) __score38++; var __score39 = 0; - if (__jsonProps.Contains("type")) __score39++; - if (__jsonProps.Contains("output_index")) __score39++; if (__jsonProps.Contains("item_id")) __score39++; + if (__jsonProps.Contains("output_index")) __score39++; if (__jsonProps.Contains("sequence_number")) __score39++; + if (__jsonProps.Contains("type")) __score39++; var __score40 = 0; - if (__jsonProps.Contains("type")) __score40++; - if (__jsonProps.Contains("output_index")) __score40++; if (__jsonProps.Contains("item_id")) __score40++; - if (__jsonProps.Contains("sequence_number")) __score40++; - if (__jsonProps.Contains("partial_image_index")) __score40++; + if (__jsonProps.Contains("output_index")) __score40++; if (__jsonProps.Contains("partial_image_b64")) __score40++; + if (__jsonProps.Contains("partial_image_index")) __score40++; + if (__jsonProps.Contains("sequence_number")) __score40++; + if (__jsonProps.Contains("type")) __score40++; var __score41 = 0; - if (__jsonProps.Contains("type")) __score41++; - if (__jsonProps.Contains("output_index")) __score41++; - if (__jsonProps.Contains("item_id")) __score41++; if (__jsonProps.Contains("delta")) __score41++; + if (__jsonProps.Contains("item_id")) __score41++; + if (__jsonProps.Contains("output_index")) __score41++; if (__jsonProps.Contains("sequence_number")) __score41++; + if (__jsonProps.Contains("type")) __score41++; var __score42 = 0; - if (__jsonProps.Contains("type")) __score42++; - if (__jsonProps.Contains("output_index")) __score42++; - if (__jsonProps.Contains("item_id")) __score42++; if (__jsonProps.Contains("arguments")) __score42++; + if (__jsonProps.Contains("item_id")) __score42++; + if (__jsonProps.Contains("output_index")) __score42++; if (__jsonProps.Contains("sequence_number")) __score42++; + if (__jsonProps.Contains("type")) __score42++; var __score43 = 0; - if (__jsonProps.Contains("type")) __score43++; if (__jsonProps.Contains("item_id")) __score43++; if (__jsonProps.Contains("output_index")) __score43++; if (__jsonProps.Contains("sequence_number")) __score43++; + if (__jsonProps.Contains("type")) __score43++; var __score44 = 0; - if (__jsonProps.Contains("type")) __score44++; if (__jsonProps.Contains("item_id")) __score44++; if (__jsonProps.Contains("output_index")) __score44++; if (__jsonProps.Contains("sequence_number")) __score44++; + if (__jsonProps.Contains("type")) __score44++; var __score45 = 0; - if (__jsonProps.Contains("type")) __score45++; - if (__jsonProps.Contains("sequence_number")) __score45++; - if (__jsonProps.Contains("output_index")) __score45++; if (__jsonProps.Contains("item_id")) __score45++; + if (__jsonProps.Contains("output_index")) __score45++; + if (__jsonProps.Contains("sequence_number")) __score45++; + if (__jsonProps.Contains("type")) __score45++; var __score46 = 0; - if (__jsonProps.Contains("type")) __score46++; if (__jsonProps.Contains("item_id")) __score46++; if (__jsonProps.Contains("output_index")) __score46++; if (__jsonProps.Contains("sequence_number")) __score46++; + if (__jsonProps.Contains("type")) __score46++; var __score47 = 0; - if (__jsonProps.Contains("type")) __score47++; if (__jsonProps.Contains("item_id")) __score47++; if (__jsonProps.Contains("output_index")) __score47++; if (__jsonProps.Contains("sequence_number")) __score47++; + if (__jsonProps.Contains("type")) __score47++; var __score48 = 0; - if (__jsonProps.Contains("type")) __score48++; if (__jsonProps.Contains("item_id")) __score48++; if (__jsonProps.Contains("output_index")) __score48++; if (__jsonProps.Contains("sequence_number")) __score48++; + if (__jsonProps.Contains("type")) __score48++; var __score49 = 0; - if (__jsonProps.Contains("type")) __score49++; + if (__jsonProps.Contains("annotation")) __score49++; + if (__jsonProps.Contains("annotation_index")) __score49++; + if (__jsonProps.Contains("content_index")) __score49++; if (__jsonProps.Contains("item_id")) __score49++; if (__jsonProps.Contains("output_index")) __score49++; - if (__jsonProps.Contains("content_index")) __score49++; - if (__jsonProps.Contains("annotation_index")) __score49++; if (__jsonProps.Contains("sequence_number")) __score49++; - if (__jsonProps.Contains("annotation")) __score49++; + if (__jsonProps.Contains("type")) __score49++; var __score50 = 0; - if (__jsonProps.Contains("type")) __score50++; if (__jsonProps.Contains("response")) __score50++; if (__jsonProps.Contains("sequence_number")) __score50++; + if (__jsonProps.Contains("type")) __score50++; var __score51 = 0; - if (__jsonProps.Contains("type")) __score51++; - if (__jsonProps.Contains("sequence_number")) __score51++; - if (__jsonProps.Contains("output_index")) __score51++; - if (__jsonProps.Contains("item_id")) __score51++; if (__jsonProps.Contains("delta")) __score51++; + if (__jsonProps.Contains("item_id")) __score51++; + if (__jsonProps.Contains("output_index")) __score51++; + if (__jsonProps.Contains("sequence_number")) __score51++; + if (__jsonProps.Contains("type")) __score51++; var __score52 = 0; - if (__jsonProps.Contains("type")) __score52++; - if (__jsonProps.Contains("sequence_number")) __score52++; - if (__jsonProps.Contains("output_index")) __score52++; - if (__jsonProps.Contains("item_id")) __score52++; if (__jsonProps.Contains("input")) __score52++; + if (__jsonProps.Contains("item_id")) __score52++; + if (__jsonProps.Contains("output_index")) __score52++; + if (__jsonProps.Contains("sequence_number")) __score52++; + if (__jsonProps.Contains("type")) __score52++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RunStepStreamEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RunStepStreamEvent.g.cs index 4c390050..15b6cceb 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RunStepStreamEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RunStepStreamEvent.g.cs @@ -27,26 +27,26 @@ public class RunStepStreamEventJsonConverter : global::System.Text.Json.Serializ } var __score0 = 0; - if (__jsonProps.Contains("event")) __score0++; if (__jsonProps.Contains("data")) __score0++; + if (__jsonProps.Contains("event")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("event")) __score1++; if (__jsonProps.Contains("data")) __score1++; + if (__jsonProps.Contains("event")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("event")) __score2++; if (__jsonProps.Contains("data")) __score2++; + if (__jsonProps.Contains("event")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("event")) __score3++; if (__jsonProps.Contains("data")) __score3++; + if (__jsonProps.Contains("event")) __score3++; var __score4 = 0; - if (__jsonProps.Contains("event")) __score4++; if (__jsonProps.Contains("data")) __score4++; + if (__jsonProps.Contains("event")) __score4++; var __score5 = 0; - if (__jsonProps.Contains("event")) __score5++; if (__jsonProps.Contains("data")) __score5++; + if (__jsonProps.Contains("event")) __score5++; var __score6 = 0; - if (__jsonProps.Contains("event")) __score6++; if (__jsonProps.Contains("data")) __score6++; + if (__jsonProps.Contains("event")) __score6++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RunStreamEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RunStreamEvent.g.cs index c9b2da8a..394c0e0e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RunStreamEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RunStreamEvent.g.cs @@ -27,35 +27,35 @@ public class RunStreamEventJsonConverter : global::System.Text.Json.Serializatio } var __score0 = 0; - if (__jsonProps.Contains("event")) __score0++; if (__jsonProps.Contains("data")) __score0++; + if (__jsonProps.Contains("event")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("event")) __score1++; if (__jsonProps.Contains("data")) __score1++; + if (__jsonProps.Contains("event")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("event")) __score2++; if (__jsonProps.Contains("data")) __score2++; + if (__jsonProps.Contains("event")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("event")) __score3++; if (__jsonProps.Contains("data")) __score3++; + if (__jsonProps.Contains("event")) __score3++; var __score4 = 0; - if (__jsonProps.Contains("event")) __score4++; if (__jsonProps.Contains("data")) __score4++; + if (__jsonProps.Contains("event")) __score4++; var __score5 = 0; - if (__jsonProps.Contains("event")) __score5++; if (__jsonProps.Contains("data")) __score5++; + if (__jsonProps.Contains("event")) __score5++; var __score6 = 0; - if (__jsonProps.Contains("event")) __score6++; if (__jsonProps.Contains("data")) __score6++; + if (__jsonProps.Contains("event")) __score6++; var __score7 = 0; - if (__jsonProps.Contains("event")) __score7++; if (__jsonProps.Contains("data")) __score7++; + if (__jsonProps.Contains("event")) __score7++; var __score8 = 0; - if (__jsonProps.Contains("event")) __score8++; if (__jsonProps.Contains("data")) __score8++; + if (__jsonProps.Contains("event")) __score8++; var __score9 = 0; - if (__jsonProps.Contains("event")) __score9++; if (__jsonProps.Contains("data")) __score9++; + if (__jsonProps.Contains("event")) __score9++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Session2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Session2.g.cs index a9efdaf1..522116fe 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Session2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Session2.g.cs @@ -27,26 +27,26 @@ public class Session2JsonConverter : global::System.Text.Json.Serialization.Json } var __score0 = 0; - if (__jsonProps.Contains("client_secret")) __score0++; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("output_modalities")) __score0++; - if (__jsonProps.Contains("model")) __score0++; - if (__jsonProps.Contains("instructions")) __score0++; if (__jsonProps.Contains("audio")) __score0++; + if (__jsonProps.Contains("client_secret")) __score0++; if (__jsonProps.Contains("include")) __score0++; - if (__jsonProps.Contains("tracing")) __score0++; - if (__jsonProps.Contains("tools")) __score0++; - if (__jsonProps.Contains("tool_choice")) __score0++; + if (__jsonProps.Contains("instructions")) __score0++; if (__jsonProps.Contains("max_output_tokens")) __score0++; - if (__jsonProps.Contains("truncation")) __score0++; + if (__jsonProps.Contains("model")) __score0++; + if (__jsonProps.Contains("output_modalities")) __score0++; if (__jsonProps.Contains("prompt")) __score0++; + if (__jsonProps.Contains("tool_choice")) __score0++; + if (__jsonProps.Contains("tools")) __score0++; + if (__jsonProps.Contains("tracing")) __score0++; + if (__jsonProps.Contains("truncation")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("id")) __score1++; - if (__jsonProps.Contains("object")) __score1++; + if (__jsonProps.Contains("audio")) __score1++; if (__jsonProps.Contains("expires_at")) __score1++; + if (__jsonProps.Contains("id")) __score1++; if (__jsonProps.Contains("include")) __score1++; - if (__jsonProps.Contains("audio")) __score1++; + if (__jsonProps.Contains("object")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SkillsItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SkillsItem.g.cs index 0be17dc0..bea348f4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SkillsItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SkillsItem.g.cs @@ -27,14 +27,14 @@ public class SkillsItemJsonConverter : global::System.Text.Json.Serialization.Js } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("skill_id")) __score0++; + if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("version")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("name")) __score1++; if (__jsonProps.Contains("description")) __score1++; + if (__jsonProps.Contains("name")) __score1++; if (__jsonProps.Contains("source")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SkillsItem2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SkillsItem2.g.cs index 7d02dcaa..7753880a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SkillsItem2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SkillsItem2.g.cs @@ -27,14 +27,14 @@ public class SkillsItem2JsonConverter : global::System.Text.Json.Serialization.J } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("skill_id")) __score0++; + if (__jsonProps.Contains("type")) __score0++; if (__jsonProps.Contains("version")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("name")) __score1++; if (__jsonProps.Contains("description")) __score1++; + if (__jsonProps.Contains("name")) __score1++; if (__jsonProps.Contains("source")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Status.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Status.g.cs index 929c482a..0c267541 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Status.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Status.g.cs @@ -29,11 +29,11 @@ public class StatusJsonConverter : global::System.Text.Json.Serialization.JsonCo var __score0 = 0; if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("reason")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("reason")) __score2++; + if (__jsonProps.Contains("type")) __score2++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TextResponseFormatConfiguration.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TextResponseFormatConfiguration.g.cs index 7608c0bf..63612893 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TextResponseFormatConfiguration.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TextResponseFormatConfiguration.g.cs @@ -29,11 +29,11 @@ public class TextResponseFormatConfigurationJsonConverter : global::System.Text. var __score0 = 0; if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("description")) __score1++; if (__jsonProps.Contains("name")) __score1++; if (__jsonProps.Contains("schema")) __score1++; if (__jsonProps.Contains("strict")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; if (__jsonProps.Contains("type")) __score2++; var __bestScore = 0; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ThreadItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ThreadItem.g.cs index df2c9526..fba23ac6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ThreadItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ThreadItem.g.cs @@ -27,55 +27,55 @@ public class ThreadItemJsonConverter : global::System.Text.Json.Serialization.Js } var __score0 = 0; + if (__jsonProps.Contains("attachments")) __score0++; + if (__jsonProps.Contains("content")) __score0++; + if (__jsonProps.Contains("created_at")) __score0++; if (__jsonProps.Contains("id")) __score0++; + if (__jsonProps.Contains("inference_options")) __score0++; if (__jsonProps.Contains("object")) __score0++; - if (__jsonProps.Contains("created_at")) __score0++; if (__jsonProps.Contains("thread_id")) __score0++; if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("content")) __score0++; - if (__jsonProps.Contains("attachments")) __score0++; - if (__jsonProps.Contains("inference_options")) __score0++; var __score1 = 0; + if (__jsonProps.Contains("content")) __score1++; + if (__jsonProps.Contains("created_at")) __score1++; if (__jsonProps.Contains("id")) __score1++; if (__jsonProps.Contains("object")) __score1++; - if (__jsonProps.Contains("created_at")) __score1++; if (__jsonProps.Contains("thread_id")) __score1++; if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("content")) __score1++; var __score2 = 0; + if (__jsonProps.Contains("created_at")) __score2++; if (__jsonProps.Contains("id")) __score2++; if (__jsonProps.Contains("object")) __score2++; - if (__jsonProps.Contains("created_at")) __score2++; if (__jsonProps.Contains("thread_id")) __score2++; if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("widget")) __score2++; var __score3 = 0; + if (__jsonProps.Contains("arguments")) __score3++; + if (__jsonProps.Contains("call_id")) __score3++; + if (__jsonProps.Contains("created_at")) __score3++; if (__jsonProps.Contains("id")) __score3++; + if (__jsonProps.Contains("name")) __score3++; if (__jsonProps.Contains("object")) __score3++; - if (__jsonProps.Contains("created_at")) __score3++; + if (__jsonProps.Contains("output")) __score3++; + if (__jsonProps.Contains("status")) __score3++; if (__jsonProps.Contains("thread_id")) __score3++; if (__jsonProps.Contains("type")) __score3++; - if (__jsonProps.Contains("status")) __score3++; - if (__jsonProps.Contains("call_id")) __score3++; - if (__jsonProps.Contains("name")) __score3++; - if (__jsonProps.Contains("arguments")) __score3++; - if (__jsonProps.Contains("output")) __score3++; var __score4 = 0; + if (__jsonProps.Contains("created_at")) __score4++; + if (__jsonProps.Contains("heading")) __score4++; if (__jsonProps.Contains("id")) __score4++; if (__jsonProps.Contains("object")) __score4++; - if (__jsonProps.Contains("created_at")) __score4++; + if (__jsonProps.Contains("summary")) __score4++; + if (__jsonProps.Contains("task_type")) __score4++; if (__jsonProps.Contains("thread_id")) __score4++; if (__jsonProps.Contains("type")) __score4++; - if (__jsonProps.Contains("task_type")) __score4++; - if (__jsonProps.Contains("heading")) __score4++; - if (__jsonProps.Contains("summary")) __score4++; var __score5 = 0; + if (__jsonProps.Contains("created_at")) __score5++; if (__jsonProps.Contains("id")) __score5++; if (__jsonProps.Contains("object")) __score5++; - if (__jsonProps.Contains("created_at")) __score5++; + if (__jsonProps.Contains("tasks")) __score5++; if (__jsonProps.Contains("thread_id")) __score5++; if (__jsonProps.Contains("type")) __score5++; - if (__jsonProps.Contains("tasks")) __score5++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ThreadStreamEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ThreadStreamEvent.g.cs index 719177cf..fd4f4f7a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ThreadStreamEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ThreadStreamEvent.g.cs @@ -27,9 +27,9 @@ public class ThreadStreamEventJsonConverter : global::System.Text.Json.Serializa } var __score0 = 0; + if (__jsonProps.Contains("data")) __score0++; if (__jsonProps.Contains("enabled")) __score0++; if (__jsonProps.Contains("event")) __score0++; - if (__jsonProps.Contains("data")) __score0++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Tool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Tool.g.cs index fa3193fc..dd69eded 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Tool.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Tool.g.cs @@ -27,83 +27,83 @@ public class ToolJsonConverter : global::System.Text.Json.Serialization.JsonConv } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("name")) __score0++; + if (__jsonProps.Contains("defer_loading")) __score0++; if (__jsonProps.Contains("description")) __score0++; + if (__jsonProps.Contains("name")) __score0++; if (__jsonProps.Contains("parameters")) __score0++; if (__jsonProps.Contains("strict")) __score0++; - if (__jsonProps.Contains("defer_loading")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("vector_store_ids")) __score1++; + if (__jsonProps.Contains("filters")) __score1++; if (__jsonProps.Contains("max_num_results")) __score1++; if (__jsonProps.Contains("ranking_options")) __score1++; - if (__jsonProps.Contains("filters")) __score1++; + if (__jsonProps.Contains("type")) __score1++; + if (__jsonProps.Contains("vector_store_ids")) __score1++; var __score2 = 0; if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("type")) __score3++; - if (__jsonProps.Contains("environment")) __score3++; - if (__jsonProps.Contains("display_width")) __score3++; if (__jsonProps.Contains("display_height")) __score3++; + if (__jsonProps.Contains("display_width")) __score3++; + if (__jsonProps.Contains("environment")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __score4 = 0; - if (__jsonProps.Contains("type")) __score4++; if (__jsonProps.Contains("filters")) __score4++; - if (__jsonProps.Contains("user_location")) __score4++; if (__jsonProps.Contains("search_context_size")) __score4++; + if (__jsonProps.Contains("type")) __score4++; + if (__jsonProps.Contains("user_location")) __score4++; var __score5 = 0; - if (__jsonProps.Contains("type")) __score5++; - if (__jsonProps.Contains("server_label")) __score5++; - if (__jsonProps.Contains("server_url")) __score5++; - if (__jsonProps.Contains("connector_id")) __score5++; + if (__jsonProps.Contains("allowed_tools")) __score5++; if (__jsonProps.Contains("authorization")) __score5++; - if (__jsonProps.Contains("server_description")) __score5++; + if (__jsonProps.Contains("connector_id")) __score5++; + if (__jsonProps.Contains("defer_loading")) __score5++; if (__jsonProps.Contains("headers")) __score5++; - if (__jsonProps.Contains("allowed_tools")) __score5++; if (__jsonProps.Contains("require_approval")) __score5++; - if (__jsonProps.Contains("defer_loading")) __score5++; + if (__jsonProps.Contains("server_description")) __score5++; + if (__jsonProps.Contains("server_label")) __score5++; + if (__jsonProps.Contains("server_url")) __score5++; + if (__jsonProps.Contains("type")) __score5++; var __score6 = 0; - if (__jsonProps.Contains("type")) __score6++; if (__jsonProps.Contains("container")) __score6++; + if (__jsonProps.Contains("type")) __score6++; var __score7 = 0; - if (__jsonProps.Contains("type")) __score7++; - if (__jsonProps.Contains("model")) __score7++; - if (__jsonProps.Contains("quality")) __score7++; - if (__jsonProps.Contains("size")) __score7++; - if (__jsonProps.Contains("output_format")) __score7++; - if (__jsonProps.Contains("output_compression")) __score7++; - if (__jsonProps.Contains("moderation")) __score7++; + if (__jsonProps.Contains("action")) __score7++; if (__jsonProps.Contains("background")) __score7++; if (__jsonProps.Contains("input_fidelity")) __score7++; if (__jsonProps.Contains("input_image_mask")) __score7++; + if (__jsonProps.Contains("model")) __score7++; + if (__jsonProps.Contains("moderation")) __score7++; + if (__jsonProps.Contains("output_compression")) __score7++; + if (__jsonProps.Contains("output_format")) __score7++; if (__jsonProps.Contains("partial_images")) __score7++; - if (__jsonProps.Contains("action")) __score7++; + if (__jsonProps.Contains("quality")) __score7++; + if (__jsonProps.Contains("size")) __score7++; + if (__jsonProps.Contains("type")) __score7++; var __score8 = 0; if (__jsonProps.Contains("type")) __score8++; var __score9 = 0; - if (__jsonProps.Contains("type")) __score9++; if (__jsonProps.Contains("environment")) __score9++; + if (__jsonProps.Contains("type")) __score9++; var __score10 = 0; - if (__jsonProps.Contains("type")) __score10++; - if (__jsonProps.Contains("name")) __score10++; + if (__jsonProps.Contains("defer_loading")) __score10++; if (__jsonProps.Contains("description")) __score10++; if (__jsonProps.Contains("format")) __score10++; - if (__jsonProps.Contains("defer_loading")) __score10++; + if (__jsonProps.Contains("name")) __score10++; + if (__jsonProps.Contains("type")) __score10++; var __score11 = 0; - if (__jsonProps.Contains("type")) __score11++; - if (__jsonProps.Contains("name")) __score11++; if (__jsonProps.Contains("description")) __score11++; + if (__jsonProps.Contains("name")) __score11++; if (__jsonProps.Contains("tools")) __score11++; + if (__jsonProps.Contains("type")) __score11++; var __score12 = 0; - if (__jsonProps.Contains("type")) __score12++; - if (__jsonProps.Contains("execution")) __score12++; if (__jsonProps.Contains("description")) __score12++; + if (__jsonProps.Contains("execution")) __score12++; if (__jsonProps.Contains("parameters")) __score12++; + if (__jsonProps.Contains("type")) __score12++; var __score13 = 0; + if (__jsonProps.Contains("search_content_types")) __score13++; + if (__jsonProps.Contains("search_context_size")) __score13++; if (__jsonProps.Contains("type")) __score13++; if (__jsonProps.Contains("user_location")) __score13++; - if (__jsonProps.Contains("search_context_size")) __score13++; - if (__jsonProps.Contains("search_content_types")) __score13++; var __score14 = 0; if (__jsonProps.Contains("type")) __score14++; var __bestScore = 0; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolChoiceParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolChoiceParam.g.cs index b71a373a..4537c670 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolChoiceParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolChoiceParam.g.cs @@ -28,21 +28,21 @@ public class ToolChoiceParamJsonConverter : global::System.Text.Json.Serializati var __score0 = 0; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("mode")) __score1++; if (__jsonProps.Contains("tools")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; if (__jsonProps.Contains("type")) __score2++; var __score3 = 0; - if (__jsonProps.Contains("type")) __score3++; if (__jsonProps.Contains("name")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __score4 = 0; - if (__jsonProps.Contains("type")) __score4++; - if (__jsonProps.Contains("server_label")) __score4++; if (__jsonProps.Contains("name")) __score4++; + if (__jsonProps.Contains("server_label")) __score4++; + if (__jsonProps.Contains("type")) __score4++; var __score5 = 0; - if (__jsonProps.Contains("type")) __score5++; if (__jsonProps.Contains("name")) __score5++; + if (__jsonProps.Contains("type")) __score5++; var __score6 = 0; if (__jsonProps.Contains("type")) __score6++; var __score7 = 0; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem13.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem13.g.cs index 6f25d44c..b1628242 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem13.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ToolsItem13.g.cs @@ -27,18 +27,18 @@ public class ToolsItem13JsonConverter : global::System.Text.Json.Serialization.J } var __score0 = 0; - if (__jsonProps.Contains("name")) __score0++; + if (__jsonProps.Contains("defer_loading")) __score0++; if (__jsonProps.Contains("description")) __score0++; + if (__jsonProps.Contains("name")) __score0++; if (__jsonProps.Contains("parameters")) __score0++; if (__jsonProps.Contains("strict")) __score0++; if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("defer_loading")) __score0++; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("name")) __score1++; + if (__jsonProps.Contains("defer_loading")) __score1++; if (__jsonProps.Contains("description")) __score1++; if (__jsonProps.Contains("format")) __score1++; - if (__jsonProps.Contains("defer_loading")) __score1++; + if (__jsonProps.Contains("name")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptionChunkingStrategy.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptionChunkingStrategy.g.cs index 1f60f997..b14c5db8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptionChunkingStrategy.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptionChunkingStrategy.g.cs @@ -28,10 +28,10 @@ public class TranscriptionChunkingStrategyJsonConverter : global::System.Text.Js var __score0 = 0; var __score1 = 0; - if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("prefix_padding_ms")) __score1++; if (__jsonProps.Contains("silence_duration_ms")) __score1++; if (__jsonProps.Contains("threshold")) __score1++; + if (__jsonProps.Contains("type")) __score1++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebSearchToolCallAction.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebSearchToolCallAction.g.cs index b27bd128..e9cc0b33 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebSearchToolCallAction.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.WebSearchToolCallAction.g.cs @@ -27,17 +27,17 @@ public class WebSearchToolCallActionJsonConverter : global::System.Text.Json.Ser } var __score0 = 0; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("query")) __score0++; if (__jsonProps.Contains("queries")) __score0++; + if (__jsonProps.Contains("query")) __score0++; if (__jsonProps.Contains("sources")) __score0++; + if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("url")) __score1++; var __score2 = 0; + if (__jsonProps.Contains("pattern")) __score2++; if (__jsonProps.Contains("type")) __score2++; if (__jsonProps.Contains("url")) __score2++; - if (__jsonProps.Contains("pattern")) __score2++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCallStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCallStatus.g.cs index b68e0bbc..fb446722 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCallStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCallStatus.g.cs @@ -11,11 +11,11 @@ public enum ApplyPatchCallStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ApplyPatchCallStatus value) { return value switch { - ApplyPatchCallStatus.InProgress => "in_progress", ApplyPatchCallStatus.Completed => "completed", + ApplyPatchCallStatus.InProgress => "in_progress", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ApplyPatchCallStatus value) { return value switch { - "in_progress" => ApplyPatchCallStatus.InProgress, "completed" => ApplyPatchCallStatus.Completed, + "in_progress" => ApplyPatchCallStatus.InProgress, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCallStatusParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCallStatusParam.g.cs index c90b27a8..9ba2bcfe 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCallStatusParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCallStatusParam.g.cs @@ -11,11 +11,11 @@ public enum ApplyPatchCallStatusParam /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ApplyPatchCallStatusParam value) { return value switch { - ApplyPatchCallStatusParam.InProgress => "in_progress", ApplyPatchCallStatusParam.Completed => "completed", + ApplyPatchCallStatusParam.InProgress => "in_progress", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ApplyPatchCallStatusParam value) { return value switch { - "in_progress" => ApplyPatchCallStatusParam.InProgress, "completed" => ApplyPatchCallStatusParam.Completed, + "in_progress" => ApplyPatchCallStatusParam.InProgress, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantSupportedModels.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantSupportedModels.g.cs index 588a31b6..e91a84eb 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantSupportedModels.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantSupportedModels.g.cs @@ -11,171 +11,171 @@ public enum AssistantSupportedModels /// /// /// - Gpt5, + Gpt35Turbo, /// /// /// - Gpt5Mini, + Gpt35Turbo0125, /// /// /// - Gpt5Nano, + Gpt35Turbo0613, /// /// /// - Gpt520250807, + Gpt35Turbo1106, /// /// /// - Gpt5Mini20250807, + Gpt35Turbo16k, /// /// /// - Gpt5Nano20250807, + Gpt35Turbo16k0613, /// /// /// - Gpt41, + Gpt4, /// /// /// - Gpt41Mini, + Gpt40125Preview, /// /// /// - Gpt41Nano, + Gpt40314, /// /// /// - Gpt4120250414, + Gpt40613, /// /// /// - Gpt41Mini20250414, + Gpt41106Preview, /// /// /// - Gpt41Nano20250414, + Gpt432k, /// /// /// - O3Mini, + Gpt432k0314, /// /// /// - O3Mini20250131, + Gpt432k0613, /// /// /// - O1, + Gpt4Turbo, /// /// /// - O120241217, + Gpt4Turbo20240409, /// /// /// - Gpt4o, + Gpt4TurboPreview, /// /// /// - Gpt4o20241120, + Gpt4VisionPreview, /// /// /// - Gpt4o20240806, + Gpt41, /// /// /// - Gpt4o20240513, + Gpt4120250414, /// /// /// - Gpt4oMini, + Gpt41Mini, /// /// /// - Gpt4oMini20240718, + Gpt41Mini20250414, /// /// /// - Gpt45Preview, + Gpt41Nano, /// /// /// - Gpt45Preview20250227, + Gpt41Nano20250414, /// /// /// - Gpt4Turbo, + Gpt45Preview, /// /// /// - Gpt4Turbo20240409, + Gpt45Preview20250227, /// /// /// - Gpt40125Preview, + Gpt4o, /// /// /// - Gpt4TurboPreview, + Gpt4o20240513, /// /// /// - Gpt41106Preview, + Gpt4o20240806, /// /// /// - Gpt4VisionPreview, + Gpt4o20241120, /// /// /// - Gpt4, + Gpt4oMini, /// /// /// - Gpt40314, + Gpt4oMini20240718, /// /// /// - Gpt40613, + Gpt5, /// /// /// - Gpt432k, + Gpt520250807, /// /// /// - Gpt432k0314, + Gpt5Mini, /// /// /// - Gpt432k0613, + Gpt5Mini20250807, /// /// /// - Gpt35Turbo, + Gpt5Nano, /// /// /// - Gpt35Turbo16k, + Gpt5Nano20250807, /// /// /// - Gpt35Turbo0613, + O1, /// /// /// - Gpt35Turbo1106, + O120241217, /// /// /// - Gpt35Turbo0125, + O3Mini, /// /// /// - Gpt35Turbo16k0613, + O3Mini20250131, } /// @@ -190,48 +190,48 @@ public static string ToValueString(this AssistantSupportedModels value) { return value switch { - AssistantSupportedModels.Gpt5 => "gpt-5", - AssistantSupportedModels.Gpt5Mini => "gpt-5-mini", - AssistantSupportedModels.Gpt5Nano => "gpt-5-nano", - AssistantSupportedModels.Gpt520250807 => "gpt-5-2025-08-07", - AssistantSupportedModels.Gpt5Mini20250807 => "gpt-5-mini-2025-08-07", - AssistantSupportedModels.Gpt5Nano20250807 => "gpt-5-nano-2025-08-07", + AssistantSupportedModels.Gpt35Turbo => "gpt-3.5-turbo", + AssistantSupportedModels.Gpt35Turbo0125 => "gpt-3.5-turbo-0125", + AssistantSupportedModels.Gpt35Turbo0613 => "gpt-3.5-turbo-0613", + AssistantSupportedModels.Gpt35Turbo1106 => "gpt-3.5-turbo-1106", + AssistantSupportedModels.Gpt35Turbo16k => "gpt-3.5-turbo-16k", + AssistantSupportedModels.Gpt35Turbo16k0613 => "gpt-3.5-turbo-16k-0613", + AssistantSupportedModels.Gpt4 => "gpt-4", + AssistantSupportedModels.Gpt40125Preview => "gpt-4-0125-preview", + AssistantSupportedModels.Gpt40314 => "gpt-4-0314", + AssistantSupportedModels.Gpt40613 => "gpt-4-0613", + AssistantSupportedModels.Gpt41106Preview => "gpt-4-1106-preview", + AssistantSupportedModels.Gpt432k => "gpt-4-32k", + AssistantSupportedModels.Gpt432k0314 => "gpt-4-32k-0314", + AssistantSupportedModels.Gpt432k0613 => "gpt-4-32k-0613", + AssistantSupportedModels.Gpt4Turbo => "gpt-4-turbo", + AssistantSupportedModels.Gpt4Turbo20240409 => "gpt-4-turbo-2024-04-09", + AssistantSupportedModels.Gpt4TurboPreview => "gpt-4-turbo-preview", + AssistantSupportedModels.Gpt4VisionPreview => "gpt-4-vision-preview", AssistantSupportedModels.Gpt41 => "gpt-4.1", - AssistantSupportedModels.Gpt41Mini => "gpt-4.1-mini", - AssistantSupportedModels.Gpt41Nano => "gpt-4.1-nano", AssistantSupportedModels.Gpt4120250414 => "gpt-4.1-2025-04-14", + AssistantSupportedModels.Gpt41Mini => "gpt-4.1-mini", AssistantSupportedModels.Gpt41Mini20250414 => "gpt-4.1-mini-2025-04-14", + AssistantSupportedModels.Gpt41Nano => "gpt-4.1-nano", AssistantSupportedModels.Gpt41Nano20250414 => "gpt-4.1-nano-2025-04-14", - AssistantSupportedModels.O3Mini => "o3-mini", - AssistantSupportedModels.O3Mini20250131 => "o3-mini-2025-01-31", - AssistantSupportedModels.O1 => "o1", - AssistantSupportedModels.O120241217 => "o1-2024-12-17", + AssistantSupportedModels.Gpt45Preview => "gpt-4.5-preview", + AssistantSupportedModels.Gpt45Preview20250227 => "gpt-4.5-preview-2025-02-27", AssistantSupportedModels.Gpt4o => "gpt-4o", - AssistantSupportedModels.Gpt4o20241120 => "gpt-4o-2024-11-20", - AssistantSupportedModels.Gpt4o20240806 => "gpt-4o-2024-08-06", AssistantSupportedModels.Gpt4o20240513 => "gpt-4o-2024-05-13", + AssistantSupportedModels.Gpt4o20240806 => "gpt-4o-2024-08-06", + AssistantSupportedModels.Gpt4o20241120 => "gpt-4o-2024-11-20", AssistantSupportedModels.Gpt4oMini => "gpt-4o-mini", AssistantSupportedModels.Gpt4oMini20240718 => "gpt-4o-mini-2024-07-18", - AssistantSupportedModels.Gpt45Preview => "gpt-4.5-preview", - AssistantSupportedModels.Gpt45Preview20250227 => "gpt-4.5-preview-2025-02-27", - AssistantSupportedModels.Gpt4Turbo => "gpt-4-turbo", - AssistantSupportedModels.Gpt4Turbo20240409 => "gpt-4-turbo-2024-04-09", - AssistantSupportedModels.Gpt40125Preview => "gpt-4-0125-preview", - AssistantSupportedModels.Gpt4TurboPreview => "gpt-4-turbo-preview", - AssistantSupportedModels.Gpt41106Preview => "gpt-4-1106-preview", - AssistantSupportedModels.Gpt4VisionPreview => "gpt-4-vision-preview", - AssistantSupportedModels.Gpt4 => "gpt-4", - AssistantSupportedModels.Gpt40314 => "gpt-4-0314", - AssistantSupportedModels.Gpt40613 => "gpt-4-0613", - AssistantSupportedModels.Gpt432k => "gpt-4-32k", - AssistantSupportedModels.Gpt432k0314 => "gpt-4-32k-0314", - AssistantSupportedModels.Gpt432k0613 => "gpt-4-32k-0613", - AssistantSupportedModels.Gpt35Turbo => "gpt-3.5-turbo", - AssistantSupportedModels.Gpt35Turbo16k => "gpt-3.5-turbo-16k", - AssistantSupportedModels.Gpt35Turbo0613 => "gpt-3.5-turbo-0613", - AssistantSupportedModels.Gpt35Turbo1106 => "gpt-3.5-turbo-1106", - AssistantSupportedModels.Gpt35Turbo0125 => "gpt-3.5-turbo-0125", - AssistantSupportedModels.Gpt35Turbo16k0613 => "gpt-3.5-turbo-16k-0613", + AssistantSupportedModels.Gpt5 => "gpt-5", + AssistantSupportedModels.Gpt520250807 => "gpt-5-2025-08-07", + AssistantSupportedModels.Gpt5Mini => "gpt-5-mini", + AssistantSupportedModels.Gpt5Mini20250807 => "gpt-5-mini-2025-08-07", + AssistantSupportedModels.Gpt5Nano => "gpt-5-nano", + AssistantSupportedModels.Gpt5Nano20250807 => "gpt-5-nano-2025-08-07", + AssistantSupportedModels.O1 => "o1", + AssistantSupportedModels.O120241217 => "o1-2024-12-17", + AssistantSupportedModels.O3Mini => "o3-mini", + AssistantSupportedModels.O3Mini20250131 => "o3-mini-2025-01-31", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -242,48 +242,48 @@ public static string ToValueString(this AssistantSupportedModels value) { return value switch { - "gpt-5" => AssistantSupportedModels.Gpt5, - "gpt-5-mini" => AssistantSupportedModels.Gpt5Mini, - "gpt-5-nano" => AssistantSupportedModels.Gpt5Nano, - "gpt-5-2025-08-07" => AssistantSupportedModels.Gpt520250807, - "gpt-5-mini-2025-08-07" => AssistantSupportedModels.Gpt5Mini20250807, - "gpt-5-nano-2025-08-07" => AssistantSupportedModels.Gpt5Nano20250807, + "gpt-3.5-turbo" => AssistantSupportedModels.Gpt35Turbo, + "gpt-3.5-turbo-0125" => AssistantSupportedModels.Gpt35Turbo0125, + "gpt-3.5-turbo-0613" => AssistantSupportedModels.Gpt35Turbo0613, + "gpt-3.5-turbo-1106" => AssistantSupportedModels.Gpt35Turbo1106, + "gpt-3.5-turbo-16k" => AssistantSupportedModels.Gpt35Turbo16k, + "gpt-3.5-turbo-16k-0613" => AssistantSupportedModels.Gpt35Turbo16k0613, + "gpt-4" => AssistantSupportedModels.Gpt4, + "gpt-4-0125-preview" => AssistantSupportedModels.Gpt40125Preview, + "gpt-4-0314" => AssistantSupportedModels.Gpt40314, + "gpt-4-0613" => AssistantSupportedModels.Gpt40613, + "gpt-4-1106-preview" => AssistantSupportedModels.Gpt41106Preview, + "gpt-4-32k" => AssistantSupportedModels.Gpt432k, + "gpt-4-32k-0314" => AssistantSupportedModels.Gpt432k0314, + "gpt-4-32k-0613" => AssistantSupportedModels.Gpt432k0613, + "gpt-4-turbo" => AssistantSupportedModels.Gpt4Turbo, + "gpt-4-turbo-2024-04-09" => AssistantSupportedModels.Gpt4Turbo20240409, + "gpt-4-turbo-preview" => AssistantSupportedModels.Gpt4TurboPreview, + "gpt-4-vision-preview" => AssistantSupportedModels.Gpt4VisionPreview, "gpt-4.1" => AssistantSupportedModels.Gpt41, - "gpt-4.1-mini" => AssistantSupportedModels.Gpt41Mini, - "gpt-4.1-nano" => AssistantSupportedModels.Gpt41Nano, "gpt-4.1-2025-04-14" => AssistantSupportedModels.Gpt4120250414, + "gpt-4.1-mini" => AssistantSupportedModels.Gpt41Mini, "gpt-4.1-mini-2025-04-14" => AssistantSupportedModels.Gpt41Mini20250414, + "gpt-4.1-nano" => AssistantSupportedModels.Gpt41Nano, "gpt-4.1-nano-2025-04-14" => AssistantSupportedModels.Gpt41Nano20250414, - "o3-mini" => AssistantSupportedModels.O3Mini, - "o3-mini-2025-01-31" => AssistantSupportedModels.O3Mini20250131, - "o1" => AssistantSupportedModels.O1, - "o1-2024-12-17" => AssistantSupportedModels.O120241217, + "gpt-4.5-preview" => AssistantSupportedModels.Gpt45Preview, + "gpt-4.5-preview-2025-02-27" => AssistantSupportedModels.Gpt45Preview20250227, "gpt-4o" => AssistantSupportedModels.Gpt4o, - "gpt-4o-2024-11-20" => AssistantSupportedModels.Gpt4o20241120, - "gpt-4o-2024-08-06" => AssistantSupportedModels.Gpt4o20240806, "gpt-4o-2024-05-13" => AssistantSupportedModels.Gpt4o20240513, + "gpt-4o-2024-08-06" => AssistantSupportedModels.Gpt4o20240806, + "gpt-4o-2024-11-20" => AssistantSupportedModels.Gpt4o20241120, "gpt-4o-mini" => AssistantSupportedModels.Gpt4oMini, "gpt-4o-mini-2024-07-18" => AssistantSupportedModels.Gpt4oMini20240718, - "gpt-4.5-preview" => AssistantSupportedModels.Gpt45Preview, - "gpt-4.5-preview-2025-02-27" => AssistantSupportedModels.Gpt45Preview20250227, - "gpt-4-turbo" => AssistantSupportedModels.Gpt4Turbo, - "gpt-4-turbo-2024-04-09" => AssistantSupportedModels.Gpt4Turbo20240409, - "gpt-4-0125-preview" => AssistantSupportedModels.Gpt40125Preview, - "gpt-4-turbo-preview" => AssistantSupportedModels.Gpt4TurboPreview, - "gpt-4-1106-preview" => AssistantSupportedModels.Gpt41106Preview, - "gpt-4-vision-preview" => AssistantSupportedModels.Gpt4VisionPreview, - "gpt-4" => AssistantSupportedModels.Gpt4, - "gpt-4-0314" => AssistantSupportedModels.Gpt40314, - "gpt-4-0613" => AssistantSupportedModels.Gpt40613, - "gpt-4-32k" => AssistantSupportedModels.Gpt432k, - "gpt-4-32k-0314" => AssistantSupportedModels.Gpt432k0314, - "gpt-4-32k-0613" => AssistantSupportedModels.Gpt432k0613, - "gpt-3.5-turbo" => AssistantSupportedModels.Gpt35Turbo, - "gpt-3.5-turbo-16k" => AssistantSupportedModels.Gpt35Turbo16k, - "gpt-3.5-turbo-0613" => AssistantSupportedModels.Gpt35Turbo0613, - "gpt-3.5-turbo-1106" => AssistantSupportedModels.Gpt35Turbo1106, - "gpt-3.5-turbo-0125" => AssistantSupportedModels.Gpt35Turbo0125, - "gpt-3.5-turbo-16k-0613" => AssistantSupportedModels.Gpt35Turbo16k0613, + "gpt-5" => AssistantSupportedModels.Gpt5, + "gpt-5-2025-08-07" => AssistantSupportedModels.Gpt520250807, + "gpt-5-mini" => AssistantSupportedModels.Gpt5Mini, + "gpt-5-mini-2025-08-07" => AssistantSupportedModels.Gpt5Mini20250807, + "gpt-5-nano" => AssistantSupportedModels.Gpt5Nano, + "gpt-5-nano-2025-08-07" => AssistantSupportedModels.Gpt5Nano20250807, + "o1" => AssistantSupportedModels.O1, + "o1-2024-12-17" => AssistantSupportedModels.O120241217, + "o3-mini" => AssistantSupportedModels.O3Mini, + "o3-mini-2025-01-31" => AssistantSupportedModels.O3Mini20250131, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantsApiToolChoiceOptionEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantsApiToolChoiceOptionEnum.g.cs index cd852e8b..9bb5981b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantsApiToolChoiceOptionEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantsApiToolChoiceOptionEnum.g.cs @@ -11,11 +11,11 @@ public enum AssistantsApiToolChoiceOptionEnum /// /// /// - None, + Auto, /// /// /// - Auto, + None, /// /// /// @@ -34,8 +34,8 @@ public static string ToValueString(this AssistantsApiToolChoiceOptionEnum value) { return value switch { - AssistantsApiToolChoiceOptionEnum.None => "none", AssistantsApiToolChoiceOptionEnum.Auto => "auto", + AssistantsApiToolChoiceOptionEnum.None => "none", AssistantsApiToolChoiceOptionEnum.Required => "required", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -47,8 +47,8 @@ public static string ToValueString(this AssistantsApiToolChoiceOptionEnum value) { return value switch { - "none" => AssistantsApiToolChoiceOptionEnum.None, "auto" => AssistantsApiToolChoiceOptionEnum.Auto, + "none" => AssistantsApiToolChoiceOptionEnum.None, "required" => AssistantsApiToolChoiceOptionEnum.Required, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantsNamedToolChoiceType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantsNamedToolChoiceType.g.cs index 414f554f..74a059a1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantsNamedToolChoiceType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantsNamedToolChoiceType.g.cs @@ -11,15 +11,15 @@ public enum AssistantsNamedToolChoiceType /// /// /// - Function, + CodeInterpreter, /// /// /// - CodeInterpreter, + FileSearch, /// /// /// - FileSearch, + Function, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this AssistantsNamedToolChoiceType value) { return value switch { - AssistantsNamedToolChoiceType.Function => "function", AssistantsNamedToolChoiceType.CodeInterpreter => "code_interpreter", AssistantsNamedToolChoiceType.FileSearch => "file_search", + AssistantsNamedToolChoiceType.Function => "function", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this AssistantsNamedToolChoiceType value) { return value switch { - "function" => AssistantsNamedToolChoiceType.Function, "code_interpreter" => AssistantsNamedToolChoiceType.CodeInterpreter, "file_search" => AssistantsNamedToolChoiceType.FileSearch, + "function" => AssistantsNamedToolChoiceType.Function, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AttachmentType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AttachmentType.g.cs index 9b3a939b..db75d361 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AttachmentType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AttachmentType.g.cs @@ -11,11 +11,11 @@ public enum AttachmentType /// /// /// - Image, + File, /// /// /// - File, + Image, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this AttachmentType value) { return value switch { - AttachmentType.Image => "image", AttachmentType.File => "file", + AttachmentType.Image => "image", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this AttachmentType value) { return value switch { - "image" => AttachmentType.Image, "file" => AttachmentType.File, + "image" => AttachmentType.Image, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AudioResponseFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AudioResponseFormat.g.cs index 32c101fa..919db5a2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AudioResponseFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AudioResponseFormat.g.cs @@ -12,11 +12,11 @@ public enum AudioResponseFormat /// /// `json`, `text`, `srt`, `verbose_json`, `vtt`, or `diarized_json`. For `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`, the only supported format is `json`. For `gpt-4o-transcribe-diarize`, the supported formats are `json`, `text`, and `diarized_json`, with `diarized_json` required to receive speaker annotations. /// - Json, + DiarizedJson, /// /// `json`, `text`, `srt`, `verbose_json`, `vtt`, or `diarized_json`. For `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`, the only supported format is `json`. For `gpt-4o-transcribe-diarize`, the supported formats are `json`, `text`, and `diarized_json`, with `diarized_json` required to receive speaker annotations. /// - Text, + Json, /// /// `json`, `text`, `srt`, `verbose_json`, `vtt`, or `diarized_json`. For `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`, the only supported format is `json`. For `gpt-4o-transcribe-diarize`, the supported formats are `json`, `text`, and `diarized_json`, with `diarized_json` required to receive speaker annotations. /// @@ -24,15 +24,15 @@ public enum AudioResponseFormat /// /// `json`, `text`, `srt`, `verbose_json`, `vtt`, or `diarized_json`. For `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`, the only supported format is `json`. For `gpt-4o-transcribe-diarize`, the supported formats are `json`, `text`, and `diarized_json`, with `diarized_json` required to receive speaker annotations. /// - VerboseJson, + Text, /// /// `json`, `text`, `srt`, `verbose_json`, `vtt`, or `diarized_json`. For `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`, the only supported format is `json`. For `gpt-4o-transcribe-diarize`, the supported formats are `json`, `text`, and `diarized_json`, with `diarized_json` required to receive speaker annotations. /// - Vtt, + VerboseJson, /// /// `json`, `text`, `srt`, `verbose_json`, `vtt`, or `diarized_json`. For `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`, the only supported format is `json`. For `gpt-4o-transcribe-diarize`, the supported formats are `json`, `text`, and `diarized_json`, with `diarized_json` required to receive speaker annotations. /// - DiarizedJson, + Vtt, } /// @@ -47,12 +47,12 @@ public static string ToValueString(this AudioResponseFormat value) { return value switch { + AudioResponseFormat.DiarizedJson => "diarized_json", AudioResponseFormat.Json => "json", - AudioResponseFormat.Text => "text", AudioResponseFormat.Srt => "srt", + AudioResponseFormat.Text => "text", AudioResponseFormat.VerboseJson => "verbose_json", AudioResponseFormat.Vtt => "vtt", - AudioResponseFormat.DiarizedJson => "diarized_json", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -63,12 +63,12 @@ public static string ToValueString(this AudioResponseFormat value) { return value switch { + "diarized_json" => AudioResponseFormat.DiarizedJson, "json" => AudioResponseFormat.Json, - "text" => AudioResponseFormat.Text, "srt" => AudioResponseFormat.Srt, + "text" => AudioResponseFormat.Text, "verbose_json" => AudioResponseFormat.VerboseJson, "vtt" => AudioResponseFormat.Vtt, - "diarized_json" => AudioResponseFormat.DiarizedJson, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AudioTranscriptionModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AudioTranscriptionModel.g.cs index f6774427..c2407b56 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AudioTranscriptionModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AudioTranscriptionModel.g.cs @@ -8,10 +8,6 @@ namespace tryAGI.OpenAI /// public enum AudioTranscriptionModel { - /// - /// - /// - Whisper1, /// /// /// @@ -28,6 +24,10 @@ public enum AudioTranscriptionModel /// /// Gpt4oTranscribeDiarize, + /// + /// + /// + Whisper1, } /// @@ -42,11 +42,11 @@ public static string ToValueString(this AudioTranscriptionModel value) { return value switch { - AudioTranscriptionModel.Whisper1 => "whisper-1", AudioTranscriptionModel.Gpt4oMiniTranscribe => "gpt-4o-mini-transcribe", AudioTranscriptionModel.Gpt4oMiniTranscribe20251215 => "gpt-4o-mini-transcribe-2025-12-15", AudioTranscriptionModel.Gpt4oTranscribe => "gpt-4o-transcribe", AudioTranscriptionModel.Gpt4oTranscribeDiarize => "gpt-4o-transcribe-diarize", + AudioTranscriptionModel.Whisper1 => "whisper-1", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -57,11 +57,11 @@ public static string ToValueString(this AudioTranscriptionModel value) { return value switch { - "whisper-1" => AudioTranscriptionModel.Whisper1, "gpt-4o-mini-transcribe" => AudioTranscriptionModel.Gpt4oMiniTranscribe, "gpt-4o-mini-transcribe-2025-12-15" => AudioTranscriptionModel.Gpt4oMiniTranscribe20251215, "gpt-4o-transcribe" => AudioTranscriptionModel.Gpt4oTranscribe, "gpt-4o-transcribe-diarize" => AudioTranscriptionModel.Gpt4oTranscribeDiarize, + "whisper-1" => AudioTranscriptionModel.Whisper1, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLogActorApiKeyType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLogActorApiKeyType.g.cs index 0beaa82c..66d93e02 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLogActorApiKeyType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLogActorApiKeyType.g.cs @@ -11,11 +11,11 @@ public enum AuditLogActorApiKeyType /// /// /// - User, + ServiceAccount, /// /// /// - ServiceAccount, + User, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this AuditLogActorApiKeyType value) { return value switch { - AuditLogActorApiKeyType.User => "user", AuditLogActorApiKeyType.ServiceAccount => "service_account", + AuditLogActorApiKeyType.User => "user", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this AuditLogActorApiKeyType value) { return value switch { - "user" => AuditLogActorApiKeyType.User, "service_account" => AuditLogActorApiKeyType.ServiceAccount, + "user" => AuditLogActorApiKeyType.User, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLogActorType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLogActorType.g.cs index 63d768f6..6ed97c2d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLogActorType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLogActorType.g.cs @@ -11,11 +11,11 @@ public enum AuditLogActorType /// /// /// - Session, + ApiKey, /// /// /// - ApiKey, + Session, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this AuditLogActorType value) { return value switch { - AuditLogActorType.Session => "session", AuditLogActorType.ApiKey => "api_key", + AuditLogActorType.Session => "session", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this AuditLogActorType value) { return value switch { - "session" => AuditLogActorType.Session, "api_key" => AuditLogActorType.ApiKey, + "session" => AuditLogActorType.Session, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLogEventType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLogEventType.g.cs index db3cda75..d6084604 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLogEventType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLogEventType.g.cs @@ -15,11 +15,11 @@ public enum AuditLogEventType /// /// /// - ApiKeyUpdated, + ApiKeyDeleted, /// /// /// - ApiKeyDeleted, + ApiKeyUpdated, /// /// /// @@ -27,11 +27,11 @@ public enum AuditLogEventType /// /// /// - CertificateUpdated, + CertificateDeleted, /// /// /// - CertificateDeleted, + CertificateUpdated, /// /// /// @@ -63,15 +63,11 @@ public enum AuditLogEventType /// /// /// - GroupUpdated, - /// - /// - /// GroupDeleted, /// /// /// - InviteSent, + GroupUpdated, /// /// /// @@ -83,27 +79,27 @@ public enum AuditLogEventType /// /// /// - IpAllowlistCreated, + InviteSent, /// /// /// - IpAllowlistUpdated, + IpAllowlistConfigActivated, /// /// /// - IpAllowlistDeleted, + IpAllowlistConfigDeactivated, /// /// /// - IpAllowlistConfigActivated, + IpAllowlistCreated, /// /// /// - IpAllowlistConfigDeactivated, + IpAllowlistDeleted, /// /// /// - LoginSucceeded, + IpAllowlistUpdated, /// /// /// @@ -111,7 +107,7 @@ public enum AuditLogEventType /// /// /// - LogoutSucceeded, + LoginSucceeded, /// /// /// @@ -119,19 +115,19 @@ public enum AuditLogEventType /// /// /// - OrganizationUpdated, + LogoutSucceeded, /// /// /// - ProjectCreated, + OrganizationUpdated, /// /// /// - ProjectUpdated, + ProjectArchived, /// /// /// - ProjectArchived, + ProjectCreated, /// /// /// @@ -139,7 +135,7 @@ public enum AuditLogEventType /// /// /// - RateLimitUpdated, + ProjectUpdated, /// /// /// @@ -147,19 +143,19 @@ public enum AuditLogEventType /// /// /// - ResourceDeleted, + RateLimitUpdated, /// /// /// - TunnelCreated, + ResourceDeleted, /// /// /// - TunnelUpdated, + RoleAssignmentCreated, /// /// /// - TunnelDeleted, + RoleAssignmentDeleted, /// /// /// @@ -167,39 +163,43 @@ public enum AuditLogEventType /// /// /// + RoleDeleted, + /// + /// + /// RoleUpdated, /// /// /// - RoleDeleted, + ScimDisabled, /// /// /// - RoleAssignmentCreated, + ScimEnabled, /// /// /// - RoleAssignmentDeleted, + ServiceAccountCreated, /// /// /// - ScimEnabled, + ServiceAccountDeleted, /// /// /// - ScimDisabled, + ServiceAccountUpdated, /// /// /// - ServiceAccountCreated, + TunnelCreated, /// /// /// - ServiceAccountUpdated, + TunnelDeleted, /// /// /// - ServiceAccountDeleted, + TunnelUpdated, /// /// /// @@ -207,11 +207,11 @@ public enum AuditLogEventType /// /// /// - UserUpdated, + UserDeleted, /// /// /// - UserDeleted, + UserUpdated, } /// @@ -227,11 +227,11 @@ public static string ToValueString(this AuditLogEventType value) return value switch { AuditLogEventType.ApiKeyCreated => "api_key.created", - AuditLogEventType.ApiKeyUpdated => "api_key.updated", AuditLogEventType.ApiKeyDeleted => "api_key.deleted", + AuditLogEventType.ApiKeyUpdated => "api_key.updated", AuditLogEventType.CertificateCreated => "certificate.created", - AuditLogEventType.CertificateUpdated => "certificate.updated", AuditLogEventType.CertificateDeleted => "certificate.deleted", + AuditLogEventType.CertificateUpdated => "certificate.updated", AuditLogEventType.CertificatesActivated => "certificates.activated", AuditLogEventType.CertificatesDeactivated => "certificates.deactivated", AuditLogEventType.CheckpointPermissionCreated => "checkpoint.permission.created", @@ -239,44 +239,44 @@ public static string ToValueString(this AuditLogEventType value) AuditLogEventType.ExternalKeyRegistered => "external_key.registered", AuditLogEventType.ExternalKeyRemoved => "external_key.removed", AuditLogEventType.GroupCreated => "group.created", - AuditLogEventType.GroupUpdated => "group.updated", AuditLogEventType.GroupDeleted => "group.deleted", - AuditLogEventType.InviteSent => "invite.sent", + AuditLogEventType.GroupUpdated => "group.updated", AuditLogEventType.InviteAccepted => "invite.accepted", AuditLogEventType.InviteDeleted => "invite.deleted", - AuditLogEventType.IpAllowlistCreated => "ip_allowlist.created", - AuditLogEventType.IpAllowlistUpdated => "ip_allowlist.updated", - AuditLogEventType.IpAllowlistDeleted => "ip_allowlist.deleted", + AuditLogEventType.InviteSent => "invite.sent", AuditLogEventType.IpAllowlistConfigActivated => "ip_allowlist.config.activated", AuditLogEventType.IpAllowlistConfigDeactivated => "ip_allowlist.config.deactivated", - AuditLogEventType.LoginSucceeded => "login.succeeded", + AuditLogEventType.IpAllowlistCreated => "ip_allowlist.created", + AuditLogEventType.IpAllowlistDeleted => "ip_allowlist.deleted", + AuditLogEventType.IpAllowlistUpdated => "ip_allowlist.updated", AuditLogEventType.LoginFailed => "login.failed", - AuditLogEventType.LogoutSucceeded => "logout.succeeded", + AuditLogEventType.LoginSucceeded => "login.succeeded", AuditLogEventType.LogoutFailed => "logout.failed", + AuditLogEventType.LogoutSucceeded => "logout.succeeded", AuditLogEventType.OrganizationUpdated => "organization.updated", - AuditLogEventType.ProjectCreated => "project.created", - AuditLogEventType.ProjectUpdated => "project.updated", AuditLogEventType.ProjectArchived => "project.archived", + AuditLogEventType.ProjectCreated => "project.created", AuditLogEventType.ProjectDeleted => "project.deleted", - AuditLogEventType.RateLimitUpdated => "rate_limit.updated", + AuditLogEventType.ProjectUpdated => "project.updated", AuditLogEventType.RateLimitDeleted => "rate_limit.deleted", + AuditLogEventType.RateLimitUpdated => "rate_limit.updated", AuditLogEventType.ResourceDeleted => "resource.deleted", - AuditLogEventType.TunnelCreated => "tunnel.created", - AuditLogEventType.TunnelUpdated => "tunnel.updated", - AuditLogEventType.TunnelDeleted => "tunnel.deleted", - AuditLogEventType.RoleCreated => "role.created", - AuditLogEventType.RoleUpdated => "role.updated", - AuditLogEventType.RoleDeleted => "role.deleted", AuditLogEventType.RoleAssignmentCreated => "role.assignment.created", AuditLogEventType.RoleAssignmentDeleted => "role.assignment.deleted", - AuditLogEventType.ScimEnabled => "scim.enabled", + AuditLogEventType.RoleCreated => "role.created", + AuditLogEventType.RoleDeleted => "role.deleted", + AuditLogEventType.RoleUpdated => "role.updated", AuditLogEventType.ScimDisabled => "scim.disabled", + AuditLogEventType.ScimEnabled => "scim.enabled", AuditLogEventType.ServiceAccountCreated => "service_account.created", - AuditLogEventType.ServiceAccountUpdated => "service_account.updated", AuditLogEventType.ServiceAccountDeleted => "service_account.deleted", + AuditLogEventType.ServiceAccountUpdated => "service_account.updated", + AuditLogEventType.TunnelCreated => "tunnel.created", + AuditLogEventType.TunnelDeleted => "tunnel.deleted", + AuditLogEventType.TunnelUpdated => "tunnel.updated", AuditLogEventType.UserAdded => "user.added", - AuditLogEventType.UserUpdated => "user.updated", AuditLogEventType.UserDeleted => "user.deleted", + AuditLogEventType.UserUpdated => "user.updated", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -288,11 +288,11 @@ public static string ToValueString(this AuditLogEventType value) return value switch { "api_key.created" => AuditLogEventType.ApiKeyCreated, - "api_key.updated" => AuditLogEventType.ApiKeyUpdated, "api_key.deleted" => AuditLogEventType.ApiKeyDeleted, + "api_key.updated" => AuditLogEventType.ApiKeyUpdated, "certificate.created" => AuditLogEventType.CertificateCreated, - "certificate.updated" => AuditLogEventType.CertificateUpdated, "certificate.deleted" => AuditLogEventType.CertificateDeleted, + "certificate.updated" => AuditLogEventType.CertificateUpdated, "certificates.activated" => AuditLogEventType.CertificatesActivated, "certificates.deactivated" => AuditLogEventType.CertificatesDeactivated, "checkpoint.permission.created" => AuditLogEventType.CheckpointPermissionCreated, @@ -300,44 +300,44 @@ public static string ToValueString(this AuditLogEventType value) "external_key.registered" => AuditLogEventType.ExternalKeyRegistered, "external_key.removed" => AuditLogEventType.ExternalKeyRemoved, "group.created" => AuditLogEventType.GroupCreated, - "group.updated" => AuditLogEventType.GroupUpdated, "group.deleted" => AuditLogEventType.GroupDeleted, - "invite.sent" => AuditLogEventType.InviteSent, + "group.updated" => AuditLogEventType.GroupUpdated, "invite.accepted" => AuditLogEventType.InviteAccepted, "invite.deleted" => AuditLogEventType.InviteDeleted, - "ip_allowlist.created" => AuditLogEventType.IpAllowlistCreated, - "ip_allowlist.updated" => AuditLogEventType.IpAllowlistUpdated, - "ip_allowlist.deleted" => AuditLogEventType.IpAllowlistDeleted, + "invite.sent" => AuditLogEventType.InviteSent, "ip_allowlist.config.activated" => AuditLogEventType.IpAllowlistConfigActivated, "ip_allowlist.config.deactivated" => AuditLogEventType.IpAllowlistConfigDeactivated, - "login.succeeded" => AuditLogEventType.LoginSucceeded, + "ip_allowlist.created" => AuditLogEventType.IpAllowlistCreated, + "ip_allowlist.deleted" => AuditLogEventType.IpAllowlistDeleted, + "ip_allowlist.updated" => AuditLogEventType.IpAllowlistUpdated, "login.failed" => AuditLogEventType.LoginFailed, - "logout.succeeded" => AuditLogEventType.LogoutSucceeded, + "login.succeeded" => AuditLogEventType.LoginSucceeded, "logout.failed" => AuditLogEventType.LogoutFailed, + "logout.succeeded" => AuditLogEventType.LogoutSucceeded, "organization.updated" => AuditLogEventType.OrganizationUpdated, - "project.created" => AuditLogEventType.ProjectCreated, - "project.updated" => AuditLogEventType.ProjectUpdated, "project.archived" => AuditLogEventType.ProjectArchived, + "project.created" => AuditLogEventType.ProjectCreated, "project.deleted" => AuditLogEventType.ProjectDeleted, - "rate_limit.updated" => AuditLogEventType.RateLimitUpdated, + "project.updated" => AuditLogEventType.ProjectUpdated, "rate_limit.deleted" => AuditLogEventType.RateLimitDeleted, + "rate_limit.updated" => AuditLogEventType.RateLimitUpdated, "resource.deleted" => AuditLogEventType.ResourceDeleted, - "tunnel.created" => AuditLogEventType.TunnelCreated, - "tunnel.updated" => AuditLogEventType.TunnelUpdated, - "tunnel.deleted" => AuditLogEventType.TunnelDeleted, - "role.created" => AuditLogEventType.RoleCreated, - "role.updated" => AuditLogEventType.RoleUpdated, - "role.deleted" => AuditLogEventType.RoleDeleted, "role.assignment.created" => AuditLogEventType.RoleAssignmentCreated, "role.assignment.deleted" => AuditLogEventType.RoleAssignmentDeleted, - "scim.enabled" => AuditLogEventType.ScimEnabled, + "role.created" => AuditLogEventType.RoleCreated, + "role.deleted" => AuditLogEventType.RoleDeleted, + "role.updated" => AuditLogEventType.RoleUpdated, "scim.disabled" => AuditLogEventType.ScimDisabled, + "scim.enabled" => AuditLogEventType.ScimEnabled, "service_account.created" => AuditLogEventType.ServiceAccountCreated, - "service_account.updated" => AuditLogEventType.ServiceAccountUpdated, "service_account.deleted" => AuditLogEventType.ServiceAccountDeleted, + "service_account.updated" => AuditLogEventType.ServiceAccountUpdated, + "tunnel.created" => AuditLogEventType.TunnelCreated, + "tunnel.deleted" => AuditLogEventType.TunnelDeleted, + "tunnel.updated" => AuditLogEventType.TunnelUpdated, "user.added" => AuditLogEventType.UserAdded, - "user.updated" => AuditLogEventType.UserUpdated, "user.deleted" => AuditLogEventType.UserDeleted, + "user.updated" => AuditLogEventType.UserUpdated, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchStatus.g.cs index f52c4dcc..0cdc5146 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchStatus.g.cs @@ -11,35 +11,35 @@ public enum BatchStatus /// /// /// - Validating, + Cancelled, /// /// /// - Failed, + Cancelling, /// /// /// - InProgress, + Completed, /// /// /// - Finalizing, + Expired, /// /// /// - Completed, + Failed, /// /// /// - Expired, + Finalizing, /// /// /// - Cancelling, + InProgress, /// /// /// - Cancelled, + Validating, } /// @@ -54,14 +54,14 @@ public static string ToValueString(this BatchStatus value) { return value switch { - BatchStatus.Validating => "validating", - BatchStatus.Failed => "failed", - BatchStatus.InProgress => "in_progress", - BatchStatus.Finalizing => "finalizing", + BatchStatus.Cancelled => "cancelled", + BatchStatus.Cancelling => "cancelling", BatchStatus.Completed => "completed", BatchStatus.Expired => "expired", - BatchStatus.Cancelling => "cancelling", - BatchStatus.Cancelled => "cancelled", + BatchStatus.Failed => "failed", + BatchStatus.Finalizing => "finalizing", + BatchStatus.InProgress => "in_progress", + BatchStatus.Validating => "validating", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -72,14 +72,14 @@ public static string ToValueString(this BatchStatus value) { return value switch { - "validating" => BatchStatus.Validating, - "failed" => BatchStatus.Failed, - "in_progress" => BatchStatus.InProgress, - "finalizing" => BatchStatus.Finalizing, + "cancelled" => BatchStatus.Cancelled, + "cancelling" => BatchStatus.Cancelling, "completed" => BatchStatus.Completed, "expired" => BatchStatus.Expired, - "cancelling" => BatchStatus.Cancelling, - "cancelled" => BatchStatus.Cancelled, + "failed" => BatchStatus.Failed, + "finalizing" => BatchStatus.Finalizing, + "in_progress" => BatchStatus.InProgress, + "validating" => BatchStatus.Validating, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionModalitiesVariant1Item.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionModalitiesVariant1Item.g.cs index e0f07f08..f4981632 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionModalitiesVariant1Item.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionModalitiesVariant1Item.g.cs @@ -11,11 +11,11 @@ public enum ChatCompletionModalitiesVariant1Item /// /// /// - Text, + Audio, /// /// /// - Audio, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ChatCompletionModalitiesVariant1Item val { return value switch { - ChatCompletionModalitiesVariant1Item.Text => "text", ChatCompletionModalitiesVariant1Item.Audio => "audio", + ChatCompletionModalitiesVariant1Item.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ChatCompletionModalitiesVariant1Item val { return value switch { - "text" => ChatCompletionModalitiesVariant1Item.Text, "audio" => ChatCompletionModalitiesVariant1Item.Audio, + "text" => ChatCompletionModalitiesVariant1Item.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartAudioInputAudioFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartAudioInputAudioFormat.g.cs index fe037d70..c04c3c74 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartAudioInputAudioFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartAudioInputAudioFormat.g.cs @@ -11,11 +11,11 @@ public enum ChatCompletionRequestMessageContentPartAudioInputAudioFormat /// /// /// - Wav, + Mp3, /// /// /// - Mp3, + Wav, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ChatCompletionRequestMessageContentPartA { return value switch { - ChatCompletionRequestMessageContentPartAudioInputAudioFormat.Wav => "wav", ChatCompletionRequestMessageContentPartAudioInputAudioFormat.Mp3 => "mp3", + ChatCompletionRequestMessageContentPartAudioInputAudioFormat.Wav => "wav", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ChatCompletionRequestMessageContentPartA { return value switch { - "wav" => ChatCompletionRequestMessageContentPartAudioInputAudioFormat.Wav, "mp3" => ChatCompletionRequestMessageContentPartAudioInputAudioFormat.Mp3, + "wav" => ChatCompletionRequestMessageContentPartAudioInputAudioFormat.Wav, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartImageImageUrlDetail.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartImageImageUrlDetail.g.cs index dc6bb537..881d832f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartImageImageUrlDetail.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartImageImageUrlDetail.g.cs @@ -16,11 +16,11 @@ public enum ChatCompletionRequestMessageContentPartImageImageUrlDetail /// /// /// - Low, + High, /// /// /// - High, + Low, } /// @@ -36,8 +36,8 @@ public static string ToValueString(this ChatCompletionRequestMessageContentPartI return value switch { ChatCompletionRequestMessageContentPartImageImageUrlDetail.Auto => "auto", - ChatCompletionRequestMessageContentPartImageImageUrlDetail.Low => "low", ChatCompletionRequestMessageContentPartImageImageUrlDetail.High => "high", + ChatCompletionRequestMessageContentPartImageImageUrlDetail.Low => "low", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -49,8 +49,8 @@ public static string ToValueString(this ChatCompletionRequestMessageContentPartI return value switch { "auto" => ChatCompletionRequestMessageContentPartImageImageUrlDetail.Auto, - "low" => ChatCompletionRequestMessageContentPartImageImageUrlDetail.Low, "high" => ChatCompletionRequestMessageContentPartImageImageUrlDetail.High, + "low" => ChatCompletionRequestMessageContentPartImageImageUrlDetail.Low, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRole.g.cs index deeea1fa..d62c1437 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRole.g.cs @@ -11,19 +11,19 @@ public enum ChatCompletionRole /// /// /// - Developer, + Assistant, /// /// /// - System, + Developer, /// /// /// - User, + Function, /// /// /// - Assistant, + System, /// /// /// @@ -31,7 +31,7 @@ public enum ChatCompletionRole /// /// /// - Function, + User, } /// @@ -46,12 +46,12 @@ public static string ToValueString(this ChatCompletionRole value) { return value switch { + ChatCompletionRole.Assistant => "assistant", ChatCompletionRole.Developer => "developer", + ChatCompletionRole.Function => "function", ChatCompletionRole.System => "system", - ChatCompletionRole.User => "user", - ChatCompletionRole.Assistant => "assistant", ChatCompletionRole.Tool => "tool", - ChatCompletionRole.Function => "function", + ChatCompletionRole.User => "user", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -62,12 +62,12 @@ public static string ToValueString(this ChatCompletionRole value) { return value switch { + "assistant" => ChatCompletionRole.Assistant, "developer" => ChatCompletionRole.Developer, + "function" => ChatCompletionRole.Function, "system" => ChatCompletionRole.System, - "user" => ChatCompletionRole.User, - "assistant" => ChatCompletionRole.Assistant, "tool" => ChatCompletionRole.Tool, - "function" => ChatCompletionRole.Function, + "user" => ChatCompletionRole.User, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionStreamResponseDeltaRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionStreamResponseDeltaRole.g.cs index 7540a837..dec20336 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionStreamResponseDeltaRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionStreamResponseDeltaRole.g.cs @@ -11,23 +11,23 @@ public enum ChatCompletionStreamResponseDeltaRole /// /// /// - Developer, + Assistant, /// /// /// - System, + Developer, /// /// /// - User, + System, /// /// /// - Assistant, + Tool, /// /// /// - Tool, + User, } /// @@ -42,11 +42,11 @@ public static string ToValueString(this ChatCompletionStreamResponseDeltaRole va { return value switch { + ChatCompletionStreamResponseDeltaRole.Assistant => "assistant", ChatCompletionStreamResponseDeltaRole.Developer => "developer", ChatCompletionStreamResponseDeltaRole.System => "system", - ChatCompletionStreamResponseDeltaRole.User => "user", - ChatCompletionStreamResponseDeltaRole.Assistant => "assistant", ChatCompletionStreamResponseDeltaRole.Tool => "tool", + ChatCompletionStreamResponseDeltaRole.User => "user", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -57,11 +57,11 @@ public static string ToValueString(this ChatCompletionStreamResponseDeltaRole va { return value switch { + "assistant" => ChatCompletionStreamResponseDeltaRole.Assistant, "developer" => ChatCompletionStreamResponseDeltaRole.Developer, "system" => ChatCompletionStreamResponseDeltaRole.System, - "user" => ChatCompletionStreamResponseDeltaRole.User, - "assistant" => ChatCompletionStreamResponseDeltaRole.Assistant, "tool" => ChatCompletionStreamResponseDeltaRole.Tool, + "user" => ChatCompletionStreamResponseDeltaRole.User, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionToolChoiceOptionEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionToolChoiceOptionEnum.g.cs index 46de8075..0e09bcdd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionToolChoiceOptionEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionToolChoiceOptionEnum.g.cs @@ -11,11 +11,11 @@ public enum ChatCompletionToolChoiceOptionEnum /// /// /// - None, + Auto, /// /// /// - Auto, + None, /// /// /// @@ -34,8 +34,8 @@ public static string ToValueString(this ChatCompletionToolChoiceOptionEnum value { return value switch { - ChatCompletionToolChoiceOptionEnum.None => "none", ChatCompletionToolChoiceOptionEnum.Auto => "auto", + ChatCompletionToolChoiceOptionEnum.None => "none", ChatCompletionToolChoiceOptionEnum.Required => "required", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -47,8 +47,8 @@ public static string ToValueString(this ChatCompletionToolChoiceOptionEnum value { return value switch { - "none" => ChatCompletionToolChoiceOptionEnum.None, "auto" => ChatCompletionToolChoiceOptionEnum.Auto, + "none" => ChatCompletionToolChoiceOptionEnum.None, "required" => ChatCompletionToolChoiceOptionEnum.Required, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionStatus.g.cs index 889f79f8..52308e53 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionStatus.g.cs @@ -15,11 +15,11 @@ public enum ChatSessionStatus /// /// /// - Expired, + Cancelled, /// /// /// - Cancelled, + Expired, } /// @@ -35,8 +35,8 @@ public static string ToValueString(this ChatSessionStatus value) return value switch { ChatSessionStatus.Active => "active", - ChatSessionStatus.Expired => "expired", ChatSessionStatus.Cancelled => "cancelled", + ChatSessionStatus.Expired => "expired", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -48,8 +48,8 @@ public static string ToValueString(this ChatSessionStatus value) return value switch { "active" => ChatSessionStatus.Active, - "expired" => ChatSessionStatus.Expired, "cancelled" => ChatSessionStatus.Cancelled, + "expired" => ChatSessionStatus.Expired, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClickButtonType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClickButtonType.g.cs index e0671dd8..6bbc7484 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClickButtonType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClickButtonType.g.cs @@ -11,23 +11,23 @@ public enum ClickButtonType /// /// /// - Left, + Back, /// /// /// - Right, + Forward, /// /// /// - Wheel, + Left, /// /// /// - Back, + Right, /// /// /// - Forward, + Wheel, } /// @@ -42,11 +42,11 @@ public static string ToValueString(this ClickButtonType value) { return value switch { + ClickButtonType.Back => "back", + ClickButtonType.Forward => "forward", ClickButtonType.Left => "left", ClickButtonType.Right => "right", ClickButtonType.Wheel => "wheel", - ClickButtonType.Back => "back", - ClickButtonType.Forward => "forward", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -57,11 +57,11 @@ public static string ToValueString(this ClickButtonType value) { return value switch { + "back" => ClickButtonType.Back, + "forward" => ClickButtonType.Forward, "left" => ClickButtonType.Left, "right" => ClickButtonType.Right, "wheel" => ClickButtonType.Wheel, - "back" => ClickButtonType.Back, - "forward" => ClickButtonType.Forward, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallStatus.g.cs index 296934cc..6f98bd72 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallStatus.g.cs @@ -11,11 +11,11 @@ public enum ClientToolCallStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ClientToolCallStatus value) { return value switch { - ClientToolCallStatus.InProgress => "in_progress", ClientToolCallStatus.Completed => "completed", + ClientToolCallStatus.InProgress => "in_progress", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ClientToolCallStatus value) { return value switch { - "in_progress" => ClientToolCallStatus.InProgress, "completed" => ClientToolCallStatus.Completed, + "in_progress" => ClientToolCallStatus.InProgress, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallStatus.g.cs index a9ad0770..82328e0c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallStatus.g.cs @@ -11,23 +11,23 @@ public enum CodeInterpreterToolCallStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + Failed, /// /// /// - Incomplete, + InProgress, /// /// /// - Interpreting, + Incomplete, /// /// /// - Failed, + Interpreting, } /// @@ -42,11 +42,11 @@ public static string ToValueString(this CodeInterpreterToolCallStatus value) { return value switch { - CodeInterpreterToolCallStatus.InProgress => "in_progress", CodeInterpreterToolCallStatus.Completed => "completed", + CodeInterpreterToolCallStatus.Failed => "failed", + CodeInterpreterToolCallStatus.InProgress => "in_progress", CodeInterpreterToolCallStatus.Incomplete => "incomplete", CodeInterpreterToolCallStatus.Interpreting => "interpreting", - CodeInterpreterToolCallStatus.Failed => "failed", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -57,11 +57,11 @@ public static string ToValueString(this CodeInterpreterToolCallStatus value) { return value switch { - "in_progress" => CodeInterpreterToolCallStatus.InProgress, "completed" => CodeInterpreterToolCallStatus.Completed, + "failed" => CodeInterpreterToolCallStatus.Failed, + "in_progress" => CodeInterpreterToolCallStatus.InProgress, "incomplete" => CodeInterpreterToolCallStatus.Incomplete, "interpreting" => CodeInterpreterToolCallStatus.Interpreting, - "failed" => CodeInterpreterToolCallStatus.Failed, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComparisonFilterType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComparisonFilterType.g.cs index b69f54c2..909c036d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComparisonFilterType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComparisonFilterType.g.cs @@ -24,15 +24,15 @@ public enum ComparisonFilterType /// /// `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`. /// - Ne, + Gt, /// /// `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`. /// - Gt, + Gte, /// /// `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`. /// - Gte, + In, /// /// `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`. /// @@ -44,7 +44,7 @@ public enum ComparisonFilterType /// /// `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`. /// - In, + Ne, /// /// `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`. /// @@ -64,12 +64,12 @@ public static string ToValueString(this ComparisonFilterType value) return value switch { ComparisonFilterType.Eq => "eq", - ComparisonFilterType.Ne => "ne", ComparisonFilterType.Gt => "gt", ComparisonFilterType.Gte => "gte", + ComparisonFilterType.In => "in", ComparisonFilterType.Lt => "lt", ComparisonFilterType.Lte => "lte", - ComparisonFilterType.In => "in", + ComparisonFilterType.Ne => "ne", ComparisonFilterType.Nin => "nin", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -82,12 +82,12 @@ public static string ToValueString(this ComparisonFilterType value) return value switch { "eq" => ComparisonFilterType.Eq, - "ne" => ComparisonFilterType.Ne, "gt" => ComparisonFilterType.Gt, "gte" => ComparisonFilterType.Gte, + "in" => ComparisonFilterType.In, "lt" => ComparisonFilterType.Lt, "lte" => ComparisonFilterType.Lte, - "in" => ComparisonFilterType.In, + "ne" => ComparisonFilterType.Ne, "nin" => ComparisonFilterType.Nin, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerEnvironment.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerEnvironment.g.cs index 388d18df..2404c09a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerEnvironment.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerEnvironment.g.cs @@ -11,15 +11,15 @@ public enum ComputerEnvironment /// /// /// - Windows, + Browser, /// /// /// - Mac, + Linux, /// /// /// - Linux, + Mac, /// /// /// @@ -27,7 +27,7 @@ public enum ComputerEnvironment /// /// /// - Browser, + Windows, } /// @@ -42,11 +42,11 @@ public static string ToValueString(this ComputerEnvironment value) { return value switch { - ComputerEnvironment.Windows => "windows", - ComputerEnvironment.Mac => "mac", + ComputerEnvironment.Browser => "browser", ComputerEnvironment.Linux => "linux", + ComputerEnvironment.Mac => "mac", ComputerEnvironment.Ubuntu => "ubuntu", - ComputerEnvironment.Browser => "browser", + ComputerEnvironment.Windows => "windows", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -57,11 +57,11 @@ public static string ToValueString(this ComputerEnvironment value) { return value switch { - "windows" => ComputerEnvironment.Windows, - "mac" => ComputerEnvironment.Mac, + "browser" => ComputerEnvironment.Browser, "linux" => ComputerEnvironment.Linux, + "mac" => ComputerEnvironment.Mac, "ubuntu" => ComputerEnvironment.Ubuntu, - "browser" => ComputerEnvironment.Browser, + "windows" => ComputerEnvironment.Windows, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallOutputStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallOutputStatus.g.cs index b60a395b..4a2beaca 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallOutputStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallOutputStatus.g.cs @@ -12,11 +12,11 @@ public enum ComputerToolCallOutputStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -35,8 +35,8 @@ public static string ToValueString(this ComputerToolCallOutputStatus value) { return value switch { - ComputerToolCallOutputStatus.InProgress => "in_progress", ComputerToolCallOutputStatus.Completed => "completed", + ComputerToolCallOutputStatus.InProgress => "in_progress", ComputerToolCallOutputStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -48,8 +48,8 @@ public static string ToValueString(this ComputerToolCallOutputStatus value) { return value switch { - "in_progress" => ComputerToolCallOutputStatus.InProgress, "completed" => ComputerToolCallOutputStatus.Completed, + "in_progress" => ComputerToolCallOutputStatus.InProgress, "incomplete" => ComputerToolCallOutputStatus.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallStatus.g.cs index c273c7f5..746d8e49 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallStatus.g.cs @@ -12,11 +12,11 @@ public enum ComputerToolCallStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -35,8 +35,8 @@ public static string ToValueString(this ComputerToolCallStatus value) { return value switch { - ComputerToolCallStatus.InProgress => "in_progress", ComputerToolCallStatus.Completed => "completed", + ComputerToolCallStatus.InProgress => "in_progress", ComputerToolCallStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -48,8 +48,8 @@ public static string ToValueString(this ComputerToolCallStatus value) { return value switch { - "in_progress" => ComputerToolCallStatus.InProgress, "completed" => ComputerToolCallStatus.Completed, + "in_progress" => ComputerToolCallStatus.InProgress, "incomplete" => ComputerToolCallStatus.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerMemoryLimit.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerMemoryLimit.g.cs index 60f91ed5..87666091 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerMemoryLimit.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerMemoryLimit.g.cs @@ -11,15 +11,15 @@ public enum ContainerMemoryLimit /// /// /// - x1g, + x16g, /// /// /// - x4g, + x1g, /// /// /// - x16g, + x4g, /// /// /// @@ -38,9 +38,9 @@ public static string ToValueString(this ContainerMemoryLimit value) { return value switch { + ContainerMemoryLimit.x16g => "16g", ContainerMemoryLimit.x1g => "1g", ContainerMemoryLimit.x4g => "4g", - ContainerMemoryLimit.x16g => "16g", ContainerMemoryLimit.x64g => "64g", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -52,9 +52,9 @@ public static string ToValueString(this ContainerMemoryLimit value) { return value switch { + "16g" => ContainerMemoryLimit.x16g, "1g" => ContainerMemoryLimit.x1g, "4g" => ContainerMemoryLimit.x4g, - "16g" => ContainerMemoryLimit.x16g, "64g" => ContainerMemoryLimit.x64g, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerResourceMemoryLimit.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerResourceMemoryLimit.g.cs index bb7d6fe8..1791dd58 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerResourceMemoryLimit.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerResourceMemoryLimit.g.cs @@ -11,15 +11,15 @@ public enum ContainerResourceMemoryLimit /// /// /// - x1g, + x16g, /// /// /// - x4g, + x1g, /// /// /// - x16g, + x4g, /// /// /// @@ -38,9 +38,9 @@ public static string ToValueString(this ContainerResourceMemoryLimit value) { return value switch { + ContainerResourceMemoryLimit.x16g => "16g", ContainerResourceMemoryLimit.x1g => "1g", ContainerResourceMemoryLimit.x4g => "4g", - ContainerResourceMemoryLimit.x16g => "16g", ContainerResourceMemoryLimit.x64g => "64g", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -52,9 +52,9 @@ public static string ToValueString(this ContainerResourceMemoryLimit value) { return value switch { + "16g" => ContainerResourceMemoryLimit.x16g, "1g" => ContainerResourceMemoryLimit.x1g, "4g" => ContainerResourceMemoryLimit.x4g, - "16g" => ContainerResourceMemoryLimit.x16g, "64g" => ContainerResourceMemoryLimit.x64g, _ => null, }; 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 3f8d1545..e13556f5 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,11 +11,11 @@ public enum CreateBatchRequestEndpoint /// /// /// - V1Responses, + V1ChatCompletions, /// /// /// - V1ChatCompletions, + V1Completions, /// /// /// @@ -23,19 +23,19 @@ public enum CreateBatchRequestEndpoint /// /// /// - V1Completions, + V1ImagesEdits, /// /// /// - V1Moderations, + V1ImagesGenerations, /// /// /// - V1ImagesGenerations, + V1Moderations, /// /// /// - V1ImagesEdits, + V1Responses, /// /// /// @@ -54,13 +54,13 @@ public static string ToValueString(this CreateBatchRequestEndpoint value) { return value switch { - CreateBatchRequestEndpoint.V1Responses => "/v1/responses", CreateBatchRequestEndpoint.V1ChatCompletions => "/v1/chat/completions", - CreateBatchRequestEndpoint.V1Embeddings => "/v1/embeddings", CreateBatchRequestEndpoint.V1Completions => "/v1/completions", - CreateBatchRequestEndpoint.V1Moderations => "/v1/moderations", - CreateBatchRequestEndpoint.V1ImagesGenerations => "/v1/images/generations", + 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", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -72,13 +72,13 @@ public static string ToValueString(this CreateBatchRequestEndpoint value) { return value switch { - "/v1/responses" => CreateBatchRequestEndpoint.V1Responses, "/v1/chat/completions" => CreateBatchRequestEndpoint.V1ChatCompletions, - "/v1/embeddings" => CreateBatchRequestEndpoint.V1Embeddings, "/v1/completions" => CreateBatchRequestEndpoint.V1Completions, - "/v1/moderations" => CreateBatchRequestEndpoint.V1Moderations, - "/v1/images/generations" => CreateBatchRequestEndpoint.V1ImagesGenerations, + "/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, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2AudioFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2AudioFormat.g.cs index 65562bfd..737707fe 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2AudioFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2AudioFormat.g.cs @@ -12,11 +12,11 @@ public enum CreateChatCompletionRequestVariant2AudioFormat /// /// /// - Wav, + Aac, /// /// /// - Aac, + Flac, /// /// /// @@ -24,15 +24,15 @@ public enum CreateChatCompletionRequestVariant2AudioFormat /// /// /// - Flac, + Opus, /// /// /// - Opus, + Pcm16, /// /// /// - Pcm16, + Wav, } /// @@ -47,12 +47,12 @@ public static string ToValueString(this CreateChatCompletionRequestVariant2Audio { return value switch { - CreateChatCompletionRequestVariant2AudioFormat.Wav => "wav", CreateChatCompletionRequestVariant2AudioFormat.Aac => "aac", - CreateChatCompletionRequestVariant2AudioFormat.Mp3 => "mp3", CreateChatCompletionRequestVariant2AudioFormat.Flac => "flac", + CreateChatCompletionRequestVariant2AudioFormat.Mp3 => "mp3", CreateChatCompletionRequestVariant2AudioFormat.Opus => "opus", CreateChatCompletionRequestVariant2AudioFormat.Pcm16 => "pcm16", + CreateChatCompletionRequestVariant2AudioFormat.Wav => "wav", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -63,12 +63,12 @@ public static string ToValueString(this CreateChatCompletionRequestVariant2Audio { return value switch { - "wav" => CreateChatCompletionRequestVariant2AudioFormat.Wav, "aac" => CreateChatCompletionRequestVariant2AudioFormat.Aac, - "mp3" => CreateChatCompletionRequestVariant2AudioFormat.Mp3, "flac" => CreateChatCompletionRequestVariant2AudioFormat.Flac, + "mp3" => CreateChatCompletionRequestVariant2AudioFormat.Mp3, "opus" => CreateChatCompletionRequestVariant2AudioFormat.Opus, "pcm16" => CreateChatCompletionRequestVariant2AudioFormat.Pcm16, + "wav" => CreateChatCompletionRequestVariant2AudioFormat.Wav, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2FunctionCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2FunctionCall.g.cs index 34057672..c956ed92 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2FunctionCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2FunctionCall.g.cs @@ -11,11 +11,11 @@ public enum CreateChatCompletionRequestVariant2FunctionCall /// /// /// - None, + Auto, /// /// /// - Auto, + None, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this CreateChatCompletionRequestVariant2Funct { return value switch { - CreateChatCompletionRequestVariant2FunctionCall.None => "none", CreateChatCompletionRequestVariant2FunctionCall.Auto => "auto", + CreateChatCompletionRequestVariant2FunctionCall.None => "none", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this CreateChatCompletionRequestVariant2Funct { return value switch { - "none" => CreateChatCompletionRequestVariant2FunctionCall.None, "auto" => CreateChatCompletionRequestVariant2FunctionCall.Auto, + "none" => CreateChatCompletionRequestVariant2FunctionCall.None, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionResponseChoiceFinishReason.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionResponseChoiceFinishReason.g.cs index 99c5b426..87220419 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionResponseChoiceFinishReason.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionResponseChoiceFinishReason.g.cs @@ -14,23 +14,23 @@ public enum CreateChatCompletionResponseChoiceFinishReason /// /// /// - Stop, + ContentFilter, /// /// /// - Length, + FunctionCall, /// /// /// - ToolCalls, + Length, /// /// /// - ContentFilter, + Stop, /// /// /// - FunctionCall, + ToolCalls, } /// @@ -45,11 +45,11 @@ public static string ToValueString(this CreateChatCompletionResponseChoiceFinish { return value switch { - CreateChatCompletionResponseChoiceFinishReason.Stop => "stop", - CreateChatCompletionResponseChoiceFinishReason.Length => "length", - CreateChatCompletionResponseChoiceFinishReason.ToolCalls => "tool_calls", CreateChatCompletionResponseChoiceFinishReason.ContentFilter => "content_filter", CreateChatCompletionResponseChoiceFinishReason.FunctionCall => "function_call", + CreateChatCompletionResponseChoiceFinishReason.Length => "length", + CreateChatCompletionResponseChoiceFinishReason.Stop => "stop", + CreateChatCompletionResponseChoiceFinishReason.ToolCalls => "tool_calls", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -60,11 +60,11 @@ public static string ToValueString(this CreateChatCompletionResponseChoiceFinish { return value switch { - "stop" => CreateChatCompletionResponseChoiceFinishReason.Stop, - "length" => CreateChatCompletionResponseChoiceFinishReason.Length, - "tool_calls" => CreateChatCompletionResponseChoiceFinishReason.ToolCalls, "content_filter" => CreateChatCompletionResponseChoiceFinishReason.ContentFilter, "function_call" => CreateChatCompletionResponseChoiceFinishReason.FunctionCall, + "length" => CreateChatCompletionResponseChoiceFinishReason.Length, + "stop" => CreateChatCompletionResponseChoiceFinishReason.Stop, + "tool_calls" => CreateChatCompletionResponseChoiceFinishReason.ToolCalls, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoiceFinishReason.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoiceFinishReason.g.cs index 52b816fb..8febea19 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoiceFinishReason.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoiceFinishReason.g.cs @@ -14,23 +14,23 @@ public enum CreateChatCompletionStreamResponseChoiceFinishReason /// /// /// - Stop, + ContentFilter, /// /// /// - Length, + FunctionCall, /// /// /// - ToolCalls, + Length, /// /// /// - ContentFilter, + Stop, /// /// /// - FunctionCall, + ToolCalls, } /// @@ -45,11 +45,11 @@ public static string ToValueString(this CreateChatCompletionStreamResponseChoice { return value switch { - CreateChatCompletionStreamResponseChoiceFinishReason.Stop => "stop", - CreateChatCompletionStreamResponseChoiceFinishReason.Length => "length", - CreateChatCompletionStreamResponseChoiceFinishReason.ToolCalls => "tool_calls", CreateChatCompletionStreamResponseChoiceFinishReason.ContentFilter => "content_filter", CreateChatCompletionStreamResponseChoiceFinishReason.FunctionCall => "function_call", + CreateChatCompletionStreamResponseChoiceFinishReason.Length => "length", + CreateChatCompletionStreamResponseChoiceFinishReason.Stop => "stop", + CreateChatCompletionStreamResponseChoiceFinishReason.ToolCalls => "tool_calls", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -60,11 +60,11 @@ public static string ToValueString(this CreateChatCompletionStreamResponseChoice { return value switch { - "stop" => CreateChatCompletionStreamResponseChoiceFinishReason.Stop, - "length" => CreateChatCompletionStreamResponseChoiceFinishReason.Length, - "tool_calls" => CreateChatCompletionStreamResponseChoiceFinishReason.ToolCalls, "content_filter" => CreateChatCompletionStreamResponseChoiceFinishReason.ContentFilter, "function_call" => CreateChatCompletionStreamResponseChoiceFinishReason.FunctionCall, + "length" => CreateChatCompletionStreamResponseChoiceFinishReason.Length, + "stop" => CreateChatCompletionStreamResponseChoiceFinishReason.Stop, + "tool_calls" => CreateChatCompletionStreamResponseChoiceFinishReason.ToolCalls, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionRequestModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionRequestModel.g.cs index fe4372ea..83e59fb9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionRequestModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionRequestModel.g.cs @@ -11,7 +11,7 @@ public enum CreateCompletionRequestModel /// /// /// - Gpt35TurboInstruct, + Babbage002, /// /// /// @@ -19,7 +19,7 @@ public enum CreateCompletionRequestModel /// /// /// - Babbage002, + Gpt35TurboInstruct, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this CreateCompletionRequestModel value) { return value switch { - CreateCompletionRequestModel.Gpt35TurboInstruct => "gpt-3.5-turbo-instruct", - CreateCompletionRequestModel.Davinci002 => "davinci-002", CreateCompletionRequestModel.Babbage002 => "babbage-002", + CreateCompletionRequestModel.Davinci002 => "davinci-002", + CreateCompletionRequestModel.Gpt35TurboInstruct => "gpt-3.5-turbo-instruct", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this CreateCompletionRequestModel value) { return value switch { - "gpt-3.5-turbo-instruct" => CreateCompletionRequestModel.Gpt35TurboInstruct, - "davinci-002" => CreateCompletionRequestModel.Davinci002, "babbage-002" => CreateCompletionRequestModel.Babbage002, + "davinci-002" => CreateCompletionRequestModel.Davinci002, + "gpt-3.5-turbo-instruct" => CreateCompletionRequestModel.Gpt35TurboInstruct, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionResponseChoiceFinishReason.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionResponseChoiceFinishReason.g.cs index 565ba9a4..8e6a5672 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionResponseChoiceFinishReason.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionResponseChoiceFinishReason.g.cs @@ -13,7 +13,7 @@ public enum CreateCompletionResponseChoiceFinishReason /// /// /// - Stop, + ContentFilter, /// /// /// @@ -21,7 +21,7 @@ public enum CreateCompletionResponseChoiceFinishReason /// /// /// - ContentFilter, + Stop, } /// @@ -36,9 +36,9 @@ public static string ToValueString(this CreateCompletionResponseChoiceFinishReas { return value switch { - CreateCompletionResponseChoiceFinishReason.Stop => "stop", - CreateCompletionResponseChoiceFinishReason.Length => "length", CreateCompletionResponseChoiceFinishReason.ContentFilter => "content_filter", + CreateCompletionResponseChoiceFinishReason.Length => "length", + CreateCompletionResponseChoiceFinishReason.Stop => "stop", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -49,9 +49,9 @@ public static string ToValueString(this CreateCompletionResponseChoiceFinishReas { return value switch { - "stop" => CreateCompletionResponseChoiceFinishReason.Stop, - "length" => CreateCompletionResponseChoiceFinishReason.Length, "content_filter" => CreateCompletionResponseChoiceFinishReason.ContentFilter, + "length" => CreateCompletionResponseChoiceFinishReason.Length, + "stop" => CreateCompletionResponseChoiceFinishReason.Stop, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateContainerBodyMemoryLimit.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateContainerBodyMemoryLimit.g.cs index 395b2335..daa73573 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateContainerBodyMemoryLimit.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateContainerBodyMemoryLimit.g.cs @@ -11,15 +11,15 @@ public enum CreateContainerBodyMemoryLimit /// /// /// - x1g, + x16g, /// /// /// - x4g, + x1g, /// /// /// - x16g, + x4g, /// /// /// @@ -38,9 +38,9 @@ public static string ToValueString(this CreateContainerBodyMemoryLimit value) { return value switch { + CreateContainerBodyMemoryLimit.x16g => "16g", CreateContainerBodyMemoryLimit.x1g => "1g", CreateContainerBodyMemoryLimit.x4g => "4g", - CreateContainerBodyMemoryLimit.x16g => "16g", CreateContainerBodyMemoryLimit.x64g => "64g", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -52,9 +52,9 @@ public static string ToValueString(this CreateContainerBodyMemoryLimit value) { return value switch { + "16g" => CreateContainerBodyMemoryLimit.x16g, "1g" => CreateContainerBodyMemoryLimit.x1g, "4g" => CreateContainerBodyMemoryLimit.x4g, - "16g" => CreateContainerBodyMemoryLimit.x16g, "64g" => CreateContainerBodyMemoryLimit.x64g, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingRequestEncodingFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingRequestEncodingFormat.g.cs index 02f35fc2..2248aac5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingRequestEncodingFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingRequestEncodingFormat.g.cs @@ -13,11 +13,11 @@ public enum CreateEmbeddingRequestEncodingFormat /// /// //pypi.org/project/pybase64/). /// - Float, + Base64, /// /// //pypi.org/project/pybase64/). /// - Base64, + Float, } /// @@ -32,8 +32,8 @@ public static string ToValueString(this CreateEmbeddingRequestEncodingFormat val { return value switch { - CreateEmbeddingRequestEncodingFormat.Float => "float", CreateEmbeddingRequestEncodingFormat.Base64 => "base64", + CreateEmbeddingRequestEncodingFormat.Float => "float", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -44,8 +44,8 @@ public static string ToValueString(this CreateEmbeddingRequestEncodingFormat val { return value switch { - "float" => CreateEmbeddingRequestEncodingFormat.Float, "base64" => CreateEmbeddingRequestEncodingFormat.Base64, + "float" => CreateEmbeddingRequestEncodingFormat.Float, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingRequestModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingRequestModel.g.cs index 03503496..8214941d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingRequestModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingRequestModel.g.cs @@ -11,7 +11,7 @@ public enum CreateEmbeddingRequestModel /// /// /// - TextEmbeddingAda002, + TextEmbedding3Large, /// /// /// @@ -19,7 +19,7 @@ public enum CreateEmbeddingRequestModel /// /// /// - TextEmbedding3Large, + TextEmbeddingAda002, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this CreateEmbeddingRequestModel value) { return value switch { - CreateEmbeddingRequestModel.TextEmbeddingAda002 => "text-embedding-ada-002", - CreateEmbeddingRequestModel.TextEmbedding3Small => "text-embedding-3-small", CreateEmbeddingRequestModel.TextEmbedding3Large => "text-embedding-3-large", + CreateEmbeddingRequestModel.TextEmbedding3Small => "text-embedding-3-small", + CreateEmbeddingRequestModel.TextEmbeddingAda002 => "text-embedding-ada-002", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this CreateEmbeddingRequestModel value) { return value switch { - "text-embedding-ada-002" => CreateEmbeddingRequestModel.TextEmbeddingAda002, - "text-embedding-3-small" => CreateEmbeddingRequestModel.TextEmbedding3Small, "text-embedding-3-large" => CreateEmbeddingRequestModel.TextEmbedding3Large, + "text-embedding-3-small" => CreateEmbeddingRequestModel.TextEmbedding3Small, + "text-embedding-ada-002" => CreateEmbeddingRequestModel.TextEmbeddingAda002, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateFileRequestPurpose.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateFileRequestPurpose.g.cs index 41444f11..3b709efb 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateFileRequestPurpose.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateFileRequestPurpose.g.cs @@ -23,21 +23,21 @@ public enum CreateFileRequestPurpose /// Batch, /// - /// Used for fine-tuning + /// Used for eval data sets /// - FineTune, + Evals, /// - /// Images used for vision fine-tuning + /// Used for fine-tuning /// - Vision, + FineTune, /// /// Flexible file type for any purpose /// UserData, /// - /// Used for eval data sets + /// Images used for vision fine-tuning /// - Evals, + Vision, } /// @@ -54,10 +54,10 @@ public static string ToValueString(this CreateFileRequestPurpose value) { CreateFileRequestPurpose.Assistants => "assistants", CreateFileRequestPurpose.Batch => "batch", + CreateFileRequestPurpose.Evals => "evals", CreateFileRequestPurpose.FineTune => "fine-tune", - CreateFileRequestPurpose.Vision => "vision", CreateFileRequestPurpose.UserData => "user_data", - CreateFileRequestPurpose.Evals => "evals", + CreateFileRequestPurpose.Vision => "vision", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -70,10 +70,10 @@ public static string ToValueString(this CreateFileRequestPurpose value) { "assistants" => CreateFileRequestPurpose.Assistants, "batch" => CreateFileRequestPurpose.Batch, + "evals" => CreateFileRequestPurpose.Evals, "fine-tune" => CreateFileRequestPurpose.FineTune, - "vision" => CreateFileRequestPurpose.Vision, "user_data" => CreateFileRequestPurpose.UserData, - "evals" => CreateFileRequestPurpose.Evals, + "vision" => CreateFileRequestPurpose.Vision, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestBackground.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestBackground.g.cs index 3b0a6006..d469f778 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestBackground.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestBackground.g.cs @@ -18,7 +18,7 @@ public enum CreateImageEditRequestBackground /// /// /// - Transparent, + Auto, /// /// /// @@ -26,7 +26,7 @@ public enum CreateImageEditRequestBackground /// /// /// - Auto, + Transparent, } /// @@ -41,9 +41,9 @@ public static string ToValueString(this CreateImageEditRequestBackground value) { return value switch { - CreateImageEditRequestBackground.Transparent => "transparent", - CreateImageEditRequestBackground.Opaque => "opaque", CreateImageEditRequestBackground.Auto => "auto", + CreateImageEditRequestBackground.Opaque => "opaque", + CreateImageEditRequestBackground.Transparent => "transparent", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -54,9 +54,9 @@ public static string ToValueString(this CreateImageEditRequestBackground value) { return value switch { - "transparent" => CreateImageEditRequestBackground.Transparent, - "opaque" => CreateImageEditRequestBackground.Opaque, "auto" => CreateImageEditRequestBackground.Auto, + "opaque" => CreateImageEditRequestBackground.Opaque, + "transparent" => CreateImageEditRequestBackground.Transparent, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestModel.g.cs index 486baf56..d8419eed 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestModel.g.cs @@ -11,7 +11,7 @@ public enum CreateImageEditRequestModel /// /// /// - GptImage15, + ChatgptImageLatest, /// /// /// @@ -27,7 +27,7 @@ public enum CreateImageEditRequestModel /// /// /// - ChatgptImageLatest, + GptImage15, } /// @@ -42,11 +42,11 @@ public static string ToValueString(this CreateImageEditRequestModel value) { return value switch { - CreateImageEditRequestModel.GptImage15 => "gpt-image-1.5", + CreateImageEditRequestModel.ChatgptImageLatest => "chatgpt-image-latest", CreateImageEditRequestModel.DallE2 => "dall-e-2", CreateImageEditRequestModel.GptImage1 => "gpt-image-1", CreateImageEditRequestModel.GptImage1Mini => "gpt-image-1-mini", - CreateImageEditRequestModel.ChatgptImageLatest => "chatgpt-image-latest", + CreateImageEditRequestModel.GptImage15 => "gpt-image-1.5", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -57,11 +57,11 @@ public static string ToValueString(this CreateImageEditRequestModel value) { return value switch { - "gpt-image-1.5" => CreateImageEditRequestModel.GptImage15, + "chatgpt-image-latest" => CreateImageEditRequestModel.ChatgptImageLatest, "dall-e-2" => CreateImageEditRequestModel.DallE2, "gpt-image-1" => CreateImageEditRequestModel.GptImage1, "gpt-image-1-mini" => CreateImageEditRequestModel.GptImage1Mini, - "chatgpt-image-latest" => CreateImageEditRequestModel.ChatgptImageLatest, + "gpt-image-1.5" => CreateImageEditRequestModel.GptImage15, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestOutputFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestOutputFormat.g.cs index ecc70fc3..bdf6daf3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestOutputFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestOutputFormat.g.cs @@ -15,11 +15,11 @@ public enum CreateImageEditRequestOutputFormat /// /// /// - Png, + Jpeg, /// /// /// - Jpeg, + Png, /// /// /// @@ -38,8 +38,8 @@ public static string ToValueString(this CreateImageEditRequestOutputFormat value { return value switch { - CreateImageEditRequestOutputFormat.Png => "png", CreateImageEditRequestOutputFormat.Jpeg => "jpeg", + CreateImageEditRequestOutputFormat.Png => "png", CreateImageEditRequestOutputFormat.Webp => "webp", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -51,8 +51,8 @@ public static string ToValueString(this CreateImageEditRequestOutputFormat value { return value switch { - "png" => CreateImageEditRequestOutputFormat.Png, "jpeg" => CreateImageEditRequestOutputFormat.Jpeg, + "png" => CreateImageEditRequestOutputFormat.Png, "webp" => CreateImageEditRequestOutputFormat.Webp, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestQuality.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestQuality.g.cs index c2adbbbd..7dee534b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestQuality.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestQuality.g.cs @@ -13,23 +13,23 @@ public enum CreateImageEditRequestQuality /// /// /// - Standard, + Auto, /// /// /// - Low, + High, /// /// /// - Medium, + Low, /// /// /// - High, + Medium, /// /// /// - Auto, + Standard, } /// @@ -44,11 +44,11 @@ public static string ToValueString(this CreateImageEditRequestQuality value) { return value switch { - CreateImageEditRequestQuality.Standard => "standard", + CreateImageEditRequestQuality.Auto => "auto", + CreateImageEditRequestQuality.High => "high", CreateImageEditRequestQuality.Low => "low", CreateImageEditRequestQuality.Medium => "medium", - CreateImageEditRequestQuality.High => "high", - CreateImageEditRequestQuality.Auto => "auto", + CreateImageEditRequestQuality.Standard => "standard", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -59,11 +59,11 @@ public static string ToValueString(this CreateImageEditRequestQuality value) { return value switch { - "standard" => CreateImageEditRequestQuality.Standard, + "auto" => CreateImageEditRequestQuality.Auto, + "high" => CreateImageEditRequestQuality.High, "low" => CreateImageEditRequestQuality.Low, "medium" => CreateImageEditRequestQuality.Medium, - "high" => CreateImageEditRequestQuality.High, - "auto" => CreateImageEditRequestQuality.Auto, + "standard" => CreateImageEditRequestQuality.Standard, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestResponseFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestResponseFormat.g.cs index 05517b3d..aee5f615 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestResponseFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestResponseFormat.g.cs @@ -12,11 +12,11 @@ public enum CreateImageEditRequestResponseFormat /// /// /// - Url, + B64Json, /// /// /// - B64Json, + Url, } /// @@ -31,8 +31,8 @@ public static string ToValueString(this CreateImageEditRequestResponseFormat val { return value switch { - CreateImageEditRequestResponseFormat.Url => "url", CreateImageEditRequestResponseFormat.B64Json => "b64_json", + CreateImageEditRequestResponseFormat.Url => "url", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -43,8 +43,8 @@ public static string ToValueString(this CreateImageEditRequestResponseFormat val { return value switch { - "url" => CreateImageEditRequestResponseFormat.Url, "b64_json" => CreateImageEditRequestResponseFormat.B64Json, + "url" => CreateImageEditRequestResponseFormat.Url, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestSize.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestSize.g.cs index 06101309..d35b7b3f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestSize.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageEditRequestSize.g.cs @@ -13,23 +13,23 @@ public enum CreateImageEditRequestSize /// /// /// - x256x256, + x1024x1024, /// /// /// - x512x512, + x1024x1536, /// /// /// - x1024x1024, + x1536x1024, /// /// /// - x1536x1024, + x256x256, /// /// /// - x1024x1536, + x512x512, /// /// /// @@ -48,11 +48,11 @@ public static string ToValueString(this CreateImageEditRequestSize value) { return value switch { - CreateImageEditRequestSize.x256x256 => "256x256", - CreateImageEditRequestSize.x512x512 => "512x512", CreateImageEditRequestSize.x1024x1024 => "1024x1024", - CreateImageEditRequestSize.x1536x1024 => "1536x1024", CreateImageEditRequestSize.x1024x1536 => "1024x1536", + CreateImageEditRequestSize.x1536x1024 => "1536x1024", + CreateImageEditRequestSize.x256x256 => "256x256", + CreateImageEditRequestSize.x512x512 => "512x512", CreateImageEditRequestSize.Auto => "auto", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -64,11 +64,11 @@ public static string ToValueString(this CreateImageEditRequestSize value) { return value switch { - "256x256" => CreateImageEditRequestSize.x256x256, - "512x512" => CreateImageEditRequestSize.x512x512, "1024x1024" => CreateImageEditRequestSize.x1024x1024, - "1536x1024" => CreateImageEditRequestSize.x1536x1024, "1024x1536" => CreateImageEditRequestSize.x1024x1536, + "1536x1024" => CreateImageEditRequestSize.x1536x1024, + "256x256" => CreateImageEditRequestSize.x256x256, + "512x512" => CreateImageEditRequestSize.x512x512, "auto" => CreateImageEditRequestSize.Auto, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestBackground.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestBackground.g.cs index 1f52a243..8d5ac089 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestBackground.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestBackground.g.cs @@ -18,7 +18,7 @@ public enum CreateImageRequestBackground /// /// /// - Transparent, + Auto, /// /// /// @@ -26,7 +26,7 @@ public enum CreateImageRequestBackground /// /// /// - Auto, + Transparent, } /// @@ -41,9 +41,9 @@ public static string ToValueString(this CreateImageRequestBackground value) { return value switch { - CreateImageRequestBackground.Transparent => "transparent", - CreateImageRequestBackground.Opaque => "opaque", CreateImageRequestBackground.Auto => "auto", + CreateImageRequestBackground.Opaque => "opaque", + CreateImageRequestBackground.Transparent => "transparent", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -54,9 +54,9 @@ public static string ToValueString(this CreateImageRequestBackground value) { return value switch { - "transparent" => CreateImageRequestBackground.Transparent, - "opaque" => CreateImageRequestBackground.Opaque, "auto" => CreateImageRequestBackground.Auto, + "opaque" => CreateImageRequestBackground.Opaque, + "transparent" => CreateImageRequestBackground.Transparent, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestModel.g.cs index 1b098489..889574a9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestModel.g.cs @@ -8,10 +8,6 @@ namespace tryAGI.OpenAI /// public enum CreateImageRequestModel { - /// - /// - /// - GptImage15, /// /// /// @@ -28,6 +24,10 @@ public enum CreateImageRequestModel /// /// GptImage1Mini, + /// + /// + /// + GptImage15, } /// @@ -42,11 +42,11 @@ public static string ToValueString(this CreateImageRequestModel value) { return value switch { - CreateImageRequestModel.GptImage15 => "gpt-image-1.5", CreateImageRequestModel.DallE2 => "dall-e-2", CreateImageRequestModel.DallE3 => "dall-e-3", CreateImageRequestModel.GptImage1 => "gpt-image-1", CreateImageRequestModel.GptImage1Mini => "gpt-image-1-mini", + CreateImageRequestModel.GptImage15 => "gpt-image-1.5", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -57,11 +57,11 @@ public static string ToValueString(this CreateImageRequestModel value) { return value switch { - "gpt-image-1.5" => CreateImageRequestModel.GptImage15, "dall-e-2" => CreateImageRequestModel.DallE2, "dall-e-3" => CreateImageRequestModel.DallE3, "gpt-image-1" => CreateImageRequestModel.GptImage1, "gpt-image-1-mini" => CreateImageRequestModel.GptImage1Mini, + "gpt-image-1.5" => CreateImageRequestModel.GptImage15, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestModeration.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestModeration.g.cs index d7e02ca5..f560f614 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestModeration.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestModeration.g.cs @@ -13,11 +13,11 @@ public enum CreateImageRequestModeration /// /// /// - Low, + Auto, /// /// /// - Auto, + Low, } /// @@ -32,8 +32,8 @@ public static string ToValueString(this CreateImageRequestModeration value) { return value switch { - CreateImageRequestModeration.Low => "low", CreateImageRequestModeration.Auto => "auto", + CreateImageRequestModeration.Low => "low", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -44,8 +44,8 @@ public static string ToValueString(this CreateImageRequestModeration value) { return value switch { - "low" => CreateImageRequestModeration.Low, "auto" => CreateImageRequestModeration.Auto, + "low" => CreateImageRequestModeration.Low, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestOutputFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestOutputFormat.g.cs index c17a2df7..e36aaaa8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestOutputFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestOutputFormat.g.cs @@ -13,11 +13,11 @@ public enum CreateImageRequestOutputFormat /// /// /// - Png, + Jpeg, /// /// /// - Jpeg, + Png, /// /// /// @@ -36,8 +36,8 @@ public static string ToValueString(this CreateImageRequestOutputFormat value) { return value switch { - CreateImageRequestOutputFormat.Png => "png", CreateImageRequestOutputFormat.Jpeg => "jpeg", + CreateImageRequestOutputFormat.Png => "png", CreateImageRequestOutputFormat.Webp => "webp", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -49,8 +49,8 @@ public static string ToValueString(this CreateImageRequestOutputFormat value) { return value switch { - "png" => CreateImageRequestOutputFormat.Png, "jpeg" => CreateImageRequestOutputFormat.Jpeg, + "png" => CreateImageRequestOutputFormat.Png, "webp" => CreateImageRequestOutputFormat.Webp, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestQuality.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestQuality.g.cs index 39e26556..a086d6ce 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestQuality.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestQuality.g.cs @@ -17,7 +17,7 @@ public enum CreateImageRequestQuality /// /// /// - Standard, + Auto, /// /// /// @@ -25,19 +25,19 @@ public enum CreateImageRequestQuality /// /// /// - Low, + High, /// /// /// - Medium, + Low, /// /// /// - High, + Medium, /// /// /// - Auto, + Standard, } /// @@ -52,12 +52,12 @@ public static string ToValueString(this CreateImageRequestQuality value) { return value switch { - CreateImageRequestQuality.Standard => "standard", + CreateImageRequestQuality.Auto => "auto", CreateImageRequestQuality.Hd => "hd", + CreateImageRequestQuality.High => "high", CreateImageRequestQuality.Low => "low", CreateImageRequestQuality.Medium => "medium", - CreateImageRequestQuality.High => "high", - CreateImageRequestQuality.Auto => "auto", + CreateImageRequestQuality.Standard => "standard", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -68,12 +68,12 @@ public static string ToValueString(this CreateImageRequestQuality value) { return value switch { - "standard" => CreateImageRequestQuality.Standard, + "auto" => CreateImageRequestQuality.Auto, "hd" => CreateImageRequestQuality.Hd, + "high" => CreateImageRequestQuality.High, "low" => CreateImageRequestQuality.Low, "medium" => CreateImageRequestQuality.Medium, - "high" => CreateImageRequestQuality.High, - "auto" => CreateImageRequestQuality.Auto, + "standard" => CreateImageRequestQuality.Standard, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestResponseFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestResponseFormat.g.cs index 63127c24..a50ec3df 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestResponseFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestResponseFormat.g.cs @@ -13,11 +13,11 @@ public enum CreateImageRequestResponseFormat /// /// /// - Url, + B64Json, /// /// /// - B64Json, + Url, } /// @@ -32,8 +32,8 @@ public static string ToValueString(this CreateImageRequestResponseFormat value) { return value switch { - CreateImageRequestResponseFormat.Url => "url", CreateImageRequestResponseFormat.B64Json => "b64_json", + CreateImageRequestResponseFormat.Url => "url", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -44,8 +44,8 @@ public static string ToValueString(this CreateImageRequestResponseFormat value) { return value switch { - "url" => CreateImageRequestResponseFormat.Url, "b64_json" => CreateImageRequestResponseFormat.B64Json, + "url" => CreateImageRequestResponseFormat.Url, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestSize.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestSize.g.cs index 09114807..4635185d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestSize.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestSize.g.cs @@ -13,35 +13,35 @@ public enum CreateImageRequestSize /// /// /// - Auto, + x1024x1024, /// /// /// - x1024x1024, + x1024x1536, /// /// /// - x1536x1024, + x1024x1792, /// /// /// - x1024x1536, + x1536x1024, /// /// /// - x256x256, + x1792x1024, /// /// /// - x512x512, + x256x256, /// /// /// - x1792x1024, + x512x512, /// /// /// - x1024x1792, + Auto, } /// @@ -56,14 +56,14 @@ public static string ToValueString(this CreateImageRequestSize value) { return value switch { - CreateImageRequestSize.Auto => "auto", CreateImageRequestSize.x1024x1024 => "1024x1024", - CreateImageRequestSize.x1536x1024 => "1536x1024", CreateImageRequestSize.x1024x1536 => "1024x1536", + CreateImageRequestSize.x1024x1792 => "1024x1792", + CreateImageRequestSize.x1536x1024 => "1536x1024", + CreateImageRequestSize.x1792x1024 => "1792x1024", CreateImageRequestSize.x256x256 => "256x256", CreateImageRequestSize.x512x512 => "512x512", - CreateImageRequestSize.x1792x1024 => "1792x1024", - CreateImageRequestSize.x1024x1792 => "1024x1792", + CreateImageRequestSize.Auto => "auto", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -74,14 +74,14 @@ public static string ToValueString(this CreateImageRequestSize value) { return value switch { - "auto" => CreateImageRequestSize.Auto, "1024x1024" => CreateImageRequestSize.x1024x1024, - "1536x1024" => CreateImageRequestSize.x1536x1024, "1024x1536" => CreateImageRequestSize.x1024x1536, + "1024x1792" => CreateImageRequestSize.x1024x1792, + "1536x1024" => CreateImageRequestSize.x1536x1024, + "1792x1024" => CreateImageRequestSize.x1792x1024, "256x256" => CreateImageRequestSize.x256x256, "512x512" => CreateImageRequestSize.x512x512, - "1792x1024" => CreateImageRequestSize.x1792x1024, - "1024x1792" => CreateImageRequestSize.x1024x1792, + "auto" => CreateImageRequestSize.Auto, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestStyle.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestStyle.g.cs index f4844dd8..52489ad1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestStyle.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageRequestStyle.g.cs @@ -13,11 +13,11 @@ public enum CreateImageRequestStyle /// /// /// - Vivid, + Natural, /// /// /// - Natural, + Vivid, } /// @@ -32,8 +32,8 @@ public static string ToValueString(this CreateImageRequestStyle value) { return value switch { - CreateImageRequestStyle.Vivid => "vivid", CreateImageRequestStyle.Natural => "natural", + CreateImageRequestStyle.Vivid => "vivid", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -44,8 +44,8 @@ public static string ToValueString(this CreateImageRequestStyle value) { return value switch { - "vivid" => CreateImageRequestStyle.Vivid, "natural" => CreateImageRequestStyle.Natural, + "vivid" => CreateImageRequestStyle.Vivid, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageVariationRequestResponseFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageVariationRequestResponseFormat.g.cs index 276df59e..cf149bb1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageVariationRequestResponseFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageVariationRequestResponseFormat.g.cs @@ -13,11 +13,11 @@ public enum CreateImageVariationRequestResponseFormat /// /// /// - Url, + B64Json, /// /// /// - B64Json, + Url, } /// @@ -32,8 +32,8 @@ public static string ToValueString(this CreateImageVariationRequestResponseForma { return value switch { - CreateImageVariationRequestResponseFormat.Url => "url", CreateImageVariationRequestResponseFormat.B64Json => "b64_json", + CreateImageVariationRequestResponseFormat.Url => "url", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -44,8 +44,8 @@ public static string ToValueString(this CreateImageVariationRequestResponseForma { return value switch { - "url" => CreateImageVariationRequestResponseFormat.Url, "b64_json" => CreateImageVariationRequestResponseFormat.B64Json, + "url" => CreateImageVariationRequestResponseFormat.Url, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageVariationRequestSize.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageVariationRequestSize.g.cs index 1c265b48..01f6846a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageVariationRequestSize.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateImageVariationRequestSize.g.cs @@ -13,15 +13,15 @@ public enum CreateImageVariationRequestSize /// /// /// - x256x256, + x1024x1024, /// /// /// - x512x512, + x256x256, /// /// /// - x1024x1024, + x512x512, } /// @@ -36,9 +36,9 @@ public static string ToValueString(this CreateImageVariationRequestSize value) { return value switch { + CreateImageVariationRequestSize.x1024x1024 => "1024x1024", CreateImageVariationRequestSize.x256x256 => "256x256", CreateImageVariationRequestSize.x512x512 => "512x512", - CreateImageVariationRequestSize.x1024x1024 => "1024x1024", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -49,9 +49,9 @@ public static string ToValueString(this CreateImageVariationRequestSize value) { return value switch { + "1024x1024" => CreateImageVariationRequestSize.x1024x1024, "256x256" => CreateImageVariationRequestSize.x256x256, "512x512" => CreateImageVariationRequestSize.x512x512, - "1024x1024" => CreateImageVariationRequestSize.x1024x1024, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateMessageRequestRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateMessageRequestRole.g.cs index cecf2b76..b67d9ded 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateMessageRequestRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateMessageRequestRole.g.cs @@ -10,14 +10,14 @@ namespace tryAGI.OpenAI /// public enum CreateMessageRequestRole { - /// - /// Indicates the message is sent by an actual user and should be used in most cases to represent user-generated messages. - /// - User, /// /// Indicates the message is generated by the assistant. Use this value to insert messages from the assistant into the conversation. /// Assistant, + /// + /// Indicates the message is sent by an actual user and should be used in most cases to represent user-generated messages. + /// + User, } /// @@ -32,8 +32,8 @@ public static string ToValueString(this CreateMessageRequestRole value) { return value switch { - CreateMessageRequestRole.User => "user", CreateMessageRequestRole.Assistant => "assistant", + CreateMessageRequestRole.User => "user", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -44,8 +44,8 @@ public static string ToValueString(this CreateMessageRequestRole value) { return value switch { - "user" => CreateMessageRequestRole.User, "assistant" => CreateMessageRequestRole.Assistant, + "user" => CreateMessageRequestRole.User, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestModel.g.cs index 5bf969df..94fa2f5b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestModel.g.cs @@ -11,11 +11,11 @@ public enum CreateModerationRequestModel /// /// /// - OmniModerationLatest, + OmniModeration20240926, /// /// /// - OmniModeration20240926, + OmniModerationLatest, /// /// /// @@ -38,8 +38,8 @@ public static string ToValueString(this CreateModerationRequestModel value) { return value switch { - CreateModerationRequestModel.OmniModerationLatest => "omni-moderation-latest", CreateModerationRequestModel.OmniModeration20240926 => "omni-moderation-2024-09-26", + CreateModerationRequestModel.OmniModerationLatest => "omni-moderation-latest", CreateModerationRequestModel.TextModerationLatest => "text-moderation-latest", CreateModerationRequestModel.TextModerationStable => "text-moderation-stable", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -52,8 +52,8 @@ public static string ToValueString(this CreateModerationRequestModel value) { return value switch { - "omni-moderation-latest" => CreateModerationRequestModel.OmniModerationLatest, "omni-moderation-2024-09-26" => CreateModerationRequestModel.OmniModeration20240926, + "omni-moderation-latest" => CreateModerationRequestModel.OmniModerationLatest, "text-moderation-latest" => CreateModerationRequestModel.TextModerationLatest, "text-moderation-stable" => CreateModerationRequestModel.TextModerationStable, _ => null, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction.g.cs index 2233bafc..26e64c89 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction.g.cs @@ -11,11 +11,11 @@ public enum CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstr /// /// /// - Text, + Image, /// /// /// - Image, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this CreateModerationResponseResultCategoryAp { return value switch { - CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction.Text => "text", CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction.Image => "image", + CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this CreateModerationResponseResultCategoryAp { return value switch { - "text" => CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction.Text, "image" => CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction.Image, + "text" => CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem.g.cs index 6b465610..2e23ecd1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem.g.cs @@ -11,11 +11,11 @@ public enum CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInten /// /// /// - Text, + Image, /// /// /// - Image, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this CreateModerationResponseResultCategoryAp { return value switch { - CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem.Text => "text", CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem.Image => "image", + CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this CreateModerationResponseResultCategoryAp { return value switch { - "text" => CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem.Text, "image" => CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem.Image, + "text" => CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem.g.cs index 1dd9faa1..0c864e85 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem.g.cs @@ -11,11 +11,11 @@ public enum CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem /// /// /// - Text, + Image, /// /// /// - Image, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this CreateModerationResponseResultCategoryAp { return value switch { - CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem.Text => "text", CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem.Image => "image", + CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this CreateModerationResponseResultCategoryAp { return value switch { - "text" => CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem.Text, "image" => CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem.Image, + "text" => CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSexualItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSexualItem.g.cs index 0ab56043..74253ce2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSexualItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesSexualItem.g.cs @@ -11,11 +11,11 @@ public enum CreateModerationResponseResultCategoryAppliedInputTypesSexualItem /// /// /// - Text, + Image, /// /// /// - Image, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this CreateModerationResponseResultCategoryAp { return value switch { - CreateModerationResponseResultCategoryAppliedInputTypesSexualItem.Text => "text", CreateModerationResponseResultCategoryAppliedInputTypesSexualItem.Image => "image", + CreateModerationResponseResultCategoryAppliedInputTypesSexualItem.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this CreateModerationResponseResultCategoryAp { return value switch { - "text" => CreateModerationResponseResultCategoryAppliedInputTypesSexualItem.Text, "image" => CreateModerationResponseResultCategoryAppliedInputTypesSexualItem.Image, + "text" => CreateModerationResponseResultCategoryAppliedInputTypesSexualItem.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem.g.cs index c4ce20ad..2e85c774 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem.g.cs @@ -11,11 +11,11 @@ public enum CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraph /// /// /// - Text, + Image, /// /// /// - Image, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this CreateModerationResponseResultCategoryAp { return value switch { - CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem.Text => "text", CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem.Image => "image", + CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this CreateModerationResponseResultCategoryAp { return value switch { - "text" => CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem.Text, "image" => CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem.Image, + "text" => CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem.g.cs index 15353c06..89542193 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem.g.cs @@ -11,11 +11,11 @@ public enum CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem /// /// /// - Text, + Image, /// /// /// - Image, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this CreateModerationResponseResultCategoryAp { return value switch { - CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem.Text => "text", CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem.Image => "image", + CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this CreateModerationResponseResultCategoryAp { return value switch { - "text" => CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem.Text, "image" => CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem.Image, + "text" => CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequestModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequestModel.g.cs index f3a0ddc2..87e7faa0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequestModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequestModel.g.cs @@ -11,19 +11,19 @@ public enum CreateSpeechRequestModel /// /// /// - Tts1, + Gpt4oMiniTts, /// /// /// - Tts1Hd, + Gpt4oMiniTts20251215, /// /// /// - Gpt4oMiniTts, + Tts1, /// /// /// - Gpt4oMiniTts20251215, + Tts1Hd, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this CreateSpeechRequestModel value) { return value switch { - CreateSpeechRequestModel.Tts1 => "tts-1", - CreateSpeechRequestModel.Tts1Hd => "tts-1-hd", CreateSpeechRequestModel.Gpt4oMiniTts => "gpt-4o-mini-tts", CreateSpeechRequestModel.Gpt4oMiniTts20251215 => "gpt-4o-mini-tts-2025-12-15", + CreateSpeechRequestModel.Tts1 => "tts-1", + CreateSpeechRequestModel.Tts1Hd => "tts-1-hd", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this CreateSpeechRequestModel value) { return value switch { - "tts-1" => CreateSpeechRequestModel.Tts1, - "tts-1-hd" => CreateSpeechRequestModel.Tts1Hd, "gpt-4o-mini-tts" => CreateSpeechRequestModel.Gpt4oMiniTts, "gpt-4o-mini-tts-2025-12-15" => CreateSpeechRequestModel.Gpt4oMiniTts20251215, + "tts-1" => CreateSpeechRequestModel.Tts1, + "tts-1-hd" => CreateSpeechRequestModel.Tts1Hd, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequestResponseFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequestResponseFormat.g.cs index f7018950..9864bea8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequestResponseFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequestResponseFormat.g.cs @@ -12,27 +12,27 @@ public enum CreateSpeechRequestResponseFormat /// /// /// - Mp3, + Aac, /// /// /// - Opus, + Flac, /// /// /// - Aac, + Mp3, /// /// /// - Flac, + Opus, /// /// /// - Wav, + Pcm, /// /// /// - Pcm, + Wav, } /// @@ -47,12 +47,12 @@ public static string ToValueString(this CreateSpeechRequestResponseFormat value) { return value switch { - CreateSpeechRequestResponseFormat.Mp3 => "mp3", - CreateSpeechRequestResponseFormat.Opus => "opus", CreateSpeechRequestResponseFormat.Aac => "aac", CreateSpeechRequestResponseFormat.Flac => "flac", - CreateSpeechRequestResponseFormat.Wav => "wav", + CreateSpeechRequestResponseFormat.Mp3 => "mp3", + CreateSpeechRequestResponseFormat.Opus => "opus", CreateSpeechRequestResponseFormat.Pcm => "pcm", + CreateSpeechRequestResponseFormat.Wav => "wav", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -63,12 +63,12 @@ public static string ToValueString(this CreateSpeechRequestResponseFormat value) { return value switch { - "mp3" => CreateSpeechRequestResponseFormat.Mp3, - "opus" => CreateSpeechRequestResponseFormat.Opus, "aac" => CreateSpeechRequestResponseFormat.Aac, "flac" => CreateSpeechRequestResponseFormat.Flac, - "wav" => CreateSpeechRequestResponseFormat.Wav, + "mp3" => CreateSpeechRequestResponseFormat.Mp3, + "opus" => CreateSpeechRequestResponseFormat.Opus, "pcm" => CreateSpeechRequestResponseFormat.Pcm, + "wav" => CreateSpeechRequestResponseFormat.Wav, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequestStreamFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequestStreamFormat.g.cs index ed2430f1..79171c36 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequestStreamFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequestStreamFormat.g.cs @@ -12,11 +12,11 @@ public enum CreateSpeechRequestStreamFormat /// /// /// - Sse, + Audio, /// /// /// - Audio, + Sse, } /// @@ -31,8 +31,8 @@ public static string ToValueString(this CreateSpeechRequestStreamFormat value) { return value switch { - CreateSpeechRequestStreamFormat.Sse => "sse", CreateSpeechRequestStreamFormat.Audio => "audio", + CreateSpeechRequestStreamFormat.Sse => "sse", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -43,8 +43,8 @@ public static string ToValueString(this CreateSpeechRequestStreamFormat value) { return value switch { - "sse" => CreateSpeechRequestStreamFormat.Sse, "audio" => CreateSpeechRequestStreamFormat.Audio, + "sse" => CreateSpeechRequestStreamFormat.Sse, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestModel.g.cs index 23f0363a..08136c0b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestModel.g.cs @@ -11,155 +11,155 @@ public enum CreateThreadAndRunRequestModel /// /// /// - Gpt5, + Gpt35Turbo, /// /// /// - Gpt5Mini, + Gpt35Turbo0125, /// /// /// - Gpt5Nano, + Gpt35Turbo0613, /// /// /// - Gpt520250807, + Gpt35Turbo1106, /// /// /// - Gpt5Mini20250807, + Gpt35Turbo16k, /// /// /// - Gpt5Nano20250807, + Gpt35Turbo16k0613, /// /// /// - Gpt41, + Gpt4, /// /// /// - Gpt41Mini, + Gpt40125Preview, /// /// /// - Gpt41Nano, + Gpt40314, /// /// /// - Gpt4120250414, + Gpt40613, /// /// /// - Gpt41Mini20250414, + Gpt41106Preview, /// /// /// - Gpt41Nano20250414, + Gpt432k, /// /// /// - Gpt4o, + Gpt432k0314, /// /// /// - Gpt4o20241120, + Gpt432k0613, /// /// /// - Gpt4o20240806, + Gpt4Turbo, /// /// /// - Gpt4o20240513, + Gpt4Turbo20240409, /// /// /// - Gpt4oMini, + Gpt4TurboPreview, /// /// /// - Gpt4oMini20240718, + Gpt4VisionPreview, /// /// /// - Gpt45Preview, + Gpt41, /// /// /// - Gpt45Preview20250227, + Gpt4120250414, /// /// /// - Gpt4Turbo, + Gpt41Mini, /// /// /// - Gpt4Turbo20240409, + Gpt41Mini20250414, /// /// /// - Gpt40125Preview, + Gpt41Nano, /// /// /// - Gpt4TurboPreview, + Gpt41Nano20250414, /// /// /// - Gpt41106Preview, + Gpt45Preview, /// /// /// - Gpt4VisionPreview, + Gpt45Preview20250227, /// /// /// - Gpt4, + Gpt4o, /// /// /// - Gpt40314, + Gpt4o20240513, /// /// /// - Gpt40613, + Gpt4o20240806, /// /// /// - Gpt432k, + Gpt4o20241120, /// /// /// - Gpt432k0314, + Gpt4oMini, /// /// /// - Gpt432k0613, + Gpt4oMini20240718, /// /// /// - Gpt35Turbo, + Gpt5, /// /// /// - Gpt35Turbo16k, + Gpt520250807, /// /// /// - Gpt35Turbo0613, + Gpt5Mini, /// /// /// - Gpt35Turbo1106, + Gpt5Mini20250807, /// /// /// - Gpt35Turbo0125, + Gpt5Nano, /// /// /// - Gpt35Turbo16k0613, + Gpt5Nano20250807, } /// @@ -174,44 +174,44 @@ public static string ToValueString(this CreateThreadAndRunRequestModel value) { return value switch { - CreateThreadAndRunRequestModel.Gpt5 => "gpt-5", - CreateThreadAndRunRequestModel.Gpt5Mini => "gpt-5-mini", - CreateThreadAndRunRequestModel.Gpt5Nano => "gpt-5-nano", - CreateThreadAndRunRequestModel.Gpt520250807 => "gpt-5-2025-08-07", - CreateThreadAndRunRequestModel.Gpt5Mini20250807 => "gpt-5-mini-2025-08-07", - CreateThreadAndRunRequestModel.Gpt5Nano20250807 => "gpt-5-nano-2025-08-07", + CreateThreadAndRunRequestModel.Gpt35Turbo => "gpt-3.5-turbo", + CreateThreadAndRunRequestModel.Gpt35Turbo0125 => "gpt-3.5-turbo-0125", + CreateThreadAndRunRequestModel.Gpt35Turbo0613 => "gpt-3.5-turbo-0613", + CreateThreadAndRunRequestModel.Gpt35Turbo1106 => "gpt-3.5-turbo-1106", + CreateThreadAndRunRequestModel.Gpt35Turbo16k => "gpt-3.5-turbo-16k", + CreateThreadAndRunRequestModel.Gpt35Turbo16k0613 => "gpt-3.5-turbo-16k-0613", + CreateThreadAndRunRequestModel.Gpt4 => "gpt-4", + CreateThreadAndRunRequestModel.Gpt40125Preview => "gpt-4-0125-preview", + CreateThreadAndRunRequestModel.Gpt40314 => "gpt-4-0314", + CreateThreadAndRunRequestModel.Gpt40613 => "gpt-4-0613", + CreateThreadAndRunRequestModel.Gpt41106Preview => "gpt-4-1106-preview", + CreateThreadAndRunRequestModel.Gpt432k => "gpt-4-32k", + CreateThreadAndRunRequestModel.Gpt432k0314 => "gpt-4-32k-0314", + CreateThreadAndRunRequestModel.Gpt432k0613 => "gpt-4-32k-0613", + CreateThreadAndRunRequestModel.Gpt4Turbo => "gpt-4-turbo", + CreateThreadAndRunRequestModel.Gpt4Turbo20240409 => "gpt-4-turbo-2024-04-09", + CreateThreadAndRunRequestModel.Gpt4TurboPreview => "gpt-4-turbo-preview", + CreateThreadAndRunRequestModel.Gpt4VisionPreview => "gpt-4-vision-preview", CreateThreadAndRunRequestModel.Gpt41 => "gpt-4.1", - CreateThreadAndRunRequestModel.Gpt41Mini => "gpt-4.1-mini", - CreateThreadAndRunRequestModel.Gpt41Nano => "gpt-4.1-nano", CreateThreadAndRunRequestModel.Gpt4120250414 => "gpt-4.1-2025-04-14", + CreateThreadAndRunRequestModel.Gpt41Mini => "gpt-4.1-mini", CreateThreadAndRunRequestModel.Gpt41Mini20250414 => "gpt-4.1-mini-2025-04-14", + CreateThreadAndRunRequestModel.Gpt41Nano => "gpt-4.1-nano", CreateThreadAndRunRequestModel.Gpt41Nano20250414 => "gpt-4.1-nano-2025-04-14", + CreateThreadAndRunRequestModel.Gpt45Preview => "gpt-4.5-preview", + CreateThreadAndRunRequestModel.Gpt45Preview20250227 => "gpt-4.5-preview-2025-02-27", CreateThreadAndRunRequestModel.Gpt4o => "gpt-4o", - CreateThreadAndRunRequestModel.Gpt4o20241120 => "gpt-4o-2024-11-20", - CreateThreadAndRunRequestModel.Gpt4o20240806 => "gpt-4o-2024-08-06", CreateThreadAndRunRequestModel.Gpt4o20240513 => "gpt-4o-2024-05-13", + CreateThreadAndRunRequestModel.Gpt4o20240806 => "gpt-4o-2024-08-06", + CreateThreadAndRunRequestModel.Gpt4o20241120 => "gpt-4o-2024-11-20", CreateThreadAndRunRequestModel.Gpt4oMini => "gpt-4o-mini", CreateThreadAndRunRequestModel.Gpt4oMini20240718 => "gpt-4o-mini-2024-07-18", - CreateThreadAndRunRequestModel.Gpt45Preview => "gpt-4.5-preview", - CreateThreadAndRunRequestModel.Gpt45Preview20250227 => "gpt-4.5-preview-2025-02-27", - CreateThreadAndRunRequestModel.Gpt4Turbo => "gpt-4-turbo", - CreateThreadAndRunRequestModel.Gpt4Turbo20240409 => "gpt-4-turbo-2024-04-09", - CreateThreadAndRunRequestModel.Gpt40125Preview => "gpt-4-0125-preview", - CreateThreadAndRunRequestModel.Gpt4TurboPreview => "gpt-4-turbo-preview", - CreateThreadAndRunRequestModel.Gpt41106Preview => "gpt-4-1106-preview", - CreateThreadAndRunRequestModel.Gpt4VisionPreview => "gpt-4-vision-preview", - CreateThreadAndRunRequestModel.Gpt4 => "gpt-4", - CreateThreadAndRunRequestModel.Gpt40314 => "gpt-4-0314", - CreateThreadAndRunRequestModel.Gpt40613 => "gpt-4-0613", - CreateThreadAndRunRequestModel.Gpt432k => "gpt-4-32k", - CreateThreadAndRunRequestModel.Gpt432k0314 => "gpt-4-32k-0314", - CreateThreadAndRunRequestModel.Gpt432k0613 => "gpt-4-32k-0613", - CreateThreadAndRunRequestModel.Gpt35Turbo => "gpt-3.5-turbo", - CreateThreadAndRunRequestModel.Gpt35Turbo16k => "gpt-3.5-turbo-16k", - CreateThreadAndRunRequestModel.Gpt35Turbo0613 => "gpt-3.5-turbo-0613", - CreateThreadAndRunRequestModel.Gpt35Turbo1106 => "gpt-3.5-turbo-1106", - CreateThreadAndRunRequestModel.Gpt35Turbo0125 => "gpt-3.5-turbo-0125", - CreateThreadAndRunRequestModel.Gpt35Turbo16k0613 => "gpt-3.5-turbo-16k-0613", + CreateThreadAndRunRequestModel.Gpt5 => "gpt-5", + CreateThreadAndRunRequestModel.Gpt520250807 => "gpt-5-2025-08-07", + CreateThreadAndRunRequestModel.Gpt5Mini => "gpt-5-mini", + CreateThreadAndRunRequestModel.Gpt5Mini20250807 => "gpt-5-mini-2025-08-07", + CreateThreadAndRunRequestModel.Gpt5Nano => "gpt-5-nano", + CreateThreadAndRunRequestModel.Gpt5Nano20250807 => "gpt-5-nano-2025-08-07", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -222,44 +222,44 @@ public static string ToValueString(this CreateThreadAndRunRequestModel value) { return value switch { - "gpt-5" => CreateThreadAndRunRequestModel.Gpt5, - "gpt-5-mini" => CreateThreadAndRunRequestModel.Gpt5Mini, - "gpt-5-nano" => CreateThreadAndRunRequestModel.Gpt5Nano, - "gpt-5-2025-08-07" => CreateThreadAndRunRequestModel.Gpt520250807, - "gpt-5-mini-2025-08-07" => CreateThreadAndRunRequestModel.Gpt5Mini20250807, - "gpt-5-nano-2025-08-07" => CreateThreadAndRunRequestModel.Gpt5Nano20250807, + "gpt-3.5-turbo" => CreateThreadAndRunRequestModel.Gpt35Turbo, + "gpt-3.5-turbo-0125" => CreateThreadAndRunRequestModel.Gpt35Turbo0125, + "gpt-3.5-turbo-0613" => CreateThreadAndRunRequestModel.Gpt35Turbo0613, + "gpt-3.5-turbo-1106" => CreateThreadAndRunRequestModel.Gpt35Turbo1106, + "gpt-3.5-turbo-16k" => CreateThreadAndRunRequestModel.Gpt35Turbo16k, + "gpt-3.5-turbo-16k-0613" => CreateThreadAndRunRequestModel.Gpt35Turbo16k0613, + "gpt-4" => CreateThreadAndRunRequestModel.Gpt4, + "gpt-4-0125-preview" => CreateThreadAndRunRequestModel.Gpt40125Preview, + "gpt-4-0314" => CreateThreadAndRunRequestModel.Gpt40314, + "gpt-4-0613" => CreateThreadAndRunRequestModel.Gpt40613, + "gpt-4-1106-preview" => CreateThreadAndRunRequestModel.Gpt41106Preview, + "gpt-4-32k" => CreateThreadAndRunRequestModel.Gpt432k, + "gpt-4-32k-0314" => CreateThreadAndRunRequestModel.Gpt432k0314, + "gpt-4-32k-0613" => CreateThreadAndRunRequestModel.Gpt432k0613, + "gpt-4-turbo" => CreateThreadAndRunRequestModel.Gpt4Turbo, + "gpt-4-turbo-2024-04-09" => CreateThreadAndRunRequestModel.Gpt4Turbo20240409, + "gpt-4-turbo-preview" => CreateThreadAndRunRequestModel.Gpt4TurboPreview, + "gpt-4-vision-preview" => CreateThreadAndRunRequestModel.Gpt4VisionPreview, "gpt-4.1" => CreateThreadAndRunRequestModel.Gpt41, - "gpt-4.1-mini" => CreateThreadAndRunRequestModel.Gpt41Mini, - "gpt-4.1-nano" => CreateThreadAndRunRequestModel.Gpt41Nano, "gpt-4.1-2025-04-14" => CreateThreadAndRunRequestModel.Gpt4120250414, + "gpt-4.1-mini" => CreateThreadAndRunRequestModel.Gpt41Mini, "gpt-4.1-mini-2025-04-14" => CreateThreadAndRunRequestModel.Gpt41Mini20250414, + "gpt-4.1-nano" => CreateThreadAndRunRequestModel.Gpt41Nano, "gpt-4.1-nano-2025-04-14" => CreateThreadAndRunRequestModel.Gpt41Nano20250414, + "gpt-4.5-preview" => CreateThreadAndRunRequestModel.Gpt45Preview, + "gpt-4.5-preview-2025-02-27" => CreateThreadAndRunRequestModel.Gpt45Preview20250227, "gpt-4o" => CreateThreadAndRunRequestModel.Gpt4o, - "gpt-4o-2024-11-20" => CreateThreadAndRunRequestModel.Gpt4o20241120, - "gpt-4o-2024-08-06" => CreateThreadAndRunRequestModel.Gpt4o20240806, "gpt-4o-2024-05-13" => CreateThreadAndRunRequestModel.Gpt4o20240513, + "gpt-4o-2024-08-06" => CreateThreadAndRunRequestModel.Gpt4o20240806, + "gpt-4o-2024-11-20" => CreateThreadAndRunRequestModel.Gpt4o20241120, "gpt-4o-mini" => CreateThreadAndRunRequestModel.Gpt4oMini, "gpt-4o-mini-2024-07-18" => CreateThreadAndRunRequestModel.Gpt4oMini20240718, - "gpt-4.5-preview" => CreateThreadAndRunRequestModel.Gpt45Preview, - "gpt-4.5-preview-2025-02-27" => CreateThreadAndRunRequestModel.Gpt45Preview20250227, - "gpt-4-turbo" => CreateThreadAndRunRequestModel.Gpt4Turbo, - "gpt-4-turbo-2024-04-09" => CreateThreadAndRunRequestModel.Gpt4Turbo20240409, - "gpt-4-0125-preview" => CreateThreadAndRunRequestModel.Gpt40125Preview, - "gpt-4-turbo-preview" => CreateThreadAndRunRequestModel.Gpt4TurboPreview, - "gpt-4-1106-preview" => CreateThreadAndRunRequestModel.Gpt41106Preview, - "gpt-4-vision-preview" => CreateThreadAndRunRequestModel.Gpt4VisionPreview, - "gpt-4" => CreateThreadAndRunRequestModel.Gpt4, - "gpt-4-0314" => CreateThreadAndRunRequestModel.Gpt40314, - "gpt-4-0613" => CreateThreadAndRunRequestModel.Gpt40613, - "gpt-4-32k" => CreateThreadAndRunRequestModel.Gpt432k, - "gpt-4-32k-0314" => CreateThreadAndRunRequestModel.Gpt432k0314, - "gpt-4-32k-0613" => CreateThreadAndRunRequestModel.Gpt432k0613, - "gpt-3.5-turbo" => CreateThreadAndRunRequestModel.Gpt35Turbo, - "gpt-3.5-turbo-16k" => CreateThreadAndRunRequestModel.Gpt35Turbo16k, - "gpt-3.5-turbo-0613" => CreateThreadAndRunRequestModel.Gpt35Turbo0613, - "gpt-3.5-turbo-1106" => CreateThreadAndRunRequestModel.Gpt35Turbo1106, - "gpt-3.5-turbo-0125" => CreateThreadAndRunRequestModel.Gpt35Turbo0125, - "gpt-3.5-turbo-16k-0613" => CreateThreadAndRunRequestModel.Gpt35Turbo16k0613, + "gpt-5" => CreateThreadAndRunRequestModel.Gpt5, + "gpt-5-2025-08-07" => CreateThreadAndRunRequestModel.Gpt520250807, + "gpt-5-mini" => CreateThreadAndRunRequestModel.Gpt5Mini, + "gpt-5-mini-2025-08-07" => CreateThreadAndRunRequestModel.Gpt5Mini20250807, + "gpt-5-nano" => CreateThreadAndRunRequestModel.Gpt5Nano, + "gpt-5-nano-2025-08-07" => CreateThreadAndRunRequestModel.Gpt5Nano20250807, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionRequestModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionRequestModel.g.cs index 57e5c445..cba7a3e3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionRequestModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionRequestModel.g.cs @@ -11,23 +11,23 @@ public enum CreateTranscriptionRequestModel /// /// /// - Whisper1, + Gpt4oMiniTranscribe, /// /// /// - Gpt4oTranscribe, + Gpt4oMiniTranscribe20251215, /// /// /// - Gpt4oMiniTranscribe, + Gpt4oTranscribe, /// /// /// - Gpt4oMiniTranscribe20251215, + Gpt4oTranscribeDiarize, /// /// /// - Gpt4oTranscribeDiarize, + Whisper1, } /// @@ -42,11 +42,11 @@ public static string ToValueString(this CreateTranscriptionRequestModel value) { return value switch { - CreateTranscriptionRequestModel.Whisper1 => "whisper-1", - CreateTranscriptionRequestModel.Gpt4oTranscribe => "gpt-4o-transcribe", CreateTranscriptionRequestModel.Gpt4oMiniTranscribe => "gpt-4o-mini-transcribe", CreateTranscriptionRequestModel.Gpt4oMiniTranscribe20251215 => "gpt-4o-mini-transcribe-2025-12-15", + CreateTranscriptionRequestModel.Gpt4oTranscribe => "gpt-4o-transcribe", CreateTranscriptionRequestModel.Gpt4oTranscribeDiarize => "gpt-4o-transcribe-diarize", + CreateTranscriptionRequestModel.Whisper1 => "whisper-1", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -57,11 +57,11 @@ public static string ToValueString(this CreateTranscriptionRequestModel value) { return value switch { - "whisper-1" => CreateTranscriptionRequestModel.Whisper1, - "gpt-4o-transcribe" => CreateTranscriptionRequestModel.Gpt4oTranscribe, "gpt-4o-mini-transcribe" => CreateTranscriptionRequestModel.Gpt4oMiniTranscribe, "gpt-4o-mini-transcribe-2025-12-15" => CreateTranscriptionRequestModel.Gpt4oMiniTranscribe20251215, + "gpt-4o-transcribe" => CreateTranscriptionRequestModel.Gpt4oTranscribe, "gpt-4o-transcribe-diarize" => CreateTranscriptionRequestModel.Gpt4oTranscribeDiarize, + "whisper-1" => CreateTranscriptionRequestModel.Whisper1, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionRequestTimestampGranularitie.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionRequestTimestampGranularitie.g.cs index fda98b07..b403530b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionRequestTimestampGranularitie.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionRequestTimestampGranularitie.g.cs @@ -11,11 +11,11 @@ public enum CreateTranscriptionRequestTimestampGranularitie /// /// /// - Word, + Segment, /// /// /// - Segment, + Word, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this CreateTranscriptionRequestTimestampGranu { return value switch { - CreateTranscriptionRequestTimestampGranularitie.Word => "word", CreateTranscriptionRequestTimestampGranularitie.Segment => "segment", + CreateTranscriptionRequestTimestampGranularitie.Word => "word", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this CreateTranscriptionRequestTimestampGranu { return value switch { - "word" => CreateTranscriptionRequestTimestampGranularitie.Word, "segment" => CreateTranscriptionRequestTimestampGranularitie.Segment, + "word" => CreateTranscriptionRequestTimestampGranularitie.Word, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranslationRequestResponseFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranslationRequestResponseFormat.g.cs index 7999f140..c15a2ac3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranslationRequestResponseFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranslationRequestResponseFormat.g.cs @@ -16,11 +16,11 @@ public enum CreateTranslationRequestResponseFormat /// /// `json`, `text`, `srt`, `verbose_json`, or `vtt`. /// - Text, + Srt, /// /// `json`, `text`, `srt`, `verbose_json`, or `vtt`. /// - Srt, + Text, /// /// `json`, `text`, `srt`, `verbose_json`, or `vtt`. /// @@ -44,8 +44,8 @@ public static string ToValueString(this CreateTranslationRequestResponseFormat v return value switch { CreateTranslationRequestResponseFormat.Json => "json", - CreateTranslationRequestResponseFormat.Text => "text", CreateTranslationRequestResponseFormat.Srt => "srt", + CreateTranslationRequestResponseFormat.Text => "text", CreateTranslationRequestResponseFormat.VerboseJson => "verbose_json", CreateTranslationRequestResponseFormat.Vtt => "vtt", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -59,8 +59,8 @@ public static string ToValueString(this CreateTranslationRequestResponseFormat v return value switch { "json" => CreateTranslationRequestResponseFormat.Json, - "text" => CreateTranslationRequestResponseFormat.Text, "srt" => CreateTranslationRequestResponseFormat.Srt, + "text" => CreateTranslationRequestResponseFormat.Text, "verbose_json" => CreateTranslationRequestResponseFormat.VerboseJson, "vtt" => CreateTranslationRequestResponseFormat.Vtt, _ => null, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DetailEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DetailEnum.g.cs index 9b87defe..b2d6be44 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DetailEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DetailEnum.g.cs @@ -11,7 +11,7 @@ public enum DetailEnum /// /// /// - Low, + Auto, /// /// /// @@ -19,7 +19,7 @@ public enum DetailEnum /// /// /// - Auto, + Low, /// /// /// @@ -38,9 +38,9 @@ public static string ToValueString(this DetailEnum value) { return value switch { - DetailEnum.Low => "low", - DetailEnum.High => "high", DetailEnum.Auto => "auto", + DetailEnum.High => "high", + DetailEnum.Low => "low", DetailEnum.Original => "original", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -52,9 +52,9 @@ public static string ToValueString(this DetailEnum value) { return value switch { - "low" => DetailEnum.Low, - "high" => DetailEnum.High, "auto" => DetailEnum.Auto, + "high" => DetailEnum.High, + "low" => DetailEnum.Low, "original" => DetailEnum.Original, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EasyInputMessageRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EasyInputMessageRole.g.cs index 8783a341..5978e4f2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EasyInputMessageRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EasyInputMessageRole.g.cs @@ -12,11 +12,11 @@ public enum EasyInputMessageRole /// /// /// - User, + Assistant, /// /// /// - Assistant, + Developer, /// /// /// @@ -24,7 +24,7 @@ public enum EasyInputMessageRole /// /// /// - Developer, + User, } /// @@ -39,10 +39,10 @@ public static string ToValueString(this EasyInputMessageRole value) { return value switch { - EasyInputMessageRole.User => "user", EasyInputMessageRole.Assistant => "assistant", - EasyInputMessageRole.System => "system", EasyInputMessageRole.Developer => "developer", + EasyInputMessageRole.System => "system", + EasyInputMessageRole.User => "user", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -53,10 +53,10 @@ public static string ToValueString(this EasyInputMessageRole value) { return value switch { - "user" => EasyInputMessageRole.User, "assistant" => EasyInputMessageRole.Assistant, - "system" => EasyInputMessageRole.System, "developer" => EasyInputMessageRole.Developer, + "system" => EasyInputMessageRole.System, + "user" => EasyInputMessageRole.User, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamBackground2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamBackground2.g.cs index dab17384..f1340e4d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamBackground2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamBackground2.g.cs @@ -11,7 +11,7 @@ public enum EditImageBodyJsonParamBackground2 /// /// /// - Transparent, + Auto, /// /// /// @@ -19,7 +19,7 @@ public enum EditImageBodyJsonParamBackground2 /// /// /// - Auto, + Transparent, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this EditImageBodyJsonParamBackground2 value) { return value switch { - EditImageBodyJsonParamBackground2.Transparent => "transparent", - EditImageBodyJsonParamBackground2.Opaque => "opaque", EditImageBodyJsonParamBackground2.Auto => "auto", + EditImageBodyJsonParamBackground2.Opaque => "opaque", + EditImageBodyJsonParamBackground2.Transparent => "transparent", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this EditImageBodyJsonParamBackground2 value) { return value switch { - "transparent" => EditImageBodyJsonParamBackground2.Transparent, - "opaque" => EditImageBodyJsonParamBackground2.Opaque, "auto" => EditImageBodyJsonParamBackground2.Auto, + "opaque" => EditImageBodyJsonParamBackground2.Opaque, + "transparent" => EditImageBodyJsonParamBackground2.Transparent, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamModel.g.cs index 99b83e54..8442a39f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamModel.g.cs @@ -11,7 +11,7 @@ public enum EditImageBodyJsonParamModel /// /// /// - GptImage15, + ChatgptImageLatest, /// /// /// @@ -23,7 +23,7 @@ public enum EditImageBodyJsonParamModel /// /// /// - ChatgptImageLatest, + GptImage15, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this EditImageBodyJsonParamModel value) { return value switch { - EditImageBodyJsonParamModel.GptImage15 => "gpt-image-1.5", + EditImageBodyJsonParamModel.ChatgptImageLatest => "chatgpt-image-latest", EditImageBodyJsonParamModel.GptImage1 => "gpt-image-1", EditImageBodyJsonParamModel.GptImage1Mini => "gpt-image-1-mini", - EditImageBodyJsonParamModel.ChatgptImageLatest => "chatgpt-image-latest", + EditImageBodyJsonParamModel.GptImage15 => "gpt-image-1.5", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this EditImageBodyJsonParamModel value) { return value switch { - "gpt-image-1.5" => EditImageBodyJsonParamModel.GptImage15, + "chatgpt-image-latest" => EditImageBodyJsonParamModel.ChatgptImageLatest, "gpt-image-1" => EditImageBodyJsonParamModel.GptImage1, "gpt-image-1-mini" => EditImageBodyJsonParamModel.GptImage1Mini, - "chatgpt-image-latest" => EditImageBodyJsonParamModel.ChatgptImageLatest, + "gpt-image-1.5" => EditImageBodyJsonParamModel.GptImage15, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamModeration2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamModeration2.g.cs index 686f72b1..054a5774 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamModeration2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamModeration2.g.cs @@ -11,11 +11,11 @@ public enum EditImageBodyJsonParamModeration2 /// /// /// - Low, + Auto, /// /// /// - Auto, + Low, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this EditImageBodyJsonParamModeration2 value) { return value switch { - EditImageBodyJsonParamModeration2.Low => "low", EditImageBodyJsonParamModeration2.Auto => "auto", + EditImageBodyJsonParamModeration2.Low => "low", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this EditImageBodyJsonParamModeration2 value) { return value switch { - "low" => EditImageBodyJsonParamModeration2.Low, "auto" => EditImageBodyJsonParamModeration2.Auto, + "low" => EditImageBodyJsonParamModeration2.Low, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamOutputFormat2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamOutputFormat2.g.cs index 55ed9840..21ec2acd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamOutputFormat2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamOutputFormat2.g.cs @@ -11,11 +11,11 @@ public enum EditImageBodyJsonParamOutputFormat2 /// /// /// - Png, + Jpeg, /// /// /// - Jpeg, + Png, /// /// /// @@ -34,8 +34,8 @@ public static string ToValueString(this EditImageBodyJsonParamOutputFormat2 valu { return value switch { - EditImageBodyJsonParamOutputFormat2.Png => "png", EditImageBodyJsonParamOutputFormat2.Jpeg => "jpeg", + EditImageBodyJsonParamOutputFormat2.Png => "png", EditImageBodyJsonParamOutputFormat2.Webp => "webp", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -47,8 +47,8 @@ public static string ToValueString(this EditImageBodyJsonParamOutputFormat2 valu { return value switch { - "png" => EditImageBodyJsonParamOutputFormat2.Png, "jpeg" => EditImageBodyJsonParamOutputFormat2.Jpeg, + "png" => EditImageBodyJsonParamOutputFormat2.Png, "webp" => EditImageBodyJsonParamOutputFormat2.Webp, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamQuality2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamQuality2.g.cs index 5d50edc9..f94b4a64 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamQuality2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamQuality2.g.cs @@ -11,19 +11,19 @@ public enum EditImageBodyJsonParamQuality2 /// /// /// - Low, + Auto, /// /// /// - Medium, + High, /// /// /// - High, + Low, /// /// /// - Auto, + Medium, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this EditImageBodyJsonParamQuality2 value) { return value switch { + EditImageBodyJsonParamQuality2.Auto => "auto", + EditImageBodyJsonParamQuality2.High => "high", EditImageBodyJsonParamQuality2.Low => "low", EditImageBodyJsonParamQuality2.Medium => "medium", - EditImageBodyJsonParamQuality2.High => "high", - EditImageBodyJsonParamQuality2.Auto => "auto", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this EditImageBodyJsonParamQuality2 value) { return value switch { + "auto" => EditImageBodyJsonParamQuality2.Auto, + "high" => EditImageBodyJsonParamQuality2.High, "low" => EditImageBodyJsonParamQuality2.Low, "medium" => EditImageBodyJsonParamQuality2.Medium, - "high" => EditImageBodyJsonParamQuality2.High, - "auto" => EditImageBodyJsonParamQuality2.Auto, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamSize2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamSize2.g.cs index 7910a63c..1e409d46 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamSize2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParamSize2.g.cs @@ -11,11 +11,11 @@ public enum EditImageBodyJsonParamSize2 /// /// /// - Auto, + x1024x1024, /// /// /// - x1024x1024, + x1024x1536, /// /// /// @@ -23,7 +23,7 @@ public enum EditImageBodyJsonParamSize2 /// /// /// - x1024x1536, + Auto, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this EditImageBodyJsonParamSize2 value) { return value switch { - EditImageBodyJsonParamSize2.Auto => "auto", EditImageBodyJsonParamSize2.x1024x1024 => "1024x1024", - EditImageBodyJsonParamSize2.x1536x1024 => "1536x1024", EditImageBodyJsonParamSize2.x1024x1536 => "1024x1536", + EditImageBodyJsonParamSize2.x1536x1024 => "1536x1024", + EditImageBodyJsonParamSize2.Auto => "auto", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this EditImageBodyJsonParamSize2 value) { return value switch { - "auto" => EditImageBodyJsonParamSize2.Auto, "1024x1024" => EditImageBodyJsonParamSize2.x1024x1024, - "1536x1024" => EditImageBodyJsonParamSize2.x1536x1024, "1024x1536" => EditImageBodyJsonParamSize2.x1024x1536, + "1536x1024" => EditImageBodyJsonParamSize2.x1536x1024, + "auto" => EditImageBodyJsonParamSize2.Auto, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemRole.g.cs index a9d4220c..2b5cd39d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemRole.g.cs @@ -12,11 +12,11 @@ public enum EvalItemRole /// /// /// - User, + Assistant, /// /// /// - Assistant, + Developer, /// /// /// @@ -24,7 +24,7 @@ public enum EvalItemRole /// /// /// - Developer, + User, } /// @@ -39,10 +39,10 @@ public static string ToValueString(this EvalItemRole value) { return value switch { - EvalItemRole.User => "user", EvalItemRole.Assistant => "assistant", - EvalItemRole.System => "system", EvalItemRole.Developer => "developer", + EvalItemRole.System => "system", + EvalItemRole.User => "user", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -53,10 +53,10 @@ public static string ToValueString(this EvalItemRole value) { return value switch { - "user" => EvalItemRole.User, "assistant" => EvalItemRole.Assistant, - "system" => EvalItemRole.System, "developer" => EvalItemRole.Developer, + "system" => EvalItemRole.System, + "user" => EvalItemRole.User, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchToolCallStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchToolCallStatus.g.cs index c2fd8052..5ad1b74f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchToolCallStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchToolCallStatus.g.cs @@ -12,15 +12,15 @@ public enum FileSearchToolCallStatus /// /// /// - InProgress, + Completed, /// /// /// - Searching, + Failed, /// /// /// - Completed, + InProgress, /// /// /// @@ -28,7 +28,7 @@ public enum FileSearchToolCallStatus /// /// /// - Failed, + Searching, } /// @@ -43,11 +43,11 @@ public static string ToValueString(this FileSearchToolCallStatus value) { return value switch { - FileSearchToolCallStatus.InProgress => "in_progress", - FileSearchToolCallStatus.Searching => "searching", FileSearchToolCallStatus.Completed => "completed", - FileSearchToolCallStatus.Incomplete => "incomplete", FileSearchToolCallStatus.Failed => "failed", + FileSearchToolCallStatus.InProgress => "in_progress", + FileSearchToolCallStatus.Incomplete => "incomplete", + FileSearchToolCallStatus.Searching => "searching", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -58,11 +58,11 @@ public static string ToValueString(this FileSearchToolCallStatus value) { return value switch { - "in_progress" => FileSearchToolCallStatus.InProgress, - "searching" => FileSearchToolCallStatus.Searching, "completed" => FileSearchToolCallStatus.Completed, - "incomplete" => FileSearchToolCallStatus.Incomplete, "failed" => FileSearchToolCallStatus.Failed, + "in_progress" => FileSearchToolCallStatus.InProgress, + "incomplete" => FileSearchToolCallStatus.Incomplete, + "searching" => FileSearchToolCallStatus.Searching, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuneMethodType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuneMethodType.g.cs index 42b23aa2..99a42c45 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuneMethodType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuneMethodType.g.cs @@ -11,15 +11,15 @@ public enum FineTuneMethodType /// /// /// - Supervised, + Dpo, /// /// /// - Dpo, + Reinforcement, /// /// /// - Reinforcement, + Supervised, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this FineTuneMethodType value) { return value switch { - FineTuneMethodType.Supervised => "supervised", FineTuneMethodType.Dpo => "dpo", FineTuneMethodType.Reinforcement => "reinforcement", + FineTuneMethodType.Supervised => "supervised", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this FineTuneMethodType value) { return value switch { - "supervised" => FineTuneMethodType.Supervised, "dpo" => FineTuneMethodType.Dpo, "reinforcement" => FineTuneMethodType.Reinforcement, + "supervised" => FineTuneMethodType.Supervised, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuneReinforcementHyperparametersReasoningEffort.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuneReinforcementHyperparametersReasoningEffort.g.cs index 94459006..066f4c6f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuneReinforcementHyperparametersReasoningEffort.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuneReinforcementHyperparametersReasoningEffort.g.cs @@ -16,15 +16,15 @@ public enum FineTuneReinforcementHyperparametersReasoningEffort /// /// /// - Low, + High, /// /// /// - Medium, + Low, /// /// /// - High, + Medium, } /// @@ -40,9 +40,9 @@ public static string ToValueString(this FineTuneReinforcementHyperparametersReas return value switch { FineTuneReinforcementHyperparametersReasoningEffort.Default => "default", + FineTuneReinforcementHyperparametersReasoningEffort.High => "high", FineTuneReinforcementHyperparametersReasoningEffort.Low => "low", FineTuneReinforcementHyperparametersReasoningEffort.Medium => "medium", - FineTuneReinforcementHyperparametersReasoningEffort.High => "high", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -54,9 +54,9 @@ public static string ToValueString(this FineTuneReinforcementHyperparametersReas return value switch { "default" => FineTuneReinforcementHyperparametersReasoningEffort.Default, + "high" => FineTuneReinforcementHyperparametersReasoningEffort.High, "low" => FineTuneReinforcementHyperparametersReasoningEffort.Low, "medium" => FineTuneReinforcementHyperparametersReasoningEffort.Medium, - "high" => FineTuneReinforcementHyperparametersReasoningEffort.High, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobEventLevel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobEventLevel.g.cs index db201761..9dc0bf04 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobEventLevel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobEventLevel.g.cs @@ -11,15 +11,15 @@ public enum FineTuningJobEventLevel /// /// /// - Info, + Error, /// /// /// - Warn, + Info, /// /// /// - Error, + Warn, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this FineTuningJobEventLevel value) { return value switch { + FineTuningJobEventLevel.Error => "error", FineTuningJobEventLevel.Info => "info", FineTuningJobEventLevel.Warn => "warn", - FineTuningJobEventLevel.Error => "error", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this FineTuningJobEventLevel value) { return value switch { + "error" => FineTuningJobEventLevel.Error, "info" => FineTuningJobEventLevel.Info, "warn" => FineTuningJobEventLevel.Warn, - "error" => FineTuningJobEventLevel.Error, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobStatus.g.cs index 0aa037b0..49c0926e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobStatus.g.cs @@ -11,27 +11,27 @@ public enum FineTuningJobStatus /// /// /// - ValidatingFiles, + Cancelled, /// /// /// - Queued, + Failed, /// /// /// - Running, + Queued, /// /// /// - Succeeded, + Running, /// /// /// - Failed, + Succeeded, /// /// /// - Cancelled, + ValidatingFiles, } /// @@ -46,12 +46,12 @@ public static string ToValueString(this FineTuningJobStatus value) { return value switch { - FineTuningJobStatus.ValidatingFiles => "validating_files", + FineTuningJobStatus.Cancelled => "cancelled", + FineTuningJobStatus.Failed => "failed", FineTuningJobStatus.Queued => "queued", FineTuningJobStatus.Running => "running", FineTuningJobStatus.Succeeded => "succeeded", - FineTuningJobStatus.Failed => "failed", - FineTuningJobStatus.Cancelled => "cancelled", + FineTuningJobStatus.ValidatingFiles => "validating_files", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -62,12 +62,12 @@ public static string ToValueString(this FineTuningJobStatus value) { return value switch { - "validating_files" => FineTuningJobStatus.ValidatingFiles, + "cancelled" => FineTuningJobStatus.Cancelled, + "failed" => FineTuningJobStatus.Failed, "queued" => FineTuningJobStatus.Queued, "running" => FineTuningJobStatus.Running, "succeeded" => FineTuningJobStatus.Succeeded, - "failed" => FineTuningJobStatus.Failed, - "cancelled" => FineTuningJobStatus.Cancelled, + "validating_files" => FineTuningJobStatus.ValidatingFiles, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallItemStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallItemStatus.g.cs index 651894fa..12c4b7fa 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallItemStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallItemStatus.g.cs @@ -11,11 +11,11 @@ public enum FunctionCallItemStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -34,8 +34,8 @@ public static string ToValueString(this FunctionCallItemStatus value) { return value switch { - FunctionCallItemStatus.InProgress => "in_progress", FunctionCallItemStatus.Completed => "completed", + FunctionCallItemStatus.InProgress => "in_progress", FunctionCallItemStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -47,8 +47,8 @@ public static string ToValueString(this FunctionCallItemStatus value) { return value switch { - "in_progress" => FunctionCallItemStatus.InProgress, "completed" => FunctionCallItemStatus.Completed, + "in_progress" => FunctionCallItemStatus.InProgress, "incomplete" => FunctionCallItemStatus.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputStatusEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputStatusEnum.g.cs index 2dc4be60..c81f2168 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputStatusEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputStatusEnum.g.cs @@ -11,11 +11,11 @@ public enum FunctionCallOutputStatusEnum /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -34,8 +34,8 @@ public static string ToValueString(this FunctionCallOutputStatusEnum value) { return value switch { - FunctionCallOutputStatusEnum.InProgress => "in_progress", FunctionCallOutputStatusEnum.Completed => "completed", + FunctionCallOutputStatusEnum.InProgress => "in_progress", FunctionCallOutputStatusEnum.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -47,8 +47,8 @@ public static string ToValueString(this FunctionCallOutputStatusEnum value) { return value switch { - "in_progress" => FunctionCallOutputStatusEnum.InProgress, "completed" => FunctionCallOutputStatusEnum.Completed, + "in_progress" => FunctionCallOutputStatusEnum.InProgress, "incomplete" => FunctionCallOutputStatusEnum.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallStatus.g.cs index e2669709..f6e6b1b8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallStatus.g.cs @@ -11,11 +11,11 @@ public enum FunctionCallStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -34,8 +34,8 @@ public static string ToValueString(this FunctionCallStatus value) { return value switch { - FunctionCallStatus.InProgress => "in_progress", FunctionCallStatus.Completed => "completed", + FunctionCallStatus.InProgress => "in_progress", FunctionCallStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -47,8 +47,8 @@ public static string ToValueString(this FunctionCallStatus value) { return value switch { - "in_progress" => FunctionCallStatus.InProgress, "completed" => FunctionCallStatus.Completed, + "in_progress" => FunctionCallStatus.InProgress, "incomplete" => FunctionCallStatus.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallItemStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallItemStatus.g.cs index e7b4ec1a..c1cc540c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallItemStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallItemStatus.g.cs @@ -11,11 +11,11 @@ public enum FunctionShellCallItemStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -34,8 +34,8 @@ public static string ToValueString(this FunctionShellCallItemStatus value) { return value switch { - FunctionShellCallItemStatus.InProgress => "in_progress", FunctionShellCallItemStatus.Completed => "completed", + FunctionShellCallItemStatus.InProgress => "in_progress", FunctionShellCallItemStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -47,8 +47,8 @@ public static string ToValueString(this FunctionShellCallItemStatus value) { return value switch { - "in_progress" => FunctionShellCallItemStatus.InProgress, "completed" => FunctionShellCallItemStatus.Completed, + "in_progress" => FunctionShellCallItemStatus.InProgress, "incomplete" => FunctionShellCallItemStatus.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutputStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutputStatus.g.cs index 70f9a17a..96d16fbf 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutputStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutputStatus.g.cs @@ -12,11 +12,11 @@ public enum FunctionToolCallOutputStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -35,8 +35,8 @@ public static string ToValueString(this FunctionToolCallOutputStatus value) { return value switch { - FunctionToolCallOutputStatus.InProgress => "in_progress", FunctionToolCallOutputStatus.Completed => "completed", + FunctionToolCallOutputStatus.InProgress => "in_progress", FunctionToolCallOutputStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -48,8 +48,8 @@ public static string ToValueString(this FunctionToolCallOutputStatus value) { return value switch { - "in_progress" => FunctionToolCallOutputStatus.InProgress, "completed" => FunctionToolCallOutputStatus.Completed, + "in_progress" => FunctionToolCallOutputStatus.InProgress, "incomplete" => FunctionToolCallOutputStatus.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallStatus.g.cs index 23acc842..064819a6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallStatus.g.cs @@ -12,11 +12,11 @@ public enum FunctionToolCallStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -35,8 +35,8 @@ public static string ToValueString(this FunctionToolCallStatus value) { return value switch { - FunctionToolCallStatus.InProgress => "in_progress", FunctionToolCallStatus.Completed => "completed", + FunctionToolCallStatus.InProgress => "in_progress", FunctionToolCallStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -48,8 +48,8 @@ public static string ToValueString(this FunctionToolCallStatus value) { return value switch { - "in_progress" => FunctionToolCallStatus.InProgress, "completed" => FunctionToolCallStatus.Completed, + "in_progress" => FunctionToolCallStatus.InProgress, "incomplete" => FunctionToolCallStatus.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GetEvalRunsStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GetEvalRunsStatus.g.cs index be121596..1e9669d9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GetEvalRunsStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GetEvalRunsStatus.g.cs @@ -11,23 +11,23 @@ public enum GetEvalRunsStatus /// /// /// - Queued, + Canceled, /// /// /// - InProgress, + Completed, /// /// /// - Completed, + Failed, /// /// /// - Canceled, + InProgress, /// /// /// - Failed, + Queued, } /// @@ -42,11 +42,11 @@ public static string ToValueString(this GetEvalRunsStatus value) { return value switch { - GetEvalRunsStatus.Queued => "queued", - GetEvalRunsStatus.InProgress => "in_progress", - GetEvalRunsStatus.Completed => "completed", GetEvalRunsStatus.Canceled => "canceled", + GetEvalRunsStatus.Completed => "completed", GetEvalRunsStatus.Failed => "failed", + GetEvalRunsStatus.InProgress => "in_progress", + GetEvalRunsStatus.Queued => "queued", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -57,11 +57,11 @@ public static string ToValueString(this GetEvalRunsStatus value) { return value switch { - "queued" => GetEvalRunsStatus.Queued, - "in_progress" => GetEvalRunsStatus.InProgress, - "completed" => GetEvalRunsStatus.Completed, "canceled" => GetEvalRunsStatus.Canceled, + "completed" => GetEvalRunsStatus.Completed, "failed" => GetEvalRunsStatus.Failed, + "in_progress" => GetEvalRunsStatus.InProgress, + "queued" => GetEvalRunsStatus.Queued, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderStringCheckOperation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderStringCheckOperation.g.cs index c9d222c4..784d437e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderStringCheckOperation.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderStringCheckOperation.g.cs @@ -15,7 +15,7 @@ public enum GraderStringCheckOperation /// /// /// - Ne, + Ilike, /// /// /// @@ -23,7 +23,7 @@ public enum GraderStringCheckOperation /// /// /// - Ilike, + Ne, } /// @@ -39,9 +39,9 @@ public static string ToValueString(this GraderStringCheckOperation value) return value switch { GraderStringCheckOperation.Eq => "eq", - GraderStringCheckOperation.Ne => "ne", - GraderStringCheckOperation.Like => "like", GraderStringCheckOperation.Ilike => "ilike", + GraderStringCheckOperation.Like => "like", + GraderStringCheckOperation.Ne => "ne", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -53,9 +53,9 @@ public static string ToValueString(this GraderStringCheckOperation value) return value switch { "eq" => GraderStringCheckOperation.Eq, - "ne" => GraderStringCheckOperation.Ne, - "like" => GraderStringCheckOperation.Like, "ilike" => GraderStringCheckOperation.Ilike, + "like" => GraderStringCheckOperation.Like, + "ne" => GraderStringCheckOperation.Ne, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderTextSimilarityEvaluationMetric.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderTextSimilarityEvaluationMetric.g.cs index 21f926c1..64f3e288 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderTextSimilarityEvaluationMetric.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderTextSimilarityEvaluationMetric.g.cs @@ -13,15 +13,15 @@ public enum GraderTextSimilarityEvaluationMetric /// /// /// - Cosine, + Bleu, /// /// /// - FuzzyMatch, + Cosine, /// /// /// - Bleu, + FuzzyMatch, /// /// /// @@ -68,9 +68,9 @@ public static string ToValueString(this GraderTextSimilarityEvaluationMetric val { return value switch { + GraderTextSimilarityEvaluationMetric.Bleu => "bleu", GraderTextSimilarityEvaluationMetric.Cosine => "cosine", GraderTextSimilarityEvaluationMetric.FuzzyMatch => "fuzzy_match", - GraderTextSimilarityEvaluationMetric.Bleu => "bleu", GraderTextSimilarityEvaluationMetric.Gleu => "gleu", GraderTextSimilarityEvaluationMetric.Meteor => "meteor", GraderTextSimilarityEvaluationMetric.Rouge1 => "rouge_1", @@ -89,9 +89,9 @@ public static string ToValueString(this GraderTextSimilarityEvaluationMetric val { return value switch { + "bleu" => GraderTextSimilarityEvaluationMetric.Bleu, "cosine" => GraderTextSimilarityEvaluationMetric.Cosine, "fuzzy_match" => GraderTextSimilarityEvaluationMetric.FuzzyMatch, - "bleu" => GraderTextSimilarityEvaluationMetric.Bleu, "gleu" => GraderTextSimilarityEvaluationMetric.Gleu, "meteor" => GraderTextSimilarityEvaluationMetric.Meteor, "rouge_1" => GraderTextSimilarityEvaluationMetric.Rouge1, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageDetail.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageDetail.g.cs index 01259bd5..de70ace5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageDetail.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageDetail.g.cs @@ -11,7 +11,7 @@ public enum ImageDetail /// /// /// - Low, + Auto, /// /// /// @@ -19,7 +19,7 @@ public enum ImageDetail /// /// /// - Auto, + Low, /// /// /// @@ -38,9 +38,9 @@ public static string ToValueString(this ImageDetail value) { return value switch { - ImageDetail.Low => "low", - ImageDetail.High => "high", ImageDetail.Auto => "auto", + ImageDetail.High => "high", + ImageDetail.Low => "low", ImageDetail.Original => "original", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -52,9 +52,9 @@ public static string ToValueString(this ImageDetail value) { return value switch { - "low" => ImageDetail.Low, - "high" => ImageDetail.High, "auto" => ImageDetail.Auto, + "high" => ImageDetail.High, + "low" => ImageDetail.Low, "original" => ImageDetail.Original, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEventBackground.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEventBackground.g.cs index 63019800..50021f87 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEventBackground.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEventBackground.g.cs @@ -11,7 +11,7 @@ public enum ImageEditCompletedEventBackground /// /// /// - Transparent, + Auto, /// /// /// @@ -19,7 +19,7 @@ public enum ImageEditCompletedEventBackground /// /// /// - Auto, + Transparent, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this ImageEditCompletedEventBackground value) { return value switch { - ImageEditCompletedEventBackground.Transparent => "transparent", - ImageEditCompletedEventBackground.Opaque => "opaque", ImageEditCompletedEventBackground.Auto => "auto", + ImageEditCompletedEventBackground.Opaque => "opaque", + ImageEditCompletedEventBackground.Transparent => "transparent", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this ImageEditCompletedEventBackground value) { return value switch { - "transparent" => ImageEditCompletedEventBackground.Transparent, - "opaque" => ImageEditCompletedEventBackground.Opaque, "auto" => ImageEditCompletedEventBackground.Auto, + "opaque" => ImageEditCompletedEventBackground.Opaque, + "transparent" => ImageEditCompletedEventBackground.Transparent, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEventOutputFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEventOutputFormat.g.cs index 6d62b6cb..9ba62f32 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEventOutputFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEventOutputFormat.g.cs @@ -11,15 +11,15 @@ public enum ImageEditCompletedEventOutputFormat /// /// /// - Png, + Jpeg, /// /// /// - Webp, + Png, /// /// /// - Jpeg, + Webp, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this ImageEditCompletedEventOutputFormat valu { return value switch { + ImageEditCompletedEventOutputFormat.Jpeg => "jpeg", ImageEditCompletedEventOutputFormat.Png => "png", ImageEditCompletedEventOutputFormat.Webp => "webp", - ImageEditCompletedEventOutputFormat.Jpeg => "jpeg", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this ImageEditCompletedEventOutputFormat valu { return value switch { + "jpeg" => ImageEditCompletedEventOutputFormat.Jpeg, "png" => ImageEditCompletedEventOutputFormat.Png, "webp" => ImageEditCompletedEventOutputFormat.Webp, - "jpeg" => ImageEditCompletedEventOutputFormat.Jpeg, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEventQuality.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEventQuality.g.cs index ffa19598..def26b71 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEventQuality.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEventQuality.g.cs @@ -11,19 +11,19 @@ public enum ImageEditCompletedEventQuality /// /// /// - Low, + Auto, /// /// /// - Medium, + High, /// /// /// - High, + Low, /// /// /// - Auto, + Medium, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this ImageEditCompletedEventQuality value) { return value switch { + ImageEditCompletedEventQuality.Auto => "auto", + ImageEditCompletedEventQuality.High => "high", ImageEditCompletedEventQuality.Low => "low", ImageEditCompletedEventQuality.Medium => "medium", - ImageEditCompletedEventQuality.High => "high", - ImageEditCompletedEventQuality.Auto => "auto", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this ImageEditCompletedEventQuality value) { return value switch { + "auto" => ImageEditCompletedEventQuality.Auto, + "high" => ImageEditCompletedEventQuality.High, "low" => ImageEditCompletedEventQuality.Low, "medium" => ImageEditCompletedEventQuality.Medium, - "high" => ImageEditCompletedEventQuality.High, - "auto" => ImageEditCompletedEventQuality.Auto, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEventBackground.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEventBackground.g.cs index 85e21de9..56250b20 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEventBackground.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEventBackground.g.cs @@ -11,7 +11,7 @@ public enum ImageEditPartialImageEventBackground /// /// /// - Transparent, + Auto, /// /// /// @@ -19,7 +19,7 @@ public enum ImageEditPartialImageEventBackground /// /// /// - Auto, + Transparent, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this ImageEditPartialImageEventBackground val { return value switch { - ImageEditPartialImageEventBackground.Transparent => "transparent", - ImageEditPartialImageEventBackground.Opaque => "opaque", ImageEditPartialImageEventBackground.Auto => "auto", + ImageEditPartialImageEventBackground.Opaque => "opaque", + ImageEditPartialImageEventBackground.Transparent => "transparent", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this ImageEditPartialImageEventBackground val { return value switch { - "transparent" => ImageEditPartialImageEventBackground.Transparent, - "opaque" => ImageEditPartialImageEventBackground.Opaque, "auto" => ImageEditPartialImageEventBackground.Auto, + "opaque" => ImageEditPartialImageEventBackground.Opaque, + "transparent" => ImageEditPartialImageEventBackground.Transparent, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEventOutputFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEventOutputFormat.g.cs index 83bc54a2..c1e519a1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEventOutputFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEventOutputFormat.g.cs @@ -11,15 +11,15 @@ public enum ImageEditPartialImageEventOutputFormat /// /// /// - Png, + Jpeg, /// /// /// - Webp, + Png, /// /// /// - Jpeg, + Webp, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this ImageEditPartialImageEventOutputFormat v { return value switch { + ImageEditPartialImageEventOutputFormat.Jpeg => "jpeg", ImageEditPartialImageEventOutputFormat.Png => "png", ImageEditPartialImageEventOutputFormat.Webp => "webp", - ImageEditPartialImageEventOutputFormat.Jpeg => "jpeg", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this ImageEditPartialImageEventOutputFormat v { return value switch { + "jpeg" => ImageEditPartialImageEventOutputFormat.Jpeg, "png" => ImageEditPartialImageEventOutputFormat.Png, "webp" => ImageEditPartialImageEventOutputFormat.Webp, - "jpeg" => ImageEditPartialImageEventOutputFormat.Jpeg, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEventQuality.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEventQuality.g.cs index cffaeae2..f30e1ec1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEventQuality.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEventQuality.g.cs @@ -11,19 +11,19 @@ public enum ImageEditPartialImageEventQuality /// /// /// - Low, + Auto, /// /// /// - Medium, + High, /// /// /// - High, + Low, /// /// /// - Auto, + Medium, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this ImageEditPartialImageEventQuality value) { return value switch { + ImageEditPartialImageEventQuality.Auto => "auto", + ImageEditPartialImageEventQuality.High => "high", ImageEditPartialImageEventQuality.Low => "low", ImageEditPartialImageEventQuality.Medium => "medium", - ImageEditPartialImageEventQuality.High => "high", - ImageEditPartialImageEventQuality.Auto => "auto", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this ImageEditPartialImageEventQuality value) { return value switch { + "auto" => ImageEditPartialImageEventQuality.Auto, + "high" => ImageEditPartialImageEventQuality.High, "low" => ImageEditPartialImageEventQuality.Low, "medium" => ImageEditPartialImageEventQuality.Medium, - "high" => ImageEditPartialImageEventQuality.High, - "auto" => ImageEditPartialImageEventQuality.Auto, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenActionEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenActionEnum.g.cs index c3628384..6651caad 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenActionEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenActionEnum.g.cs @@ -11,7 +11,7 @@ public enum ImageGenActionEnum /// /// /// - Generate, + Auto, /// /// /// @@ -19,7 +19,7 @@ public enum ImageGenActionEnum /// /// /// - Auto, + Generate, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this ImageGenActionEnum value) { return value switch { - ImageGenActionEnum.Generate => "generate", - ImageGenActionEnum.Edit => "edit", ImageGenActionEnum.Auto => "auto", + ImageGenActionEnum.Edit => "edit", + ImageGenActionEnum.Generate => "generate", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this ImageGenActionEnum value) { return value switch { - "generate" => ImageGenActionEnum.Generate, - "edit" => ImageGenActionEnum.Edit, "auto" => ImageGenActionEnum.Auto, + "edit" => ImageGenActionEnum.Edit, + "generate" => ImageGenActionEnum.Generate, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEventBackground.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEventBackground.g.cs index c779bd38..58d90698 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEventBackground.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEventBackground.g.cs @@ -11,7 +11,7 @@ public enum ImageGenCompletedEventBackground /// /// /// - Transparent, + Auto, /// /// /// @@ -19,7 +19,7 @@ public enum ImageGenCompletedEventBackground /// /// /// - Auto, + Transparent, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this ImageGenCompletedEventBackground value) { return value switch { - ImageGenCompletedEventBackground.Transparent => "transparent", - ImageGenCompletedEventBackground.Opaque => "opaque", ImageGenCompletedEventBackground.Auto => "auto", + ImageGenCompletedEventBackground.Opaque => "opaque", + ImageGenCompletedEventBackground.Transparent => "transparent", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this ImageGenCompletedEventBackground value) { return value switch { - "transparent" => ImageGenCompletedEventBackground.Transparent, - "opaque" => ImageGenCompletedEventBackground.Opaque, "auto" => ImageGenCompletedEventBackground.Auto, + "opaque" => ImageGenCompletedEventBackground.Opaque, + "transparent" => ImageGenCompletedEventBackground.Transparent, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEventOutputFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEventOutputFormat.g.cs index 1c7922c4..ff40493b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEventOutputFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEventOutputFormat.g.cs @@ -11,15 +11,15 @@ public enum ImageGenCompletedEventOutputFormat /// /// /// - Png, + Jpeg, /// /// /// - Webp, + Png, /// /// /// - Jpeg, + Webp, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this ImageGenCompletedEventOutputFormat value { return value switch { + ImageGenCompletedEventOutputFormat.Jpeg => "jpeg", ImageGenCompletedEventOutputFormat.Png => "png", ImageGenCompletedEventOutputFormat.Webp => "webp", - ImageGenCompletedEventOutputFormat.Jpeg => "jpeg", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this ImageGenCompletedEventOutputFormat value { return value switch { + "jpeg" => ImageGenCompletedEventOutputFormat.Jpeg, "png" => ImageGenCompletedEventOutputFormat.Png, "webp" => ImageGenCompletedEventOutputFormat.Webp, - "jpeg" => ImageGenCompletedEventOutputFormat.Jpeg, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEventQuality.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEventQuality.g.cs index 9fce4c4d..8f47767a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEventQuality.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEventQuality.g.cs @@ -11,19 +11,19 @@ public enum ImageGenCompletedEventQuality /// /// /// - Low, + Auto, /// /// /// - Medium, + High, /// /// /// - High, + Low, /// /// /// - Auto, + Medium, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this ImageGenCompletedEventQuality value) { return value switch { + ImageGenCompletedEventQuality.Auto => "auto", + ImageGenCompletedEventQuality.High => "high", ImageGenCompletedEventQuality.Low => "low", ImageGenCompletedEventQuality.Medium => "medium", - ImageGenCompletedEventQuality.High => "high", - ImageGenCompletedEventQuality.Auto => "auto", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this ImageGenCompletedEventQuality value) { return value switch { + "auto" => ImageGenCompletedEventQuality.Auto, + "high" => ImageGenCompletedEventQuality.High, "low" => ImageGenCompletedEventQuality.Low, "medium" => ImageGenCompletedEventQuality.Medium, - "high" => ImageGenCompletedEventQuality.High, - "auto" => ImageGenCompletedEventQuality.Auto, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEventBackground.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEventBackground.g.cs index 75ec06ac..1b6773cd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEventBackground.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEventBackground.g.cs @@ -11,7 +11,7 @@ public enum ImageGenPartialImageEventBackground /// /// /// - Transparent, + Auto, /// /// /// @@ -19,7 +19,7 @@ public enum ImageGenPartialImageEventBackground /// /// /// - Auto, + Transparent, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this ImageGenPartialImageEventBackground valu { return value switch { - ImageGenPartialImageEventBackground.Transparent => "transparent", - ImageGenPartialImageEventBackground.Opaque => "opaque", ImageGenPartialImageEventBackground.Auto => "auto", + ImageGenPartialImageEventBackground.Opaque => "opaque", + ImageGenPartialImageEventBackground.Transparent => "transparent", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this ImageGenPartialImageEventBackground valu { return value switch { - "transparent" => ImageGenPartialImageEventBackground.Transparent, - "opaque" => ImageGenPartialImageEventBackground.Opaque, "auto" => ImageGenPartialImageEventBackground.Auto, + "opaque" => ImageGenPartialImageEventBackground.Opaque, + "transparent" => ImageGenPartialImageEventBackground.Transparent, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEventOutputFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEventOutputFormat.g.cs index f6c77ff4..bfe6db59 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEventOutputFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEventOutputFormat.g.cs @@ -11,15 +11,15 @@ public enum ImageGenPartialImageEventOutputFormat /// /// /// - Png, + Jpeg, /// /// /// - Webp, + Png, /// /// /// - Jpeg, + Webp, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this ImageGenPartialImageEventOutputFormat va { return value switch { + ImageGenPartialImageEventOutputFormat.Jpeg => "jpeg", ImageGenPartialImageEventOutputFormat.Png => "png", ImageGenPartialImageEventOutputFormat.Webp => "webp", - ImageGenPartialImageEventOutputFormat.Jpeg => "jpeg", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this ImageGenPartialImageEventOutputFormat va { return value switch { + "jpeg" => ImageGenPartialImageEventOutputFormat.Jpeg, "png" => ImageGenPartialImageEventOutputFormat.Png, "webp" => ImageGenPartialImageEventOutputFormat.Webp, - "jpeg" => ImageGenPartialImageEventOutputFormat.Jpeg, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEventQuality.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEventQuality.g.cs index 6292327a..8af3dd30 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEventQuality.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEventQuality.g.cs @@ -11,19 +11,19 @@ public enum ImageGenPartialImageEventQuality /// /// /// - Low, + Auto, /// /// /// - Medium, + High, /// /// /// - High, + Low, /// /// /// - Auto, + Medium, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this ImageGenPartialImageEventQuality value) { return value switch { + ImageGenPartialImageEventQuality.Auto => "auto", + ImageGenPartialImageEventQuality.High => "high", ImageGenPartialImageEventQuality.Low => "low", ImageGenPartialImageEventQuality.Medium => "medium", - ImageGenPartialImageEventQuality.High => "high", - ImageGenPartialImageEventQuality.Auto => "auto", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this ImageGenPartialImageEventQuality value) { return value switch { + "auto" => ImageGenPartialImageEventQuality.Auto, + "high" => ImageGenPartialImageEventQuality.High, "low" => ImageGenPartialImageEventQuality.Low, "medium" => ImageGenPartialImageEventQuality.Medium, - "high" => ImageGenPartialImageEventQuality.High, - "auto" => ImageGenPartialImageEventQuality.Auto, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolBackground.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolBackground.g.cs index d6d0087d..7b5bb534 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolBackground.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolBackground.g.cs @@ -11,17 +11,17 @@ namespace tryAGI.OpenAI public enum ImageGenToolBackground { /// - /// + /// `auto`. /// - Transparent, + Auto, /// /// `auto`. /// Opaque, /// - /// `auto`. + /// /// - Auto, + Transparent, } /// @@ -36,9 +36,9 @@ public static string ToValueString(this ImageGenToolBackground value) { return value switch { - ImageGenToolBackground.Transparent => "transparent", - ImageGenToolBackground.Opaque => "opaque", ImageGenToolBackground.Auto => "auto", + ImageGenToolBackground.Opaque => "opaque", + ImageGenToolBackground.Transparent => "transparent", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -49,9 +49,9 @@ public static string ToValueString(this ImageGenToolBackground value) { return value switch { - "transparent" => ImageGenToolBackground.Transparent, - "opaque" => ImageGenToolBackground.Opaque, "auto" => ImageGenToolBackground.Auto, + "opaque" => ImageGenToolBackground.Opaque, + "transparent" => ImageGenToolBackground.Transparent, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolCallStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolCallStatus.g.cs index 1849d61a..50963918 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolCallStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolCallStatus.g.cs @@ -11,11 +11,11 @@ public enum ImageGenToolCallStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + Failed, /// /// /// @@ -23,7 +23,7 @@ public enum ImageGenToolCallStatus /// /// /// - Failed, + InProgress, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this ImageGenToolCallStatus value) { return value switch { - ImageGenToolCallStatus.InProgress => "in_progress", ImageGenToolCallStatus.Completed => "completed", - ImageGenToolCallStatus.Generating => "generating", ImageGenToolCallStatus.Failed => "failed", + ImageGenToolCallStatus.Generating => "generating", + ImageGenToolCallStatus.InProgress => "in_progress", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this ImageGenToolCallStatus value) { return value switch { - "in_progress" => ImageGenToolCallStatus.InProgress, "completed" => ImageGenToolCallStatus.Completed, - "generating" => ImageGenToolCallStatus.Generating, "failed" => ImageGenToolCallStatus.Failed, + "generating" => ImageGenToolCallStatus.Generating, + "in_progress" => ImageGenToolCallStatus.InProgress, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolOutputFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolOutputFormat.g.cs index 3e9f4d3d..d03d03ef 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolOutputFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolOutputFormat.g.cs @@ -10,6 +10,10 @@ namespace tryAGI.OpenAI /// public enum ImageGenToolOutputFormat { + /// + /// `png`. + /// + Jpeg, /// /// `png`. /// @@ -18,10 +22,6 @@ public enum ImageGenToolOutputFormat /// /// Webp, - /// - /// `png`. - /// - Jpeg, } /// @@ -36,9 +36,9 @@ public static string ToValueString(this ImageGenToolOutputFormat value) { return value switch { + ImageGenToolOutputFormat.Jpeg => "jpeg", ImageGenToolOutputFormat.Png => "png", ImageGenToolOutputFormat.Webp => "webp", - ImageGenToolOutputFormat.Jpeg => "jpeg", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -49,9 +49,9 @@ public static string ToValueString(this ImageGenToolOutputFormat value) { return value switch { + "jpeg" => ImageGenToolOutputFormat.Jpeg, "png" => ImageGenToolOutputFormat.Png, "webp" => ImageGenToolOutputFormat.Webp, - "jpeg" => ImageGenToolOutputFormat.Jpeg, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolQuality.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolQuality.g.cs index 1f2c80c5..39db8fd9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolQuality.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolQuality.g.cs @@ -11,21 +11,21 @@ namespace tryAGI.OpenAI public enum ImageGenToolQuality { /// - /// + /// `auto`. /// - Low, + Auto, /// /// /// - Medium, + High, /// /// /// - High, + Low, /// - /// `auto`. + /// /// - Auto, + Medium, } /// @@ -40,10 +40,10 @@ public static string ToValueString(this ImageGenToolQuality value) { return value switch { + ImageGenToolQuality.Auto => "auto", + ImageGenToolQuality.High => "high", ImageGenToolQuality.Low => "low", ImageGenToolQuality.Medium => "medium", - ImageGenToolQuality.High => "high", - ImageGenToolQuality.Auto => "auto", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -54,10 +54,10 @@ public static string ToValueString(this ImageGenToolQuality value) { return value switch { + "auto" => ImageGenToolQuality.Auto, + "high" => ImageGenToolQuality.High, "low" => ImageGenToolQuality.Low, "medium" => ImageGenToolQuality.Medium, - "high" => ImageGenToolQuality.High, - "auto" => ImageGenToolQuality.Auto, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImagesResponseBackground.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImagesResponseBackground.g.cs index df678463..89b60675 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImagesResponseBackground.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImagesResponseBackground.g.cs @@ -11,11 +11,11 @@ public enum ImagesResponseBackground /// /// /// - Transparent, + Opaque, /// /// /// - Opaque, + Transparent, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ImagesResponseBackground value) { return value switch { - ImagesResponseBackground.Transparent => "transparent", ImagesResponseBackground.Opaque => "opaque", + ImagesResponseBackground.Transparent => "transparent", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ImagesResponseBackground value) { return value switch { - "transparent" => ImagesResponseBackground.Transparent, "opaque" => ImagesResponseBackground.Opaque, + "transparent" => ImagesResponseBackground.Transparent, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImagesResponseOutputFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImagesResponseOutputFormat.g.cs index c9e6ccd1..e49ecf8d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImagesResponseOutputFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImagesResponseOutputFormat.g.cs @@ -11,15 +11,15 @@ public enum ImagesResponseOutputFormat /// /// /// - Png, + Jpeg, /// /// /// - Webp, + Png, /// /// /// - Jpeg, + Webp, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this ImagesResponseOutputFormat value) { return value switch { + ImagesResponseOutputFormat.Jpeg => "jpeg", ImagesResponseOutputFormat.Png => "png", ImagesResponseOutputFormat.Webp => "webp", - ImagesResponseOutputFormat.Jpeg => "jpeg", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this ImagesResponseOutputFormat value) { return value switch { + "jpeg" => ImagesResponseOutputFormat.Jpeg, "png" => ImagesResponseOutputFormat.Png, "webp" => ImagesResponseOutputFormat.Webp, - "jpeg" => ImagesResponseOutputFormat.Jpeg, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImagesResponseQuality.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImagesResponseQuality.g.cs index 285c6ef5..7be5282a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImagesResponseQuality.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImagesResponseQuality.g.cs @@ -11,15 +11,15 @@ public enum ImagesResponseQuality /// /// /// - Low, + High, /// /// /// - Medium, + Low, /// /// /// - High, + Medium, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this ImagesResponseQuality value) { return value switch { + ImagesResponseQuality.High => "high", ImagesResponseQuality.Low => "low", ImagesResponseQuality.Medium => "medium", - ImagesResponseQuality.High => "high", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this ImagesResponseQuality value) { return value switch { + "high" => ImagesResponseQuality.High, "low" => ImagesResponseQuality.Low, "medium" => ImagesResponseQuality.Medium, - "high" => ImagesResponseQuality.High, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.IncludeEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.IncludeEnum.g.cs index a2a5b3e0..80ec8954 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.IncludeEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.IncludeEnum.g.cs @@ -16,37 +16,37 @@ namespace tryAGI.OpenAI public enum IncludeEnum { /// - /// Include the search results of the file search tool call. + /// Includes the outputs of python code execution in code interpreter tool call items. /// - FileSearchCallResults, + CodeInterpreterCallOutputs, /// - /// + /// Include image urls from the computer call output. /// - WebSearchCallResults, + ComputerCallOutputOutputImageUrl, /// - /// Include the sources of the web search tool call. + /// Include the search results of the file search tool call. /// - WebSearchCallActionSources, + FileSearchCallResults, /// /// Include image urls from the input message. /// MessageInputImageImageUrl, /// - /// Include image urls from the computer call output. - /// - ComputerCallOutputOutputImageUrl, - /// - /// Includes the outputs of python code execution in code interpreter tool call items. + /// Include logprobs with assistant messages. /// - CodeInterpreterCallOutputs, + MessageOutputTextLogprobs, /// /// Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the `store` parameter is set to `false`, or when an organization is enrolled in the zero data retention program). /// ReasoningEncryptedContent, /// - /// Include logprobs with assistant messages. + /// Include the sources of the web search tool call. /// - MessageOutputTextLogprobs, + WebSearchCallActionSources, + /// + /// + /// + WebSearchCallResults, } /// @@ -61,14 +61,14 @@ public static string ToValueString(this IncludeEnum value) { return value switch { + IncludeEnum.CodeInterpreterCallOutputs => "code_interpreter_call.outputs", + IncludeEnum.ComputerCallOutputOutputImageUrl => "computer_call_output.output.image_url", IncludeEnum.FileSearchCallResults => "file_search_call.results", - IncludeEnum.WebSearchCallResults => "web_search_call.results", - IncludeEnum.WebSearchCallActionSources => "web_search_call.action.sources", IncludeEnum.MessageInputImageImageUrl => "message.input_image.image_url", - IncludeEnum.ComputerCallOutputOutputImageUrl => "computer_call_output.output.image_url", - IncludeEnum.CodeInterpreterCallOutputs => "code_interpreter_call.outputs", - IncludeEnum.ReasoningEncryptedContent => "reasoning.encrypted_content", IncludeEnum.MessageOutputTextLogprobs => "message.output_text.logprobs", + IncludeEnum.ReasoningEncryptedContent => "reasoning.encrypted_content", + IncludeEnum.WebSearchCallActionSources => "web_search_call.action.sources", + IncludeEnum.WebSearchCallResults => "web_search_call.results", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -79,14 +79,14 @@ public static string ToValueString(this IncludeEnum value) { return value switch { + "code_interpreter_call.outputs" => IncludeEnum.CodeInterpreterCallOutputs, + "computer_call_output.output.image_url" => IncludeEnum.ComputerCallOutputOutputImageUrl, "file_search_call.results" => IncludeEnum.FileSearchCallResults, - "web_search_call.results" => IncludeEnum.WebSearchCallResults, - "web_search_call.action.sources" => IncludeEnum.WebSearchCallActionSources, "message.input_image.image_url" => IncludeEnum.MessageInputImageImageUrl, - "computer_call_output.output.image_url" => IncludeEnum.ComputerCallOutputOutputImageUrl, - "code_interpreter_call.outputs" => IncludeEnum.CodeInterpreterCallOutputs, - "reasoning.encrypted_content" => IncludeEnum.ReasoningEncryptedContent, "message.output_text.logprobs" => IncludeEnum.MessageOutputTextLogprobs, + "reasoning.encrypted_content" => IncludeEnum.ReasoningEncryptedContent, + "web_search_call.action.sources" => IncludeEnum.WebSearchCallActionSources, + "web_search_call.results" => IncludeEnum.WebSearchCallResults, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessageRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessageRole.g.cs index a00b95e0..3339ba76 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessageRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessageRole.g.cs @@ -11,7 +11,7 @@ public enum InputMessageRole /// /// /// - User, + Developer, /// /// /// @@ -19,7 +19,7 @@ public enum InputMessageRole /// /// /// - Developer, + User, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this InputMessageRole value) { return value switch { - InputMessageRole.User => "user", - InputMessageRole.System => "system", InputMessageRole.Developer => "developer", + InputMessageRole.System => "system", + InputMessageRole.User => "user", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this InputMessageRole value) { return value switch { - "user" => InputMessageRole.User, - "system" => InputMessageRole.System, "developer" => InputMessageRole.Developer, + "system" => InputMessageRole.System, + "user" => InputMessageRole.User, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessageStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessageStatus.g.cs index d70e03b7..344a6b8a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessageStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessageStatus.g.cs @@ -12,11 +12,11 @@ public enum InputMessageStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -35,8 +35,8 @@ public static string ToValueString(this InputMessageStatus value) { return value switch { - InputMessageStatus.InProgress => "in_progress", InputMessageStatus.Completed => "completed", + InputMessageStatus.InProgress => "in_progress", InputMessageStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -48,8 +48,8 @@ public static string ToValueString(this InputMessageStatus value) { return value switch { - "in_progress" => InputMessageStatus.InProgress, "completed" => InputMessageStatus.Completed, + "in_progress" => InputMessageStatus.InProgress, "incomplete" => InputMessageStatus.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteRequestRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteRequestRole.g.cs index ece34f40..d1575339 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteRequestRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteRequestRole.g.cs @@ -11,11 +11,11 @@ public enum InviteRequestRole /// /// /// - Reader, + Owner, /// /// /// - Owner, + Reader, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this InviteRequestRole value) { return value switch { - InviteRequestRole.Reader => "reader", InviteRequestRole.Owner => "owner", + InviteRequestRole.Reader => "reader", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this InviteRequestRole value) { return value switch { - "reader" => InviteRequestRole.Reader, "owner" => InviteRequestRole.Owner, + "reader" => InviteRequestRole.Reader, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFilesInVectorStoreBatchFilter.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFilesInVectorStoreBatchFilter.g.cs index 584d62b8..e8cf410b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFilesInVectorStoreBatchFilter.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFilesInVectorStoreBatchFilter.g.cs @@ -11,7 +11,7 @@ public enum ListFilesInVectorStoreBatchFilter /// /// /// - InProgress, + Cancelled, /// /// /// @@ -23,7 +23,7 @@ public enum ListFilesInVectorStoreBatchFilter /// /// /// - Cancelled, + InProgress, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this ListFilesInVectorStoreBatchFilter value) { return value switch { - ListFilesInVectorStoreBatchFilter.InProgress => "in_progress", + ListFilesInVectorStoreBatchFilter.Cancelled => "cancelled", ListFilesInVectorStoreBatchFilter.Completed => "completed", ListFilesInVectorStoreBatchFilter.Failed => "failed", - ListFilesInVectorStoreBatchFilter.Cancelled => "cancelled", + ListFilesInVectorStoreBatchFilter.InProgress => "in_progress", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this ListFilesInVectorStoreBatchFilter value) { return value switch { - "in_progress" => ListFilesInVectorStoreBatchFilter.InProgress, + "cancelled" => ListFilesInVectorStoreBatchFilter.Cancelled, "completed" => ListFilesInVectorStoreBatchFilter.Completed, "failed" => ListFilesInVectorStoreBatchFilter.Failed, - "cancelled" => ListFilesInVectorStoreBatchFilter.Cancelled, + "in_progress" => ListFilesInVectorStoreBatchFilter.InProgress, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListVectorStoreFilesFilter.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListVectorStoreFilesFilter.g.cs index 0f3e1923..d6270330 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListVectorStoreFilesFilter.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListVectorStoreFilesFilter.g.cs @@ -11,7 +11,7 @@ public enum ListVectorStoreFilesFilter /// /// /// - InProgress, + Cancelled, /// /// /// @@ -23,7 +23,7 @@ public enum ListVectorStoreFilesFilter /// /// /// - Cancelled, + InProgress, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this ListVectorStoreFilesFilter value) { return value switch { - ListVectorStoreFilesFilter.InProgress => "in_progress", + ListVectorStoreFilesFilter.Cancelled => "cancelled", ListVectorStoreFilesFilter.Completed => "completed", ListVectorStoreFilesFilter.Failed => "failed", - ListVectorStoreFilesFilter.Cancelled => "cancelled", + ListVectorStoreFilesFilter.InProgress => "in_progress", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this ListVectorStoreFilesFilter value) { return value switch { - "in_progress" => ListVectorStoreFilesFilter.InProgress, + "cancelled" => ListVectorStoreFilesFilter.Cancelled, "completed" => ListVectorStoreFilesFilter.Completed, "failed" => ListVectorStoreFilesFilter.Failed, - "cancelled" => ListVectorStoreFilesFilter.Cancelled, + "in_progress" => ListVectorStoreFilesFilter.InProgress, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellCallOutputStatusEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellCallOutputStatusEnum.g.cs index 67044a22..ce45eb23 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellCallOutputStatusEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellCallOutputStatusEnum.g.cs @@ -11,11 +11,11 @@ public enum LocalShellCallOutputStatusEnum /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -34,8 +34,8 @@ public static string ToValueString(this LocalShellCallOutputStatusEnum value) { return value switch { - LocalShellCallOutputStatusEnum.InProgress => "in_progress", LocalShellCallOutputStatusEnum.Completed => "completed", + LocalShellCallOutputStatusEnum.InProgress => "in_progress", LocalShellCallOutputStatusEnum.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -47,8 +47,8 @@ public static string ToValueString(this LocalShellCallOutputStatusEnum value) { return value switch { - "in_progress" => LocalShellCallOutputStatusEnum.InProgress, "completed" => LocalShellCallOutputStatusEnum.Completed, + "in_progress" => LocalShellCallOutputStatusEnum.InProgress, "incomplete" => LocalShellCallOutputStatusEnum.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellCallStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellCallStatus.g.cs index 92c72111..dea3c8e7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellCallStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellCallStatus.g.cs @@ -11,11 +11,11 @@ public enum LocalShellCallStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -34,8 +34,8 @@ public static string ToValueString(this LocalShellCallStatus value) { return value switch { - LocalShellCallStatus.InProgress => "in_progress", LocalShellCallStatus.Completed => "completed", + LocalShellCallStatus.InProgress => "in_progress", LocalShellCallStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -47,8 +47,8 @@ public static string ToValueString(this LocalShellCallStatus value) { return value switch { - "in_progress" => LocalShellCallStatus.InProgress, "completed" => LocalShellCallStatus.Completed, + "in_progress" => LocalShellCallStatus.InProgress, "incomplete" => LocalShellCallStatus.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallOutputStatus2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallOutputStatus2.g.cs index 1402b11c..bc1b23c7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallOutputStatus2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallOutputStatus2.g.cs @@ -11,11 +11,11 @@ public enum LocalShellToolCallOutputStatus2 /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -34,8 +34,8 @@ public static string ToValueString(this LocalShellToolCallOutputStatus2 value) { return value switch { - LocalShellToolCallOutputStatus2.InProgress => "in_progress", LocalShellToolCallOutputStatus2.Completed => "completed", + LocalShellToolCallOutputStatus2.InProgress => "in_progress", LocalShellToolCallOutputStatus2.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -47,8 +47,8 @@ public static string ToValueString(this LocalShellToolCallOutputStatus2 value) { return value switch { - "in_progress" => LocalShellToolCallOutputStatus2.InProgress, "completed" => LocalShellToolCallOutputStatus2.Completed, + "in_progress" => LocalShellToolCallOutputStatus2.InProgress, "incomplete" => LocalShellToolCallOutputStatus2.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallStatus.g.cs index 97ca3789..b44af5ed 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallStatus.g.cs @@ -11,11 +11,11 @@ public enum LocalShellToolCallStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -34,8 +34,8 @@ public static string ToValueString(this LocalShellToolCallStatus value) { return value switch { - LocalShellToolCallStatus.InProgress => "in_progress", LocalShellToolCallStatus.Completed => "completed", + LocalShellToolCallStatus.InProgress => "in_progress", LocalShellToolCallStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -47,8 +47,8 @@ public static string ToValueString(this LocalShellToolCallStatus value) { return value switch { - "in_progress" => LocalShellToolCallStatus.InProgress, "completed" => LocalShellToolCallStatus.Completed, + "in_progress" => LocalShellToolCallStatus.InProgress, "incomplete" => LocalShellToolCallStatus.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPToolCallStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPToolCallStatus.g.cs index 217969f6..95bea889 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPToolCallStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPToolCallStatus.g.cs @@ -11,7 +11,7 @@ public enum MCPToolCallStatus /// /// /// - InProgress, + Calling, /// /// /// @@ -19,15 +19,15 @@ public enum MCPToolCallStatus /// /// /// - Incomplete, + Failed, /// /// /// - Calling, + InProgress, /// /// /// - Failed, + Incomplete, } /// @@ -42,11 +42,11 @@ public static string ToValueString(this MCPToolCallStatus value) { return value switch { - MCPToolCallStatus.InProgress => "in_progress", - MCPToolCallStatus.Completed => "completed", - MCPToolCallStatus.Incomplete => "incomplete", MCPToolCallStatus.Calling => "calling", + MCPToolCallStatus.Completed => "completed", MCPToolCallStatus.Failed => "failed", + MCPToolCallStatus.InProgress => "in_progress", + MCPToolCallStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -57,11 +57,11 @@ public static string ToValueString(this MCPToolCallStatus value) { return value switch { - "in_progress" => MCPToolCallStatus.InProgress, - "completed" => MCPToolCallStatus.Completed, - "incomplete" => MCPToolCallStatus.Incomplete, "calling" => MCPToolCallStatus.Calling, + "completed" => MCPToolCallStatus.Completed, "failed" => MCPToolCallStatus.Failed, + "in_progress" => MCPToolCallStatus.InProgress, + "incomplete" => MCPToolCallStatus.Incomplete, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageFileObjectImageFileDetail.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageFileObjectImageFileDetail.g.cs index 550384b6..5f48ac63 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageFileObjectImageFileDetail.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageFileObjectImageFileDetail.g.cs @@ -16,11 +16,11 @@ public enum MessageContentImageFileObjectImageFileDetail /// /// /// - Low, + High, /// /// /// - High, + Low, } /// @@ -36,8 +36,8 @@ public static string ToValueString(this MessageContentImageFileObjectImageFileDe return value switch { MessageContentImageFileObjectImageFileDetail.Auto => "auto", - MessageContentImageFileObjectImageFileDetail.Low => "low", MessageContentImageFileObjectImageFileDetail.High => "high", + MessageContentImageFileObjectImageFileDetail.Low => "low", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -49,8 +49,8 @@ public static string ToValueString(this MessageContentImageFileObjectImageFileDe return value switch { "auto" => MessageContentImageFileObjectImageFileDetail.Auto, - "low" => MessageContentImageFileObjectImageFileDetail.Low, "high" => MessageContentImageFileObjectImageFileDetail.High, + "low" => MessageContentImageFileObjectImageFileDetail.Low, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageUrlObjectImageUrlDetail.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageUrlObjectImageUrlDetail.g.cs index eece6d34..279e0b0f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageUrlObjectImageUrlDetail.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageUrlObjectImageUrlDetail.g.cs @@ -16,11 +16,11 @@ public enum MessageContentImageUrlObjectImageUrlDetail /// /// /// - Low, + High, /// /// /// - High, + Low, } /// @@ -36,8 +36,8 @@ public static string ToValueString(this MessageContentImageUrlObjectImageUrlDeta return value switch { MessageContentImageUrlObjectImageUrlDetail.Auto => "auto", - MessageContentImageUrlObjectImageUrlDetail.Low => "low", MessageContentImageUrlObjectImageUrlDetail.High => "high", + MessageContentImageUrlObjectImageUrlDetail.Low => "low", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -49,8 +49,8 @@ public static string ToValueString(this MessageContentImageUrlObjectImageUrlDeta return value switch { "auto" => MessageContentImageUrlObjectImageUrlDetail.Auto, - "low" => MessageContentImageUrlObjectImageUrlDetail.Low, "high" => MessageContentImageUrlObjectImageUrlDetail.High, + "low" => MessageContentImageUrlObjectImageUrlDetail.Low, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaContentImageFileObjectImageFileDetail.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaContentImageFileObjectImageFileDetail.g.cs index b74c3e87..2436aa59 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaContentImageFileObjectImageFileDetail.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaContentImageFileObjectImageFileDetail.g.cs @@ -16,11 +16,11 @@ public enum MessageDeltaContentImageFileObjectImageFileDetail /// /// /// - Low, + High, /// /// /// - High, + Low, } /// @@ -36,8 +36,8 @@ public static string ToValueString(this MessageDeltaContentImageFileObjectImageF return value switch { MessageDeltaContentImageFileObjectImageFileDetail.Auto => "auto", - MessageDeltaContentImageFileObjectImageFileDetail.Low => "low", MessageDeltaContentImageFileObjectImageFileDetail.High => "high", + MessageDeltaContentImageFileObjectImageFileDetail.Low => "low", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -49,8 +49,8 @@ public static string ToValueString(this MessageDeltaContentImageFileObjectImageF return value switch { "auto" => MessageDeltaContentImageFileObjectImageFileDetail.Auto, - "low" => MessageDeltaContentImageFileObjectImageFileDetail.Low, "high" => MessageDeltaContentImageFileObjectImageFileDetail.High, + "low" => MessageDeltaContentImageFileObjectImageFileDetail.Low, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaContentImageUrlObjectImageUrlDetail.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaContentImageUrlObjectImageUrlDetail.g.cs index bc4337fd..a0656a0a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaContentImageUrlObjectImageUrlDetail.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaContentImageUrlObjectImageUrlDetail.g.cs @@ -16,11 +16,11 @@ public enum MessageDeltaContentImageUrlObjectImageUrlDetail /// /// /// - Low, + High, /// /// /// - High, + Low, } /// @@ -36,8 +36,8 @@ public static string ToValueString(this MessageDeltaContentImageUrlObjectImageUr return value switch { MessageDeltaContentImageUrlObjectImageUrlDetail.Auto => "auto", - MessageDeltaContentImageUrlObjectImageUrlDetail.Low => "low", MessageDeltaContentImageUrlObjectImageUrlDetail.High => "high", + MessageDeltaContentImageUrlObjectImageUrlDetail.Low => "low", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -49,8 +49,8 @@ public static string ToValueString(this MessageDeltaContentImageUrlObjectImageUr return value switch { "auto" => MessageDeltaContentImageUrlObjectImageUrlDetail.Auto, - "low" => MessageDeltaContentImageUrlObjectImageUrlDetail.Low, "high" => MessageDeltaContentImageUrlObjectImageUrlDetail.High, + "low" => MessageDeltaContentImageUrlObjectImageUrlDetail.Low, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaObjectDeltaRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaObjectDeltaRole.g.cs index 916b411d..7737041d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaObjectDeltaRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaObjectDeltaRole.g.cs @@ -11,11 +11,11 @@ public enum MessageDeltaObjectDeltaRole /// /// /// - User, + Assistant, /// /// /// - Assistant, + User, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this MessageDeltaObjectDeltaRole value) { return value switch { - MessageDeltaObjectDeltaRole.User => "user", MessageDeltaObjectDeltaRole.Assistant => "assistant", + MessageDeltaObjectDeltaRole.User => "user", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this MessageDeltaObjectDeltaRole value) { return value switch { - "user" => MessageDeltaObjectDeltaRole.User, "assistant" => MessageDeltaObjectDeltaRole.Assistant, + "user" => MessageDeltaObjectDeltaRole.User, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObjectRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObjectRole.g.cs index 67ada4e1..957e74ed 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObjectRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObjectRole.g.cs @@ -11,11 +11,11 @@ public enum MessageObjectRole /// /// /// - User, + Assistant, /// /// /// - Assistant, + User, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this MessageObjectRole value) { return value switch { - MessageObjectRole.User => "user", MessageObjectRole.Assistant => "assistant", + MessageObjectRole.User => "user", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this MessageObjectRole value) { return value switch { - "user" => MessageObjectRole.User, "assistant" => MessageObjectRole.Assistant, + "user" => MessageObjectRole.User, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObjectStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObjectStatus.g.cs index 4c958952..255897a3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObjectStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObjectStatus.g.cs @@ -11,15 +11,15 @@ public enum MessageObjectStatus /// /// /// - InProgress, + Completed, /// /// /// - Incomplete, + InProgress, /// /// /// - Completed, + Incomplete, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this MessageObjectStatus value) { return value switch { + MessageObjectStatus.Completed => "completed", MessageObjectStatus.InProgress => "in_progress", MessageObjectStatus.Incomplete => "incomplete", - MessageObjectStatus.Completed => "completed", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this MessageObjectStatus value) { return value switch { + "completed" => MessageObjectStatus.Completed, "in_progress" => MessageObjectStatus.InProgress, "incomplete" => MessageObjectStatus.Incomplete, - "completed" => MessageObjectStatus.Completed, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageRole.g.cs index c6cc327d..fc484b04 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageRole.g.cs @@ -11,35 +11,35 @@ public enum MessageRole /// /// /// - Unknown, + Assistant, /// /// /// - User, + Critic, /// /// /// - Assistant, + Developer, /// /// /// - System, + Discriminator, /// /// /// - Critic, + System, /// /// /// - Discriminator, + Tool, /// /// /// - Developer, + Unknown, /// /// /// - Tool, + User, } /// @@ -54,14 +54,14 @@ public static string ToValueString(this MessageRole value) { return value switch { - MessageRole.Unknown => "unknown", - MessageRole.User => "user", MessageRole.Assistant => "assistant", - MessageRole.System => "system", MessageRole.Critic => "critic", - MessageRole.Discriminator => "discriminator", MessageRole.Developer => "developer", + MessageRole.Discriminator => "discriminator", + MessageRole.System => "system", MessageRole.Tool => "tool", + MessageRole.Unknown => "unknown", + MessageRole.User => "user", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -72,14 +72,14 @@ public static string ToValueString(this MessageRole value) { return value switch { - "unknown" => MessageRole.Unknown, - "user" => MessageRole.User, "assistant" => MessageRole.Assistant, - "system" => MessageRole.System, "critic" => MessageRole.Critic, - "discriminator" => MessageRole.Discriminator, "developer" => MessageRole.Developer, + "discriminator" => MessageRole.Discriminator, + "system" => MessageRole.System, "tool" => MessageRole.Tool, + "unknown" => MessageRole.Unknown, + "user" => MessageRole.User, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStatus.g.cs index 7c40b5e3..3c1f8c76 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStatus.g.cs @@ -11,11 +11,11 @@ public enum MessageStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -34,8 +34,8 @@ public static string ToValueString(this MessageStatus value) { return value switch { - MessageStatus.InProgress => "in_progress", MessageStatus.Completed => "completed", + MessageStatus.InProgress => "in_progress", MessageStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -47,8 +47,8 @@ public static string ToValueString(this MessageStatus value) { return value switch { - "in_progress" => MessageStatus.InProgress, "completed" => MessageStatus.Completed, + "in_progress" => MessageStatus.InProgress, "incomplete" => MessageStatus.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelIdsResponsesEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelIdsResponsesEnum.g.cs index 4bb202e6..54684d04 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelIdsResponsesEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelIdsResponsesEnum.g.cs @@ -11,59 +11,59 @@ public enum ModelIdsResponsesEnum /// /// /// - O1Pro, + ComputerUsePreview, /// /// /// - O1Pro20250319, + ComputerUsePreview20250311, /// /// /// - O3Pro, + Gpt5Codex, /// /// /// - O3Pro20250610, + Gpt5Pro, /// /// /// - O3DeepResearch, + Gpt5Pro20251006, /// /// /// - O3DeepResearch20250626, + Gpt51CodexMax, /// /// /// - O4MiniDeepResearch, + O1Pro, /// /// /// - O4MiniDeepResearch20250626, + O1Pro20250319, /// /// /// - ComputerUsePreview, + O3DeepResearch, /// /// /// - ComputerUsePreview20250311, + O3DeepResearch20250626, /// /// /// - Gpt5Codex, + O3Pro, /// /// /// - Gpt5Pro, + O3Pro20250610, /// /// /// - Gpt5Pro20251006, + O4MiniDeepResearch, /// /// /// - Gpt51CodexMax, + O4MiniDeepResearch20250626, } /// @@ -78,20 +78,20 @@ public static string ToValueString(this ModelIdsResponsesEnum value) { return value switch { - ModelIdsResponsesEnum.O1Pro => "o1-pro", - ModelIdsResponsesEnum.O1Pro20250319 => "o1-pro-2025-03-19", - ModelIdsResponsesEnum.O3Pro => "o3-pro", - ModelIdsResponsesEnum.O3Pro20250610 => "o3-pro-2025-06-10", - ModelIdsResponsesEnum.O3DeepResearch => "o3-deep-research", - ModelIdsResponsesEnum.O3DeepResearch20250626 => "o3-deep-research-2025-06-26", - ModelIdsResponsesEnum.O4MiniDeepResearch => "o4-mini-deep-research", - ModelIdsResponsesEnum.O4MiniDeepResearch20250626 => "o4-mini-deep-research-2025-06-26", ModelIdsResponsesEnum.ComputerUsePreview => "computer-use-preview", ModelIdsResponsesEnum.ComputerUsePreview20250311 => "computer-use-preview-2025-03-11", ModelIdsResponsesEnum.Gpt5Codex => "gpt-5-codex", ModelIdsResponsesEnum.Gpt5Pro => "gpt-5-pro", ModelIdsResponsesEnum.Gpt5Pro20251006 => "gpt-5-pro-2025-10-06", ModelIdsResponsesEnum.Gpt51CodexMax => "gpt-5.1-codex-max", + ModelIdsResponsesEnum.O1Pro => "o1-pro", + ModelIdsResponsesEnum.O1Pro20250319 => "o1-pro-2025-03-19", + ModelIdsResponsesEnum.O3DeepResearch => "o3-deep-research", + ModelIdsResponsesEnum.O3DeepResearch20250626 => "o3-deep-research-2025-06-26", + ModelIdsResponsesEnum.O3Pro => "o3-pro", + ModelIdsResponsesEnum.O3Pro20250610 => "o3-pro-2025-06-10", + ModelIdsResponsesEnum.O4MiniDeepResearch => "o4-mini-deep-research", + ModelIdsResponsesEnum.O4MiniDeepResearch20250626 => "o4-mini-deep-research-2025-06-26", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -102,20 +102,20 @@ public static string ToValueString(this ModelIdsResponsesEnum value) { return value switch { - "o1-pro" => ModelIdsResponsesEnum.O1Pro, - "o1-pro-2025-03-19" => ModelIdsResponsesEnum.O1Pro20250319, - "o3-pro" => ModelIdsResponsesEnum.O3Pro, - "o3-pro-2025-06-10" => ModelIdsResponsesEnum.O3Pro20250610, - "o3-deep-research" => ModelIdsResponsesEnum.O3DeepResearch, - "o3-deep-research-2025-06-26" => ModelIdsResponsesEnum.O3DeepResearch20250626, - "o4-mini-deep-research" => ModelIdsResponsesEnum.O4MiniDeepResearch, - "o4-mini-deep-research-2025-06-26" => ModelIdsResponsesEnum.O4MiniDeepResearch20250626, "computer-use-preview" => ModelIdsResponsesEnum.ComputerUsePreview, "computer-use-preview-2025-03-11" => ModelIdsResponsesEnum.ComputerUsePreview20250311, "gpt-5-codex" => ModelIdsResponsesEnum.Gpt5Codex, "gpt-5-pro" => ModelIdsResponsesEnum.Gpt5Pro, "gpt-5-pro-2025-10-06" => ModelIdsResponsesEnum.Gpt5Pro20251006, "gpt-5.1-codex-max" => ModelIdsResponsesEnum.Gpt51CodexMax, + "o1-pro" => ModelIdsResponsesEnum.O1Pro, + "o1-pro-2025-03-19" => ModelIdsResponsesEnum.O1Pro20250319, + "o3-deep-research" => ModelIdsResponsesEnum.O3DeepResearch, + "o3-deep-research-2025-06-26" => ModelIdsResponsesEnum.O3DeepResearch20250626, + "o3-pro" => ModelIdsResponsesEnum.O3Pro, + "o3-pro-2025-06-10" => ModelIdsResponsesEnum.O3Pro20250610, + "o4-mini-deep-research" => ModelIdsResponsesEnum.O4MiniDeepResearch, + "o4-mini-deep-research-2025-06-26" => ModelIdsResponsesEnum.O4MiniDeepResearch20250626, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelIdsSharedEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelIdsSharedEnum.g.cs index 072b1b97..79be6155 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelIdsSharedEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelIdsSharedEnum.g.cs @@ -11,103 +11,103 @@ public enum ModelIdsSharedEnum /// /// /// - Gpt54, + Chatgpt4oLatest, /// /// /// - Gpt54Mini, + CodexMiniLatest, /// /// /// - Gpt54Nano, + Gpt35Turbo, /// /// /// - Gpt54Mini20260317, + Gpt35Turbo0125, /// /// /// - Gpt54Nano20260317, + Gpt35Turbo0301, /// /// /// - Gpt53ChatLatest, + Gpt35Turbo0613, /// /// /// - Gpt52, + Gpt35Turbo1106, /// /// /// - Gpt5220251211, + Gpt35Turbo16k, /// /// /// - Gpt52ChatLatest, + Gpt35Turbo16k0613, /// /// /// - Gpt52Pro, + Gpt4, /// /// /// - Gpt52Pro20251211, + Gpt40125Preview, /// /// /// - Gpt51, + Gpt40314, /// /// /// - Gpt5120251113, + Gpt40613, /// /// /// - Gpt51Codex, + Gpt41106Preview, /// /// /// - Gpt51Mini, + Gpt432k, /// /// /// - Gpt51ChatLatest, + Gpt432k0314, /// /// /// - Gpt5, + Gpt432k0613, /// /// /// - Gpt5Mini, + Gpt4Turbo, /// /// /// - Gpt5Nano, + Gpt4Turbo20240409, /// /// /// - Gpt520250807, + Gpt4TurboPreview, /// /// /// - Gpt5Mini20250807, + Gpt4VisionPreview, /// /// /// - Gpt5Nano20250807, + Gpt41, /// /// /// - Gpt5ChatLatest, + Gpt4120250414, /// /// /// - Gpt41, + Gpt41Mini, /// /// /// - Gpt41Mini, + Gpt41Mini20250414, /// /// /// @@ -115,211 +115,211 @@ public enum ModelIdsSharedEnum /// /// /// - Gpt4120250414, + Gpt41Nano20250414, /// /// /// - Gpt41Mini20250414, + Gpt4o, /// /// /// - Gpt41Nano20250414, + Gpt4o20240513, /// /// /// - O4Mini, + Gpt4o20240806, /// /// /// - O4Mini20250416, + Gpt4o20241120, /// /// /// - O3, + Gpt4oAudioPreview, /// /// /// - O320250416, + Gpt4oAudioPreview20241001, /// /// /// - O3Mini, + Gpt4oAudioPreview20241217, /// /// /// - O3Mini20250131, + Gpt4oAudioPreview20250603, /// /// /// - O1, + Gpt4oMini, /// /// /// - O120241217, + Gpt4oMini20240718, /// /// /// - O1Preview, + Gpt4oMiniAudioPreview, /// /// /// - O1Preview20240912, + Gpt4oMiniAudioPreview20241217, /// /// /// - O1Mini, + Gpt4oMiniSearchPreview, /// /// /// - O1Mini20240912, + Gpt4oMiniSearchPreview20250311, /// /// /// - Gpt4o, + Gpt4oSearchPreview, /// /// /// - Gpt4o20241120, + Gpt4oSearchPreview20250311, /// /// /// - Gpt4o20240806, + Gpt5, /// /// /// - Gpt4o20240513, + Gpt520250807, /// /// /// - Gpt4oAudioPreview, + Gpt5ChatLatest, /// /// /// - Gpt4oAudioPreview20241001, + Gpt5Mini, /// /// /// - Gpt4oAudioPreview20241217, + Gpt5Mini20250807, /// /// /// - Gpt4oAudioPreview20250603, + Gpt5Nano, /// /// /// - Gpt4oMiniAudioPreview, + Gpt5Nano20250807, /// /// /// - Gpt4oMiniAudioPreview20241217, + Gpt51, /// /// /// - Gpt4oSearchPreview, + Gpt5120251113, /// /// /// - Gpt4oMiniSearchPreview, + Gpt51ChatLatest, /// /// /// - Gpt4oSearchPreview20250311, + Gpt51Codex, /// /// /// - Gpt4oMiniSearchPreview20250311, + Gpt51Mini, /// /// /// - Chatgpt4oLatest, + Gpt52, /// /// /// - CodexMiniLatest, + Gpt5220251211, /// /// /// - Gpt4oMini, + Gpt52ChatLatest, /// /// /// - Gpt4oMini20240718, + Gpt52Pro, /// /// /// - Gpt4Turbo, + Gpt52Pro20251211, /// /// /// - Gpt4Turbo20240409, + Gpt53ChatLatest, /// /// /// - Gpt40125Preview, + Gpt54, /// /// /// - Gpt4TurboPreview, + Gpt54Mini, /// /// /// - Gpt41106Preview, + Gpt54Mini20260317, /// /// /// - Gpt4VisionPreview, + Gpt54Nano, /// /// /// - Gpt4, + Gpt54Nano20260317, /// /// /// - Gpt40314, + O1, /// /// /// - Gpt40613, + O120241217, /// /// /// - Gpt432k, + O1Mini, /// /// /// - Gpt432k0314, + O1Mini20240912, /// /// /// - Gpt432k0613, + O1Preview, /// /// /// - Gpt35Turbo, + O1Preview20240912, /// /// /// - Gpt35Turbo16k, + O3, /// /// /// - Gpt35Turbo0301, + O320250416, /// /// /// - Gpt35Turbo0613, + O3Mini, /// /// /// - Gpt35Turbo1106, + O3Mini20250131, /// /// /// - Gpt35Turbo0125, + O4Mini, /// /// /// - Gpt35Turbo16k0613, + O4Mini20250416, } /// @@ -334,84 +334,84 @@ public static string ToValueString(this ModelIdsSharedEnum value) { return value switch { - ModelIdsSharedEnum.Gpt54 => "gpt-5.4", - ModelIdsSharedEnum.Gpt54Mini => "gpt-5.4-mini", - ModelIdsSharedEnum.Gpt54Nano => "gpt-5.4-nano", - ModelIdsSharedEnum.Gpt54Mini20260317 => "gpt-5.4-mini-2026-03-17", - ModelIdsSharedEnum.Gpt54Nano20260317 => "gpt-5.4-nano-2026-03-17", - ModelIdsSharedEnum.Gpt53ChatLatest => "gpt-5.3-chat-latest", - ModelIdsSharedEnum.Gpt52 => "gpt-5.2", - ModelIdsSharedEnum.Gpt5220251211 => "gpt-5.2-2025-12-11", - ModelIdsSharedEnum.Gpt52ChatLatest => "gpt-5.2-chat-latest", - ModelIdsSharedEnum.Gpt52Pro => "gpt-5.2-pro", - ModelIdsSharedEnum.Gpt52Pro20251211 => "gpt-5.2-pro-2025-12-11", - ModelIdsSharedEnum.Gpt51 => "gpt-5.1", - ModelIdsSharedEnum.Gpt5120251113 => "gpt-5.1-2025-11-13", - ModelIdsSharedEnum.Gpt51Codex => "gpt-5.1-codex", - ModelIdsSharedEnum.Gpt51Mini => "gpt-5.1-mini", - ModelIdsSharedEnum.Gpt51ChatLatest => "gpt-5.1-chat-latest", - ModelIdsSharedEnum.Gpt5 => "gpt-5", - ModelIdsSharedEnum.Gpt5Mini => "gpt-5-mini", - ModelIdsSharedEnum.Gpt5Nano => "gpt-5-nano", - ModelIdsSharedEnum.Gpt520250807 => "gpt-5-2025-08-07", - ModelIdsSharedEnum.Gpt5Mini20250807 => "gpt-5-mini-2025-08-07", - ModelIdsSharedEnum.Gpt5Nano20250807 => "gpt-5-nano-2025-08-07", - ModelIdsSharedEnum.Gpt5ChatLatest => "gpt-5-chat-latest", + ModelIdsSharedEnum.Chatgpt4oLatest => "chatgpt-4o-latest", + ModelIdsSharedEnum.CodexMiniLatest => "codex-mini-latest", + ModelIdsSharedEnum.Gpt35Turbo => "gpt-3.5-turbo", + ModelIdsSharedEnum.Gpt35Turbo0125 => "gpt-3.5-turbo-0125", + ModelIdsSharedEnum.Gpt35Turbo0301 => "gpt-3.5-turbo-0301", + ModelIdsSharedEnum.Gpt35Turbo0613 => "gpt-3.5-turbo-0613", + ModelIdsSharedEnum.Gpt35Turbo1106 => "gpt-3.5-turbo-1106", + ModelIdsSharedEnum.Gpt35Turbo16k => "gpt-3.5-turbo-16k", + ModelIdsSharedEnum.Gpt35Turbo16k0613 => "gpt-3.5-turbo-16k-0613", + ModelIdsSharedEnum.Gpt4 => "gpt-4", + ModelIdsSharedEnum.Gpt40125Preview => "gpt-4-0125-preview", + ModelIdsSharedEnum.Gpt40314 => "gpt-4-0314", + ModelIdsSharedEnum.Gpt40613 => "gpt-4-0613", + ModelIdsSharedEnum.Gpt41106Preview => "gpt-4-1106-preview", + ModelIdsSharedEnum.Gpt432k => "gpt-4-32k", + ModelIdsSharedEnum.Gpt432k0314 => "gpt-4-32k-0314", + ModelIdsSharedEnum.Gpt432k0613 => "gpt-4-32k-0613", + ModelIdsSharedEnum.Gpt4Turbo => "gpt-4-turbo", + ModelIdsSharedEnum.Gpt4Turbo20240409 => "gpt-4-turbo-2024-04-09", + ModelIdsSharedEnum.Gpt4TurboPreview => "gpt-4-turbo-preview", + ModelIdsSharedEnum.Gpt4VisionPreview => "gpt-4-vision-preview", ModelIdsSharedEnum.Gpt41 => "gpt-4.1", - ModelIdsSharedEnum.Gpt41Mini => "gpt-4.1-mini", - ModelIdsSharedEnum.Gpt41Nano => "gpt-4.1-nano", ModelIdsSharedEnum.Gpt4120250414 => "gpt-4.1-2025-04-14", + ModelIdsSharedEnum.Gpt41Mini => "gpt-4.1-mini", ModelIdsSharedEnum.Gpt41Mini20250414 => "gpt-4.1-mini-2025-04-14", + ModelIdsSharedEnum.Gpt41Nano => "gpt-4.1-nano", ModelIdsSharedEnum.Gpt41Nano20250414 => "gpt-4.1-nano-2025-04-14", - ModelIdsSharedEnum.O4Mini => "o4-mini", - ModelIdsSharedEnum.O4Mini20250416 => "o4-mini-2025-04-16", - ModelIdsSharedEnum.O3 => "o3", - ModelIdsSharedEnum.O320250416 => "o3-2025-04-16", - ModelIdsSharedEnum.O3Mini => "o3-mini", - ModelIdsSharedEnum.O3Mini20250131 => "o3-mini-2025-01-31", - ModelIdsSharedEnum.O1 => "o1", - ModelIdsSharedEnum.O120241217 => "o1-2024-12-17", - ModelIdsSharedEnum.O1Preview => "o1-preview", - ModelIdsSharedEnum.O1Preview20240912 => "o1-preview-2024-09-12", - ModelIdsSharedEnum.O1Mini => "o1-mini", - ModelIdsSharedEnum.O1Mini20240912 => "o1-mini-2024-09-12", ModelIdsSharedEnum.Gpt4o => "gpt-4o", - ModelIdsSharedEnum.Gpt4o20241120 => "gpt-4o-2024-11-20", - ModelIdsSharedEnum.Gpt4o20240806 => "gpt-4o-2024-08-06", ModelIdsSharedEnum.Gpt4o20240513 => "gpt-4o-2024-05-13", + ModelIdsSharedEnum.Gpt4o20240806 => "gpt-4o-2024-08-06", + ModelIdsSharedEnum.Gpt4o20241120 => "gpt-4o-2024-11-20", ModelIdsSharedEnum.Gpt4oAudioPreview => "gpt-4o-audio-preview", ModelIdsSharedEnum.Gpt4oAudioPreview20241001 => "gpt-4o-audio-preview-2024-10-01", ModelIdsSharedEnum.Gpt4oAudioPreview20241217 => "gpt-4o-audio-preview-2024-12-17", ModelIdsSharedEnum.Gpt4oAudioPreview20250603 => "gpt-4o-audio-preview-2025-06-03", + ModelIdsSharedEnum.Gpt4oMini => "gpt-4o-mini", + ModelIdsSharedEnum.Gpt4oMini20240718 => "gpt-4o-mini-2024-07-18", ModelIdsSharedEnum.Gpt4oMiniAudioPreview => "gpt-4o-mini-audio-preview", ModelIdsSharedEnum.Gpt4oMiniAudioPreview20241217 => "gpt-4o-mini-audio-preview-2024-12-17", - ModelIdsSharedEnum.Gpt4oSearchPreview => "gpt-4o-search-preview", ModelIdsSharedEnum.Gpt4oMiniSearchPreview => "gpt-4o-mini-search-preview", - ModelIdsSharedEnum.Gpt4oSearchPreview20250311 => "gpt-4o-search-preview-2025-03-11", ModelIdsSharedEnum.Gpt4oMiniSearchPreview20250311 => "gpt-4o-mini-search-preview-2025-03-11", - ModelIdsSharedEnum.Chatgpt4oLatest => "chatgpt-4o-latest", - ModelIdsSharedEnum.CodexMiniLatest => "codex-mini-latest", - ModelIdsSharedEnum.Gpt4oMini => "gpt-4o-mini", - ModelIdsSharedEnum.Gpt4oMini20240718 => "gpt-4o-mini-2024-07-18", - ModelIdsSharedEnum.Gpt4Turbo => "gpt-4-turbo", - ModelIdsSharedEnum.Gpt4Turbo20240409 => "gpt-4-turbo-2024-04-09", - ModelIdsSharedEnum.Gpt40125Preview => "gpt-4-0125-preview", - ModelIdsSharedEnum.Gpt4TurboPreview => "gpt-4-turbo-preview", - ModelIdsSharedEnum.Gpt41106Preview => "gpt-4-1106-preview", - ModelIdsSharedEnum.Gpt4VisionPreview => "gpt-4-vision-preview", - ModelIdsSharedEnum.Gpt4 => "gpt-4", - ModelIdsSharedEnum.Gpt40314 => "gpt-4-0314", - ModelIdsSharedEnum.Gpt40613 => "gpt-4-0613", - ModelIdsSharedEnum.Gpt432k => "gpt-4-32k", - ModelIdsSharedEnum.Gpt432k0314 => "gpt-4-32k-0314", - ModelIdsSharedEnum.Gpt432k0613 => "gpt-4-32k-0613", - ModelIdsSharedEnum.Gpt35Turbo => "gpt-3.5-turbo", - ModelIdsSharedEnum.Gpt35Turbo16k => "gpt-3.5-turbo-16k", - ModelIdsSharedEnum.Gpt35Turbo0301 => "gpt-3.5-turbo-0301", - ModelIdsSharedEnum.Gpt35Turbo0613 => "gpt-3.5-turbo-0613", - ModelIdsSharedEnum.Gpt35Turbo1106 => "gpt-3.5-turbo-1106", - ModelIdsSharedEnum.Gpt35Turbo0125 => "gpt-3.5-turbo-0125", - ModelIdsSharedEnum.Gpt35Turbo16k0613 => "gpt-3.5-turbo-16k-0613", + ModelIdsSharedEnum.Gpt4oSearchPreview => "gpt-4o-search-preview", + ModelIdsSharedEnum.Gpt4oSearchPreview20250311 => "gpt-4o-search-preview-2025-03-11", + ModelIdsSharedEnum.Gpt5 => "gpt-5", + ModelIdsSharedEnum.Gpt520250807 => "gpt-5-2025-08-07", + ModelIdsSharedEnum.Gpt5ChatLatest => "gpt-5-chat-latest", + ModelIdsSharedEnum.Gpt5Mini => "gpt-5-mini", + ModelIdsSharedEnum.Gpt5Mini20250807 => "gpt-5-mini-2025-08-07", + ModelIdsSharedEnum.Gpt5Nano => "gpt-5-nano", + ModelIdsSharedEnum.Gpt5Nano20250807 => "gpt-5-nano-2025-08-07", + ModelIdsSharedEnum.Gpt51 => "gpt-5.1", + ModelIdsSharedEnum.Gpt5120251113 => "gpt-5.1-2025-11-13", + ModelIdsSharedEnum.Gpt51ChatLatest => "gpt-5.1-chat-latest", + ModelIdsSharedEnum.Gpt51Codex => "gpt-5.1-codex", + ModelIdsSharedEnum.Gpt51Mini => "gpt-5.1-mini", + ModelIdsSharedEnum.Gpt52 => "gpt-5.2", + ModelIdsSharedEnum.Gpt5220251211 => "gpt-5.2-2025-12-11", + ModelIdsSharedEnum.Gpt52ChatLatest => "gpt-5.2-chat-latest", + ModelIdsSharedEnum.Gpt52Pro => "gpt-5.2-pro", + ModelIdsSharedEnum.Gpt52Pro20251211 => "gpt-5.2-pro-2025-12-11", + ModelIdsSharedEnum.Gpt53ChatLatest => "gpt-5.3-chat-latest", + ModelIdsSharedEnum.Gpt54 => "gpt-5.4", + ModelIdsSharedEnum.Gpt54Mini => "gpt-5.4-mini", + ModelIdsSharedEnum.Gpt54Mini20260317 => "gpt-5.4-mini-2026-03-17", + ModelIdsSharedEnum.Gpt54Nano => "gpt-5.4-nano", + ModelIdsSharedEnum.Gpt54Nano20260317 => "gpt-5.4-nano-2026-03-17", + ModelIdsSharedEnum.O1 => "o1", + ModelIdsSharedEnum.O120241217 => "o1-2024-12-17", + ModelIdsSharedEnum.O1Mini => "o1-mini", + ModelIdsSharedEnum.O1Mini20240912 => "o1-mini-2024-09-12", + ModelIdsSharedEnum.O1Preview => "o1-preview", + ModelIdsSharedEnum.O1Preview20240912 => "o1-preview-2024-09-12", + ModelIdsSharedEnum.O3 => "o3", + ModelIdsSharedEnum.O320250416 => "o3-2025-04-16", + ModelIdsSharedEnum.O3Mini => "o3-mini", + ModelIdsSharedEnum.O3Mini20250131 => "o3-mini-2025-01-31", + ModelIdsSharedEnum.O4Mini => "o4-mini", + ModelIdsSharedEnum.O4Mini20250416 => "o4-mini-2025-04-16", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -422,84 +422,84 @@ public static string ToValueString(this ModelIdsSharedEnum value) { return value switch { - "gpt-5.4" => ModelIdsSharedEnum.Gpt54, - "gpt-5.4-mini" => ModelIdsSharedEnum.Gpt54Mini, - "gpt-5.4-nano" => ModelIdsSharedEnum.Gpt54Nano, - "gpt-5.4-mini-2026-03-17" => ModelIdsSharedEnum.Gpt54Mini20260317, - "gpt-5.4-nano-2026-03-17" => ModelIdsSharedEnum.Gpt54Nano20260317, - "gpt-5.3-chat-latest" => ModelIdsSharedEnum.Gpt53ChatLatest, - "gpt-5.2" => ModelIdsSharedEnum.Gpt52, - "gpt-5.2-2025-12-11" => ModelIdsSharedEnum.Gpt5220251211, - "gpt-5.2-chat-latest" => ModelIdsSharedEnum.Gpt52ChatLatest, - "gpt-5.2-pro" => ModelIdsSharedEnum.Gpt52Pro, - "gpt-5.2-pro-2025-12-11" => ModelIdsSharedEnum.Gpt52Pro20251211, - "gpt-5.1" => ModelIdsSharedEnum.Gpt51, - "gpt-5.1-2025-11-13" => ModelIdsSharedEnum.Gpt5120251113, - "gpt-5.1-codex" => ModelIdsSharedEnum.Gpt51Codex, - "gpt-5.1-mini" => ModelIdsSharedEnum.Gpt51Mini, - "gpt-5.1-chat-latest" => ModelIdsSharedEnum.Gpt51ChatLatest, - "gpt-5" => ModelIdsSharedEnum.Gpt5, - "gpt-5-mini" => ModelIdsSharedEnum.Gpt5Mini, - "gpt-5-nano" => ModelIdsSharedEnum.Gpt5Nano, - "gpt-5-2025-08-07" => ModelIdsSharedEnum.Gpt520250807, - "gpt-5-mini-2025-08-07" => ModelIdsSharedEnum.Gpt5Mini20250807, - "gpt-5-nano-2025-08-07" => ModelIdsSharedEnum.Gpt5Nano20250807, - "gpt-5-chat-latest" => ModelIdsSharedEnum.Gpt5ChatLatest, + "chatgpt-4o-latest" => ModelIdsSharedEnum.Chatgpt4oLatest, + "codex-mini-latest" => ModelIdsSharedEnum.CodexMiniLatest, + "gpt-3.5-turbo" => ModelIdsSharedEnum.Gpt35Turbo, + "gpt-3.5-turbo-0125" => ModelIdsSharedEnum.Gpt35Turbo0125, + "gpt-3.5-turbo-0301" => ModelIdsSharedEnum.Gpt35Turbo0301, + "gpt-3.5-turbo-0613" => ModelIdsSharedEnum.Gpt35Turbo0613, + "gpt-3.5-turbo-1106" => ModelIdsSharedEnum.Gpt35Turbo1106, + "gpt-3.5-turbo-16k" => ModelIdsSharedEnum.Gpt35Turbo16k, + "gpt-3.5-turbo-16k-0613" => ModelIdsSharedEnum.Gpt35Turbo16k0613, + "gpt-4" => ModelIdsSharedEnum.Gpt4, + "gpt-4-0125-preview" => ModelIdsSharedEnum.Gpt40125Preview, + "gpt-4-0314" => ModelIdsSharedEnum.Gpt40314, + "gpt-4-0613" => ModelIdsSharedEnum.Gpt40613, + "gpt-4-1106-preview" => ModelIdsSharedEnum.Gpt41106Preview, + "gpt-4-32k" => ModelIdsSharedEnum.Gpt432k, + "gpt-4-32k-0314" => ModelIdsSharedEnum.Gpt432k0314, + "gpt-4-32k-0613" => ModelIdsSharedEnum.Gpt432k0613, + "gpt-4-turbo" => ModelIdsSharedEnum.Gpt4Turbo, + "gpt-4-turbo-2024-04-09" => ModelIdsSharedEnum.Gpt4Turbo20240409, + "gpt-4-turbo-preview" => ModelIdsSharedEnum.Gpt4TurboPreview, + "gpt-4-vision-preview" => ModelIdsSharedEnum.Gpt4VisionPreview, "gpt-4.1" => ModelIdsSharedEnum.Gpt41, - "gpt-4.1-mini" => ModelIdsSharedEnum.Gpt41Mini, - "gpt-4.1-nano" => ModelIdsSharedEnum.Gpt41Nano, "gpt-4.1-2025-04-14" => ModelIdsSharedEnum.Gpt4120250414, + "gpt-4.1-mini" => ModelIdsSharedEnum.Gpt41Mini, "gpt-4.1-mini-2025-04-14" => ModelIdsSharedEnum.Gpt41Mini20250414, + "gpt-4.1-nano" => ModelIdsSharedEnum.Gpt41Nano, "gpt-4.1-nano-2025-04-14" => ModelIdsSharedEnum.Gpt41Nano20250414, - "o4-mini" => ModelIdsSharedEnum.O4Mini, - "o4-mini-2025-04-16" => ModelIdsSharedEnum.O4Mini20250416, - "o3" => ModelIdsSharedEnum.O3, - "o3-2025-04-16" => ModelIdsSharedEnum.O320250416, - "o3-mini" => ModelIdsSharedEnum.O3Mini, - "o3-mini-2025-01-31" => ModelIdsSharedEnum.O3Mini20250131, - "o1" => ModelIdsSharedEnum.O1, - "o1-2024-12-17" => ModelIdsSharedEnum.O120241217, - "o1-preview" => ModelIdsSharedEnum.O1Preview, - "o1-preview-2024-09-12" => ModelIdsSharedEnum.O1Preview20240912, - "o1-mini" => ModelIdsSharedEnum.O1Mini, - "o1-mini-2024-09-12" => ModelIdsSharedEnum.O1Mini20240912, "gpt-4o" => ModelIdsSharedEnum.Gpt4o, - "gpt-4o-2024-11-20" => ModelIdsSharedEnum.Gpt4o20241120, - "gpt-4o-2024-08-06" => ModelIdsSharedEnum.Gpt4o20240806, "gpt-4o-2024-05-13" => ModelIdsSharedEnum.Gpt4o20240513, + "gpt-4o-2024-08-06" => ModelIdsSharedEnum.Gpt4o20240806, + "gpt-4o-2024-11-20" => ModelIdsSharedEnum.Gpt4o20241120, "gpt-4o-audio-preview" => ModelIdsSharedEnum.Gpt4oAudioPreview, "gpt-4o-audio-preview-2024-10-01" => ModelIdsSharedEnum.Gpt4oAudioPreview20241001, "gpt-4o-audio-preview-2024-12-17" => ModelIdsSharedEnum.Gpt4oAudioPreview20241217, "gpt-4o-audio-preview-2025-06-03" => ModelIdsSharedEnum.Gpt4oAudioPreview20250603, + "gpt-4o-mini" => ModelIdsSharedEnum.Gpt4oMini, + "gpt-4o-mini-2024-07-18" => ModelIdsSharedEnum.Gpt4oMini20240718, "gpt-4o-mini-audio-preview" => ModelIdsSharedEnum.Gpt4oMiniAudioPreview, "gpt-4o-mini-audio-preview-2024-12-17" => ModelIdsSharedEnum.Gpt4oMiniAudioPreview20241217, - "gpt-4o-search-preview" => ModelIdsSharedEnum.Gpt4oSearchPreview, "gpt-4o-mini-search-preview" => ModelIdsSharedEnum.Gpt4oMiniSearchPreview, - "gpt-4o-search-preview-2025-03-11" => ModelIdsSharedEnum.Gpt4oSearchPreview20250311, "gpt-4o-mini-search-preview-2025-03-11" => ModelIdsSharedEnum.Gpt4oMiniSearchPreview20250311, - "chatgpt-4o-latest" => ModelIdsSharedEnum.Chatgpt4oLatest, - "codex-mini-latest" => ModelIdsSharedEnum.CodexMiniLatest, - "gpt-4o-mini" => ModelIdsSharedEnum.Gpt4oMini, - "gpt-4o-mini-2024-07-18" => ModelIdsSharedEnum.Gpt4oMini20240718, - "gpt-4-turbo" => ModelIdsSharedEnum.Gpt4Turbo, - "gpt-4-turbo-2024-04-09" => ModelIdsSharedEnum.Gpt4Turbo20240409, - "gpt-4-0125-preview" => ModelIdsSharedEnum.Gpt40125Preview, - "gpt-4-turbo-preview" => ModelIdsSharedEnum.Gpt4TurboPreview, - "gpt-4-1106-preview" => ModelIdsSharedEnum.Gpt41106Preview, - "gpt-4-vision-preview" => ModelIdsSharedEnum.Gpt4VisionPreview, - "gpt-4" => ModelIdsSharedEnum.Gpt4, - "gpt-4-0314" => ModelIdsSharedEnum.Gpt40314, - "gpt-4-0613" => ModelIdsSharedEnum.Gpt40613, - "gpt-4-32k" => ModelIdsSharedEnum.Gpt432k, - "gpt-4-32k-0314" => ModelIdsSharedEnum.Gpt432k0314, - "gpt-4-32k-0613" => ModelIdsSharedEnum.Gpt432k0613, - "gpt-3.5-turbo" => ModelIdsSharedEnum.Gpt35Turbo, - "gpt-3.5-turbo-16k" => ModelIdsSharedEnum.Gpt35Turbo16k, - "gpt-3.5-turbo-0301" => ModelIdsSharedEnum.Gpt35Turbo0301, - "gpt-3.5-turbo-0613" => ModelIdsSharedEnum.Gpt35Turbo0613, - "gpt-3.5-turbo-1106" => ModelIdsSharedEnum.Gpt35Turbo1106, - "gpt-3.5-turbo-0125" => ModelIdsSharedEnum.Gpt35Turbo0125, - "gpt-3.5-turbo-16k-0613" => ModelIdsSharedEnum.Gpt35Turbo16k0613, + "gpt-4o-search-preview" => ModelIdsSharedEnum.Gpt4oSearchPreview, + "gpt-4o-search-preview-2025-03-11" => ModelIdsSharedEnum.Gpt4oSearchPreview20250311, + "gpt-5" => ModelIdsSharedEnum.Gpt5, + "gpt-5-2025-08-07" => ModelIdsSharedEnum.Gpt520250807, + "gpt-5-chat-latest" => ModelIdsSharedEnum.Gpt5ChatLatest, + "gpt-5-mini" => ModelIdsSharedEnum.Gpt5Mini, + "gpt-5-mini-2025-08-07" => ModelIdsSharedEnum.Gpt5Mini20250807, + "gpt-5-nano" => ModelIdsSharedEnum.Gpt5Nano, + "gpt-5-nano-2025-08-07" => ModelIdsSharedEnum.Gpt5Nano20250807, + "gpt-5.1" => ModelIdsSharedEnum.Gpt51, + "gpt-5.1-2025-11-13" => ModelIdsSharedEnum.Gpt5120251113, + "gpt-5.1-chat-latest" => ModelIdsSharedEnum.Gpt51ChatLatest, + "gpt-5.1-codex" => ModelIdsSharedEnum.Gpt51Codex, + "gpt-5.1-mini" => ModelIdsSharedEnum.Gpt51Mini, + "gpt-5.2" => ModelIdsSharedEnum.Gpt52, + "gpt-5.2-2025-12-11" => ModelIdsSharedEnum.Gpt5220251211, + "gpt-5.2-chat-latest" => ModelIdsSharedEnum.Gpt52ChatLatest, + "gpt-5.2-pro" => ModelIdsSharedEnum.Gpt52Pro, + "gpt-5.2-pro-2025-12-11" => ModelIdsSharedEnum.Gpt52Pro20251211, + "gpt-5.3-chat-latest" => ModelIdsSharedEnum.Gpt53ChatLatest, + "gpt-5.4" => ModelIdsSharedEnum.Gpt54, + "gpt-5.4-mini" => ModelIdsSharedEnum.Gpt54Mini, + "gpt-5.4-mini-2026-03-17" => ModelIdsSharedEnum.Gpt54Mini20260317, + "gpt-5.4-nano" => ModelIdsSharedEnum.Gpt54Nano, + "gpt-5.4-nano-2026-03-17" => ModelIdsSharedEnum.Gpt54Nano20260317, + "o1" => ModelIdsSharedEnum.O1, + "o1-2024-12-17" => ModelIdsSharedEnum.O120241217, + "o1-mini" => ModelIdsSharedEnum.O1Mini, + "o1-mini-2024-09-12" => ModelIdsSharedEnum.O1Mini20240912, + "o1-preview" => ModelIdsSharedEnum.O1Preview, + "o1-preview-2024-09-12" => ModelIdsSharedEnum.O1Preview20240912, + "o3" => ModelIdsSharedEnum.O3, + "o3-2025-04-16" => ModelIdsSharedEnum.O320250416, + "o3-mini" => ModelIdsSharedEnum.O3Mini, + "o3-mini-2025-01-31" => ModelIdsSharedEnum.O3Mini20250131, + "o4-mini" => ModelIdsSharedEnum.O4Mini, + "o4-mini-2025-04-16" => ModelIdsSharedEnum.O4Mini20250416, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelResponsePropertiesPromptCacheRetention2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelResponsePropertiesPromptCacheRetention2.g.cs index 03991230..6aa26736 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelResponsePropertiesPromptCacheRetention2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModelResponsePropertiesPromptCacheRetention2.g.cs @@ -11,11 +11,11 @@ public enum ModelResponsePropertiesPromptCacheRetention2 /// /// /// - InMemory, + x24h, /// /// /// - x24h, + InMemory, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ModelResponsePropertiesPromptCacheRetent { return value switch { - ModelResponsePropertiesPromptCacheRetention2.InMemory => "in-memory", ModelResponsePropertiesPromptCacheRetention2.x24h => "24h", + ModelResponsePropertiesPromptCacheRetention2.InMemory => "in-memory", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ModelResponsePropertiesPromptCacheRetent { return value switch { - "in-memory" => ModelResponsePropertiesPromptCacheRetention2.InMemory, "24h" => ModelResponsePropertiesPromptCacheRetention2.x24h, + "in-memory" => ModelResponsePropertiesPromptCacheRetention2.InMemory, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.NoiseReductionType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.NoiseReductionType.g.cs index 672f26c9..0aaed0dc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.NoiseReductionType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.NoiseReductionType.g.cs @@ -11,11 +11,11 @@ public enum NoiseReductionType /// /// /// - NearField, + FarField, /// /// /// - FarField, + NearField, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this NoiseReductionType value) { return value switch { - NoiseReductionType.NearField => "near_field", NoiseReductionType.FarField => "far_field", + NoiseReductionType.NearField => "near_field", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this NoiseReductionType value) { return value switch { - "near_field" => NoiseReductionType.NearField, "far_field" => NoiseReductionType.FarField, + "near_field" => NoiseReductionType.NearField, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFilePurpose.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFilePurpose.g.cs index 758ed71a..dd2e2093 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFilePurpose.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFilePurpose.g.cs @@ -35,11 +35,11 @@ public enum OpenAIFilePurpose /// /// /// - Vision, + UserData, /// /// /// - UserData, + Vision, } /// @@ -60,8 +60,8 @@ public static string ToValueString(this OpenAIFilePurpose value) OpenAIFilePurpose.BatchOutput => "batch_output", OpenAIFilePurpose.FineTune => "fine-tune", OpenAIFilePurpose.FineTuneResults => "fine-tune-results", - OpenAIFilePurpose.Vision => "vision", OpenAIFilePurpose.UserData => "user_data", + OpenAIFilePurpose.Vision => "vision", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -78,8 +78,8 @@ public static string ToValueString(this OpenAIFilePurpose value) "batch_output" => OpenAIFilePurpose.BatchOutput, "fine-tune" => OpenAIFilePurpose.FineTune, "fine-tune-results" => OpenAIFilePurpose.FineTuneResults, - "vision" => OpenAIFilePurpose.Vision, "user_data" => OpenAIFilePurpose.UserData, + "vision" => OpenAIFilePurpose.Vision, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFileStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFileStatus.g.cs index 4355470b..425ba865 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFileStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFileStatus.g.cs @@ -11,7 +11,7 @@ public enum OpenAIFileStatus /// /// /// - Uploaded, + Error, /// /// /// @@ -19,7 +19,7 @@ public enum OpenAIFileStatus /// /// /// - Error, + Uploaded, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this OpenAIFileStatus value) { return value switch { - OpenAIFileStatus.Uploaded => "uploaded", - OpenAIFileStatus.Processed => "processed", OpenAIFileStatus.Error => "error", + OpenAIFileStatus.Processed => "processed", + OpenAIFileStatus.Uploaded => "uploaded", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this OpenAIFileStatus value) { return value switch { - "uploaded" => OpenAIFileStatus.Uploaded, - "processed" => OpenAIFileStatus.Processed, "error" => OpenAIFileStatus.Error, + "processed" => OpenAIFileStatus.Processed, + "uploaded" => OpenAIFileStatus.Uploaded, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputMessageStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputMessageStatus.g.cs index a831ab7e..9edcfbed 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputMessageStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputMessageStatus.g.cs @@ -12,11 +12,11 @@ public enum OutputMessageStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -35,8 +35,8 @@ public static string ToValueString(this OutputMessageStatus value) { return value switch { - OutputMessageStatus.InProgress => "in_progress", OutputMessageStatus.Completed => "completed", + OutputMessageStatus.InProgress => "in_progress", OutputMessageStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -48,8 +48,8 @@ public static string ToValueString(this OutputMessageStatus value) { return value switch { - "in_progress" => OutputMessageStatus.InProgress, "completed" => OutputMessageStatus.Completed, + "in_progress" => OutputMessageStatus.InProgress, "incomplete" => OutputMessageStatus.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyOwnerType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyOwnerType.g.cs index 4797590f..43ddc9fd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyOwnerType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyOwnerType.g.cs @@ -11,11 +11,11 @@ public enum ProjectApiKeyOwnerType /// /// /// - User, + ServiceAccount, /// /// /// - ServiceAccount, + User, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ProjectApiKeyOwnerType value) { return value switch { - ProjectApiKeyOwnerType.User => "user", ProjectApiKeyOwnerType.ServiceAccount => "service_account", + ProjectApiKeyOwnerType.User => "user", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ProjectApiKeyOwnerType value) { return value switch { - "user" => ProjectApiKeyOwnerType.User, "service_account" => ProjectApiKeyOwnerType.ServiceAccount, + "user" => ProjectApiKeyOwnerType.User, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectCreateRequestGeography.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectCreateRequestGeography.g.cs index 3ba09396..5711ccf8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectCreateRequestGeography.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectCreateRequestGeography.g.cs @@ -11,15 +11,15 @@ public enum ProjectCreateRequestGeography /// /// /// - Us, + Au, /// /// /// - Eu, + Ca, /// /// /// - Jp, + Eu, /// /// /// @@ -27,19 +27,19 @@ public enum ProjectCreateRequestGeography /// /// /// - Kr, + Jp, /// /// /// - Ca, + Kr, /// /// /// - Au, + Sg, /// /// /// - Sg, + Us, } /// @@ -54,14 +54,14 @@ public static string ToValueString(this ProjectCreateRequestGeography value) { return value switch { - ProjectCreateRequestGeography.Us => "US", + ProjectCreateRequestGeography.Au => "AU", + ProjectCreateRequestGeography.Ca => "CA", ProjectCreateRequestGeography.Eu => "EU", - ProjectCreateRequestGeography.Jp => "JP", ProjectCreateRequestGeography.In => "IN", + ProjectCreateRequestGeography.Jp => "JP", ProjectCreateRequestGeography.Kr => "KR", - ProjectCreateRequestGeography.Ca => "CA", - ProjectCreateRequestGeography.Au => "AU", ProjectCreateRequestGeography.Sg => "SG", + ProjectCreateRequestGeography.Us => "US", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -72,14 +72,14 @@ public static string ToValueString(this ProjectCreateRequestGeography value) { return value switch { - "US" => ProjectCreateRequestGeography.Us, + "AU" => ProjectCreateRequestGeography.Au, + "CA" => ProjectCreateRequestGeography.Ca, "EU" => ProjectCreateRequestGeography.Eu, - "JP" => ProjectCreateRequestGeography.Jp, "IN" => ProjectCreateRequestGeography.In, + "JP" => ProjectCreateRequestGeography.Jp, "KR" => ProjectCreateRequestGeography.Kr, - "CA" => ProjectCreateRequestGeography.Ca, - "AU" => ProjectCreateRequestGeography.Au, "SG" => ProjectCreateRequestGeography.Sg, + "US" => ProjectCreateRequestGeography.Us, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountRole.g.cs index 20c43d50..3f4a73c8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountRole.g.cs @@ -11,11 +11,11 @@ public enum ProjectServiceAccountRole /// /// /// - Owner, + Member, /// /// /// - Member, + Owner, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ProjectServiceAccountRole value) { return value switch { - ProjectServiceAccountRole.Owner => "owner", ProjectServiceAccountRole.Member => "member", + ProjectServiceAccountRole.Owner => "owner", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ProjectServiceAccountRole value) { return value switch { - "owner" => ProjectServiceAccountRole.Owner, "member" => ProjectServiceAccountRole.Member, + "owner" => ProjectServiceAccountRole.Owner, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserCreateRequestRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserCreateRequestRole.g.cs index ead6aa80..45022613 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserCreateRequestRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserCreateRequestRole.g.cs @@ -11,11 +11,11 @@ public enum ProjectUserCreateRequestRole /// /// /// - Owner, + Member, /// /// /// - Member, + Owner, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ProjectUserCreateRequestRole value) { return value switch { - ProjectUserCreateRequestRole.Owner => "owner", ProjectUserCreateRequestRole.Member => "member", + ProjectUserCreateRequestRole.Owner => "owner", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ProjectUserCreateRequestRole value) { return value switch { - "owner" => ProjectUserCreateRequestRole.Owner, "member" => ProjectUserCreateRequestRole.Member, + "owner" => ProjectUserCreateRequestRole.Owner, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserRole.g.cs index 98502277..4d29c98f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserRole.g.cs @@ -11,11 +11,11 @@ public enum ProjectUserRole /// /// /// - Owner, + Member, /// /// /// - Member, + Owner, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ProjectUserRole value) { return value switch { - ProjectUserRole.Owner => "owner", ProjectUserRole.Member => "member", + ProjectUserRole.Owner => "owner", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ProjectUserRole value) { return value switch { - "owner" => ProjectUserRole.Owner, "member" => ProjectUserRole.Member, + "owner" => ProjectUserRole.Owner, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserUpdateRequestRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserUpdateRequestRole.g.cs index 60087765..e36965f0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserUpdateRequestRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserUpdateRequestRole.g.cs @@ -11,11 +11,11 @@ public enum ProjectUserUpdateRequestRole /// /// /// - Owner, + Member, /// /// /// - Member, + Owner, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ProjectUserUpdateRequestRole value) { return value switch { - ProjectUserUpdateRequestRole.Owner => "owner", ProjectUserUpdateRequestRole.Member => "member", + ProjectUserUpdateRequestRole.Owner => "owner", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ProjectUserUpdateRequestRole value) { return value switch { - "owner" => ProjectUserUpdateRequestRole.Owner, "member" => ProjectUserUpdateRequestRole.Member, + "owner" => ProjectUserUpdateRequestRole.Owner, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseCreateParamsModalitie.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseCreateParamsModalitie.g.cs index 4e8d9e27..f16fa9df 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseCreateParamsModalitie.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseCreateParamsModalitie.g.cs @@ -11,11 +11,11 @@ public enum RealtimeBetaResponseCreateParamsModalitie /// /// /// - Text, + Audio, /// /// /// - Audio, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this RealtimeBetaResponseCreateParamsModaliti { return value switch { - RealtimeBetaResponseCreateParamsModalitie.Text => "text", RealtimeBetaResponseCreateParamsModalitie.Audio => "audio", + RealtimeBetaResponseCreateParamsModalitie.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this RealtimeBetaResponseCreateParamsModaliti { return value switch { - "text" => RealtimeBetaResponseCreateParamsModalitie.Text, "audio" => RealtimeBetaResponseCreateParamsModalitie.Audio, + "text" => RealtimeBetaResponseCreateParamsModalitie.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseCreateParamsOutputAudioFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseCreateParamsOutputAudioFormat.g.cs index cf783d14..26440c23 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseCreateParamsOutputAudioFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseCreateParamsOutputAudioFormat.g.cs @@ -11,7 +11,7 @@ public enum RealtimeBetaResponseCreateParamsOutputAudioFormat /// /// /// - Pcm16, + G711Alaw, /// /// /// @@ -19,7 +19,7 @@ public enum RealtimeBetaResponseCreateParamsOutputAudioFormat /// /// /// - G711Alaw, + Pcm16, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this RealtimeBetaResponseCreateParamsOutputAu { return value switch { - RealtimeBetaResponseCreateParamsOutputAudioFormat.Pcm16 => "pcm16", - RealtimeBetaResponseCreateParamsOutputAudioFormat.G711Ulaw => "g711_ulaw", RealtimeBetaResponseCreateParamsOutputAudioFormat.G711Alaw => "g711_alaw", + RealtimeBetaResponseCreateParamsOutputAudioFormat.G711Ulaw => "g711_ulaw", + RealtimeBetaResponseCreateParamsOutputAudioFormat.Pcm16 => "pcm16", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this RealtimeBetaResponseCreateParamsOutputAu { return value switch { - "pcm16" => RealtimeBetaResponseCreateParamsOutputAudioFormat.Pcm16, - "g711_ulaw" => RealtimeBetaResponseCreateParamsOutputAudioFormat.G711Ulaw, "g711_alaw" => RealtimeBetaResponseCreateParamsOutputAudioFormat.G711Alaw, + "g711_ulaw" => RealtimeBetaResponseCreateParamsOutputAudioFormat.G711Ulaw, + "pcm16" => RealtimeBetaResponseCreateParamsOutputAudioFormat.Pcm16, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseModalitie.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseModalitie.g.cs index 7da40ce7..7c85f935 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseModalitie.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseModalitie.g.cs @@ -11,11 +11,11 @@ public enum RealtimeBetaResponseModalitie /// /// /// - Text, + Audio, /// /// /// - Audio, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this RealtimeBetaResponseModalitie value) { return value switch { - RealtimeBetaResponseModalitie.Text => "text", RealtimeBetaResponseModalitie.Audio => "audio", + RealtimeBetaResponseModalitie.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this RealtimeBetaResponseModalitie value) { return value switch { - "text" => RealtimeBetaResponseModalitie.Text, "audio" => RealtimeBetaResponseModalitie.Audio, + "text" => RealtimeBetaResponseModalitie.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseOutputAudioFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseOutputAudioFormat.g.cs index dcf092ce..6e361a91 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseOutputAudioFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseOutputAudioFormat.g.cs @@ -11,7 +11,7 @@ public enum RealtimeBetaResponseOutputAudioFormat /// /// /// - Pcm16, + G711Alaw, /// /// /// @@ -19,7 +19,7 @@ public enum RealtimeBetaResponseOutputAudioFormat /// /// /// - G711Alaw, + Pcm16, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this RealtimeBetaResponseOutputAudioFormat va { return value switch { - RealtimeBetaResponseOutputAudioFormat.Pcm16 => "pcm16", - RealtimeBetaResponseOutputAudioFormat.G711Ulaw => "g711_ulaw", RealtimeBetaResponseOutputAudioFormat.G711Alaw => "g711_alaw", + RealtimeBetaResponseOutputAudioFormat.G711Ulaw => "g711_ulaw", + RealtimeBetaResponseOutputAudioFormat.Pcm16 => "pcm16", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this RealtimeBetaResponseOutputAudioFormat va { return value switch { - "pcm16" => RealtimeBetaResponseOutputAudioFormat.Pcm16, - "g711_ulaw" => RealtimeBetaResponseOutputAudioFormat.G711Ulaw, "g711_alaw" => RealtimeBetaResponseOutputAudioFormat.G711Alaw, + "g711_ulaw" => RealtimeBetaResponseOutputAudioFormat.G711Ulaw, + "pcm16" => RealtimeBetaResponseOutputAudioFormat.Pcm16, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseStatus.g.cs index 20ed066d..7faaec98 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseStatus.g.cs @@ -12,11 +12,11 @@ public enum RealtimeBetaResponseStatus /// /// /// - Completed, + Cancelled, /// /// /// - Cancelled, + Completed, /// /// /// @@ -24,11 +24,11 @@ public enum RealtimeBetaResponseStatus /// /// /// - Incomplete, + InProgress, /// /// /// - InProgress, + Incomplete, } /// @@ -43,11 +43,11 @@ public static string ToValueString(this RealtimeBetaResponseStatus value) { return value switch { - RealtimeBetaResponseStatus.Completed => "completed", RealtimeBetaResponseStatus.Cancelled => "cancelled", + RealtimeBetaResponseStatus.Completed => "completed", RealtimeBetaResponseStatus.Failed => "failed", - RealtimeBetaResponseStatus.Incomplete => "incomplete", RealtimeBetaResponseStatus.InProgress => "in_progress", + RealtimeBetaResponseStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -58,11 +58,11 @@ public static string ToValueString(this RealtimeBetaResponseStatus value) { return value switch { - "completed" => RealtimeBetaResponseStatus.Completed, "cancelled" => RealtimeBetaResponseStatus.Cancelled, + "completed" => RealtimeBetaResponseStatus.Completed, "failed" => RealtimeBetaResponseStatus.Failed, - "incomplete" => RealtimeBetaResponseStatus.Incomplete, "in_progress" => RealtimeBetaResponseStatus.InProgress, + "incomplete" => RealtimeBetaResponseStatus.Incomplete, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseStatusDetailsReason.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseStatusDetailsReason.g.cs index bce8cc6f..82a36871 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseStatusDetailsReason.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseStatusDetailsReason.g.cs @@ -15,11 +15,11 @@ public enum RealtimeBetaResponseStatusDetailsReason /// /// /// - TurnDetected, + ClientCancelled, /// /// /// - ClientCancelled, + ContentFilter, /// /// /// @@ -27,7 +27,7 @@ public enum RealtimeBetaResponseStatusDetailsReason /// /// /// - ContentFilter, + TurnDetected, } /// @@ -42,10 +42,10 @@ public static string ToValueString(this RealtimeBetaResponseStatusDetailsReason { return value switch { - RealtimeBetaResponseStatusDetailsReason.TurnDetected => "turn_detected", RealtimeBetaResponseStatusDetailsReason.ClientCancelled => "client_cancelled", - RealtimeBetaResponseStatusDetailsReason.MaxOutputTokens => "max_output_tokens", RealtimeBetaResponseStatusDetailsReason.ContentFilter => "content_filter", + RealtimeBetaResponseStatusDetailsReason.MaxOutputTokens => "max_output_tokens", + RealtimeBetaResponseStatusDetailsReason.TurnDetected => "turn_detected", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -56,10 +56,10 @@ public static string ToValueString(this RealtimeBetaResponseStatusDetailsReason { return value switch { - "turn_detected" => RealtimeBetaResponseStatusDetailsReason.TurnDetected, "client_cancelled" => RealtimeBetaResponseStatusDetailsReason.ClientCancelled, - "max_output_tokens" => RealtimeBetaResponseStatusDetailsReason.MaxOutputTokens, "content_filter" => RealtimeBetaResponseStatusDetailsReason.ContentFilter, + "max_output_tokens" => RealtimeBetaResponseStatusDetailsReason.MaxOutputTokens, + "turn_detected" => RealtimeBetaResponseStatusDetailsReason.TurnDetected, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseStatusDetailsType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseStatusDetailsType.g.cs index 563c2123..42899d9f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseStatusDetailsType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaResponseStatusDetailsType.g.cs @@ -13,11 +13,11 @@ public enum RealtimeBetaResponseStatusDetailsType /// /// /// - Completed, + Cancelled, /// /// /// - Cancelled, + Completed, /// /// /// @@ -40,8 +40,8 @@ public static string ToValueString(this RealtimeBetaResponseStatusDetailsType va { return value switch { - RealtimeBetaResponseStatusDetailsType.Completed => "completed", RealtimeBetaResponseStatusDetailsType.Cancelled => "cancelled", + RealtimeBetaResponseStatusDetailsType.Completed => "completed", RealtimeBetaResponseStatusDetailsType.Failed => "failed", RealtimeBetaResponseStatusDetailsType.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -54,8 +54,8 @@ public static string ToValueString(this RealtimeBetaResponseStatusDetailsType va { return value switch { - "completed" => RealtimeBetaResponseStatusDetailsType.Completed, "cancelled" => RealtimeBetaResponseStatusDetailsType.Cancelled, + "completed" => RealtimeBetaResponseStatusDetailsType.Completed, "failed" => RealtimeBetaResponseStatusDetailsType.Failed, "incomplete" => RealtimeBetaResponseStatusDetailsType.Incomplete, _ => null, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCallOutputStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCallOutputStatus.g.cs index c8843cf7..94157b67 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCallOutputStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCallOutputStatus.g.cs @@ -15,11 +15,11 @@ public enum RealtimeConversationItemFunctionCallOutputStatus /// /// /// - Incomplete, + InProgress, /// /// /// - InProgress, + Incomplete, } /// @@ -35,8 +35,8 @@ public static string ToValueString(this RealtimeConversationItemFunctionCallOutp return value switch { RealtimeConversationItemFunctionCallOutputStatus.Completed => "completed", - RealtimeConversationItemFunctionCallOutputStatus.Incomplete => "incomplete", RealtimeConversationItemFunctionCallOutputStatus.InProgress => "in_progress", + RealtimeConversationItemFunctionCallOutputStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -48,8 +48,8 @@ public static string ToValueString(this RealtimeConversationItemFunctionCallOutp return value switch { "completed" => RealtimeConversationItemFunctionCallOutputStatus.Completed, - "incomplete" => RealtimeConversationItemFunctionCallOutputStatus.Incomplete, "in_progress" => RealtimeConversationItemFunctionCallOutputStatus.InProgress, + "incomplete" => RealtimeConversationItemFunctionCallOutputStatus.Incomplete, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCallStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCallStatus.g.cs index 8a7c81d6..41a29918 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCallStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCallStatus.g.cs @@ -15,11 +15,11 @@ public enum RealtimeConversationItemFunctionCallStatus /// /// /// - Incomplete, + InProgress, /// /// /// - InProgress, + Incomplete, } /// @@ -35,8 +35,8 @@ public static string ToValueString(this RealtimeConversationItemFunctionCallStat return value switch { RealtimeConversationItemFunctionCallStatus.Completed => "completed", - RealtimeConversationItemFunctionCallStatus.Incomplete => "incomplete", RealtimeConversationItemFunctionCallStatus.InProgress => "in_progress", + RealtimeConversationItemFunctionCallStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -48,8 +48,8 @@ public static string ToValueString(this RealtimeConversationItemFunctionCallStat return value switch { "completed" => RealtimeConversationItemFunctionCallStatus.Completed, - "incomplete" => RealtimeConversationItemFunctionCallStatus.Incomplete, "in_progress" => RealtimeConversationItemFunctionCallStatus.InProgress, + "incomplete" => RealtimeConversationItemFunctionCallStatus.Incomplete, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageAssistantContentItemType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageAssistantContentItemType.g.cs index e003e486..bcbd2add 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageAssistantContentItemType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageAssistantContentItemType.g.cs @@ -11,11 +11,11 @@ public enum RealtimeConversationItemMessageAssistantContentItemType /// /// /// - OutputText, + OutputAudio, /// /// /// - OutputAudio, + OutputText, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this RealtimeConversationItemMessageAssistant { return value switch { - RealtimeConversationItemMessageAssistantContentItemType.OutputText => "output_text", RealtimeConversationItemMessageAssistantContentItemType.OutputAudio => "output_audio", + RealtimeConversationItemMessageAssistantContentItemType.OutputText => "output_text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this RealtimeConversationItemMessageAssistant { return value switch { - "output_text" => RealtimeConversationItemMessageAssistantContentItemType.OutputText, "output_audio" => RealtimeConversationItemMessageAssistantContentItemType.OutputAudio, + "output_text" => RealtimeConversationItemMessageAssistantContentItemType.OutputText, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageAssistantStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageAssistantStatus.g.cs index 1dd113bb..a8a46c8c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageAssistantStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageAssistantStatus.g.cs @@ -15,11 +15,11 @@ public enum RealtimeConversationItemMessageAssistantStatus /// /// /// - Incomplete, + InProgress, /// /// /// - InProgress, + Incomplete, } /// @@ -35,8 +35,8 @@ public static string ToValueString(this RealtimeConversationItemMessageAssistant return value switch { RealtimeConversationItemMessageAssistantStatus.Completed => "completed", - RealtimeConversationItemMessageAssistantStatus.Incomplete => "incomplete", RealtimeConversationItemMessageAssistantStatus.InProgress => "in_progress", + RealtimeConversationItemMessageAssistantStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -48,8 +48,8 @@ public static string ToValueString(this RealtimeConversationItemMessageAssistant return value switch { "completed" => RealtimeConversationItemMessageAssistantStatus.Completed, - "incomplete" => RealtimeConversationItemMessageAssistantStatus.Incomplete, "in_progress" => RealtimeConversationItemMessageAssistantStatus.InProgress, + "incomplete" => RealtimeConversationItemMessageAssistantStatus.Incomplete, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageSystemStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageSystemStatus.g.cs index 5faeee55..00f958f4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageSystemStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageSystemStatus.g.cs @@ -15,11 +15,11 @@ public enum RealtimeConversationItemMessageSystemStatus /// /// /// - Incomplete, + InProgress, /// /// /// - InProgress, + Incomplete, } /// @@ -35,8 +35,8 @@ public static string ToValueString(this RealtimeConversationItemMessageSystemSta return value switch { RealtimeConversationItemMessageSystemStatus.Completed => "completed", - RealtimeConversationItemMessageSystemStatus.Incomplete => "incomplete", RealtimeConversationItemMessageSystemStatus.InProgress => "in_progress", + RealtimeConversationItemMessageSystemStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -48,8 +48,8 @@ public static string ToValueString(this RealtimeConversationItemMessageSystemSta return value switch { "completed" => RealtimeConversationItemMessageSystemStatus.Completed, - "incomplete" => RealtimeConversationItemMessageSystemStatus.Incomplete, "in_progress" => RealtimeConversationItemMessageSystemStatus.InProgress, + "incomplete" => RealtimeConversationItemMessageSystemStatus.Incomplete, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUserContentItemDetail.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUserContentItemDetail.g.cs index 09fc7283..32f4637f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUserContentItemDetail.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUserContentItemDetail.g.cs @@ -16,11 +16,11 @@ public enum RealtimeConversationItemMessageUserContentItemDetail /// /// /// - Low, + High, /// /// /// - High, + Low, } /// @@ -36,8 +36,8 @@ public static string ToValueString(this RealtimeConversationItemMessageUserConte return value switch { RealtimeConversationItemMessageUserContentItemDetail.Auto => "auto", - RealtimeConversationItemMessageUserContentItemDetail.Low => "low", RealtimeConversationItemMessageUserContentItemDetail.High => "high", + RealtimeConversationItemMessageUserContentItemDetail.Low => "low", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -49,8 +49,8 @@ public static string ToValueString(this RealtimeConversationItemMessageUserConte return value switch { "auto" => RealtimeConversationItemMessageUserContentItemDetail.Auto, - "low" => RealtimeConversationItemMessageUserContentItemDetail.Low, "high" => RealtimeConversationItemMessageUserContentItemDetail.High, + "low" => RealtimeConversationItemMessageUserContentItemDetail.Low, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUserContentItemType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUserContentItemType.g.cs index 1007d878..6522ae5f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUserContentItemType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUserContentItemType.g.cs @@ -11,15 +11,15 @@ public enum RealtimeConversationItemMessageUserContentItemType /// /// /// - InputText, + InputAudio, /// /// /// - InputAudio, + InputImage, /// /// /// - InputImage, + InputText, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this RealtimeConversationItemMessageUserConte { return value switch { - RealtimeConversationItemMessageUserContentItemType.InputText => "input_text", RealtimeConversationItemMessageUserContentItemType.InputAudio => "input_audio", RealtimeConversationItemMessageUserContentItemType.InputImage => "input_image", + RealtimeConversationItemMessageUserContentItemType.InputText => "input_text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this RealtimeConversationItemMessageUserConte { return value switch { - "input_text" => RealtimeConversationItemMessageUserContentItemType.InputText, "input_audio" => RealtimeConversationItemMessageUserContentItemType.InputAudio, "input_image" => RealtimeConversationItemMessageUserContentItemType.InputImage, + "input_text" => RealtimeConversationItemMessageUserContentItemType.InputText, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUserStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUserStatus.g.cs index f61faaa0..3645ac26 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUserStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUserStatus.g.cs @@ -15,11 +15,11 @@ public enum RealtimeConversationItemMessageUserStatus /// /// /// - Incomplete, + InProgress, /// /// /// - InProgress, + Incomplete, } /// @@ -35,8 +35,8 @@ public static string ToValueString(this RealtimeConversationItemMessageUserStatu return value switch { RealtimeConversationItemMessageUserStatus.Completed => "completed", - RealtimeConversationItemMessageUserStatus.Incomplete => "incomplete", RealtimeConversationItemMessageUserStatus.InProgress => "in_progress", + RealtimeConversationItemMessageUserStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -48,8 +48,8 @@ public static string ToValueString(this RealtimeConversationItemMessageUserStatu return value switch { "completed" => RealtimeConversationItemMessageUserStatus.Completed, - "incomplete" => RealtimeConversationItemMessageUserStatus.Incomplete, "in_progress" => RealtimeConversationItemMessageUserStatus.InProgress, + "incomplete" => RealtimeConversationItemMessageUserStatus.Incomplete, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceRole.g.cs index 10bd39f1..d51a14fc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceRole.g.cs @@ -12,15 +12,15 @@ public enum RealtimeConversationItemWithReferenceRole /// /// /// - User, + Assistant, /// /// /// - Assistant, + System, /// /// /// - System, + User, } /// @@ -35,9 +35,9 @@ public static string ToValueString(this RealtimeConversationItemWithReferenceRol { return value switch { - RealtimeConversationItemWithReferenceRole.User => "user", RealtimeConversationItemWithReferenceRole.Assistant => "assistant", RealtimeConversationItemWithReferenceRole.System => "system", + RealtimeConversationItemWithReferenceRole.User => "user", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -48,9 +48,9 @@ public static string ToValueString(this RealtimeConversationItemWithReferenceRol { return value switch { - "user" => RealtimeConversationItemWithReferenceRole.User, "assistant" => RealtimeConversationItemWithReferenceRole.Assistant, "system" => RealtimeConversationItemWithReferenceRole.System, + "user" => RealtimeConversationItemWithReferenceRole.User, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceStatus.g.cs index e06b1c12..63a496f4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceStatus.g.cs @@ -17,11 +17,11 @@ public enum RealtimeConversationItemWithReferenceStatus /// /// /// - Incomplete, + InProgress, /// /// /// - InProgress, + Incomplete, } /// @@ -37,8 +37,8 @@ public static string ToValueString(this RealtimeConversationItemWithReferenceSta return value switch { RealtimeConversationItemWithReferenceStatus.Completed => "completed", - RealtimeConversationItemWithReferenceStatus.Incomplete => "incomplete", RealtimeConversationItemWithReferenceStatus.InProgress => "in_progress", + RealtimeConversationItemWithReferenceStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -50,8 +50,8 @@ public static string ToValueString(this RealtimeConversationItemWithReferenceSta return value switch { "completed" => RealtimeConversationItemWithReferenceStatus.Completed, - "incomplete" => RealtimeConversationItemWithReferenceStatus.Incomplete, "in_progress" => RealtimeConversationItemWithReferenceStatus.InProgress, + "incomplete" => RealtimeConversationItemWithReferenceStatus.Incomplete, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceType.g.cs index aa237821..c94da868 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceType.g.cs @@ -11,15 +11,15 @@ public enum RealtimeConversationItemWithReferenceType /// /// /// - Message, + FunctionCall, /// /// /// - FunctionCall, + FunctionCallOutput, /// /// /// - FunctionCallOutput, + Message, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this RealtimeConversationItemWithReferenceTyp { return value switch { - RealtimeConversationItemWithReferenceType.Message => "message", RealtimeConversationItemWithReferenceType.FunctionCall => "function_call", RealtimeConversationItemWithReferenceType.FunctionCallOutput => "function_call_output", + RealtimeConversationItemWithReferenceType.Message => "message", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this RealtimeConversationItemWithReferenceTyp { return value switch { - "message" => RealtimeConversationItemWithReferenceType.Message, "function_call" => RealtimeConversationItemWithReferenceType.FunctionCall, "function_call_output" => RealtimeConversationItemWithReferenceType.FunctionCallOutput, + "message" => RealtimeConversationItemWithReferenceType.Message, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParamsOutputModalitie.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParamsOutputModalitie.g.cs index 8e3990bf..13dae7d3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParamsOutputModalitie.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParamsOutputModalitie.g.cs @@ -11,11 +11,11 @@ public enum RealtimeResponseCreateParamsOutputModalitie /// /// /// - Text, + Audio, /// /// /// - Audio, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this RealtimeResponseCreateParamsOutputModali { return value switch { - RealtimeResponseCreateParamsOutputModalitie.Text => "text", RealtimeResponseCreateParamsOutputModalitie.Audio => "audio", + RealtimeResponseCreateParamsOutputModalitie.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this RealtimeResponseCreateParamsOutputModali { return value switch { - "text" => RealtimeResponseCreateParamsOutputModalitie.Text, "audio" => RealtimeResponseCreateParamsOutputModalitie.Audio, + "text" => RealtimeResponseCreateParamsOutputModalitie.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseOutputModalitie.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseOutputModalitie.g.cs index d20315aa..2220078c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseOutputModalitie.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseOutputModalitie.g.cs @@ -11,11 +11,11 @@ public enum RealtimeResponseOutputModalitie /// /// /// - Text, + Audio, /// /// /// - Audio, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this RealtimeResponseOutputModalitie value) { return value switch { - RealtimeResponseOutputModalitie.Text => "text", RealtimeResponseOutputModalitie.Audio => "audio", + RealtimeResponseOutputModalitie.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this RealtimeResponseOutputModalitie value) { return value switch { - "text" => RealtimeResponseOutputModalitie.Text, "audio" => RealtimeResponseOutputModalitie.Audio, + "text" => RealtimeResponseOutputModalitie.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseStatus.g.cs index 65caca65..e3f97fd9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseStatus.g.cs @@ -12,11 +12,11 @@ public enum RealtimeResponseStatus /// /// /// - Completed, + Cancelled, /// /// /// - Cancelled, + Completed, /// /// /// @@ -24,11 +24,11 @@ public enum RealtimeResponseStatus /// /// /// - Incomplete, + InProgress, /// /// /// - InProgress, + Incomplete, } /// @@ -43,11 +43,11 @@ public static string ToValueString(this RealtimeResponseStatus value) { return value switch { - RealtimeResponseStatus.Completed => "completed", RealtimeResponseStatus.Cancelled => "cancelled", + RealtimeResponseStatus.Completed => "completed", RealtimeResponseStatus.Failed => "failed", - RealtimeResponseStatus.Incomplete => "incomplete", RealtimeResponseStatus.InProgress => "in_progress", + RealtimeResponseStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -58,11 +58,11 @@ public static string ToValueString(this RealtimeResponseStatus value) { return value switch { - "completed" => RealtimeResponseStatus.Completed, "cancelled" => RealtimeResponseStatus.Cancelled, + "completed" => RealtimeResponseStatus.Completed, "failed" => RealtimeResponseStatus.Failed, - "incomplete" => RealtimeResponseStatus.Incomplete, "in_progress" => RealtimeResponseStatus.InProgress, + "incomplete" => RealtimeResponseStatus.Incomplete, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseStatusDetailsReason.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseStatusDetailsReason.g.cs index fa8e5961..28240e94 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseStatusDetailsReason.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseStatusDetailsReason.g.cs @@ -11,11 +11,11 @@ public enum RealtimeResponseStatusDetailsReason /// /// /// - TurnDetected, + ClientCancelled, /// /// /// - ClientCancelled, + ContentFilter, /// /// /// @@ -23,7 +23,7 @@ public enum RealtimeResponseStatusDetailsReason /// /// /// - ContentFilter, + TurnDetected, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this RealtimeResponseStatusDetailsReason valu { return value switch { - RealtimeResponseStatusDetailsReason.TurnDetected => "turn_detected", RealtimeResponseStatusDetailsReason.ClientCancelled => "client_cancelled", - RealtimeResponseStatusDetailsReason.MaxOutputTokens => "max_output_tokens", RealtimeResponseStatusDetailsReason.ContentFilter => "content_filter", + RealtimeResponseStatusDetailsReason.MaxOutputTokens => "max_output_tokens", + RealtimeResponseStatusDetailsReason.TurnDetected => "turn_detected", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this RealtimeResponseStatusDetailsReason valu { return value switch { - "turn_detected" => RealtimeResponseStatusDetailsReason.TurnDetected, "client_cancelled" => RealtimeResponseStatusDetailsReason.ClientCancelled, - "max_output_tokens" => RealtimeResponseStatusDetailsReason.MaxOutputTokens, "content_filter" => RealtimeResponseStatusDetailsReason.ContentFilter, + "max_output_tokens" => RealtimeResponseStatusDetailsReason.MaxOutputTokens, + "turn_detected" => RealtimeResponseStatusDetailsReason.TurnDetected, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseStatusDetailsType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseStatusDetailsType.g.cs index ce600902..3c1988a2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseStatusDetailsType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseStatusDetailsType.g.cs @@ -13,11 +13,11 @@ public enum RealtimeResponseStatusDetailsType /// /// /// - Completed, + Cancelled, /// /// /// - Cancelled, + Completed, /// /// /// @@ -40,8 +40,8 @@ public static string ToValueString(this RealtimeResponseStatusDetailsType value) { return value switch { - RealtimeResponseStatusDetailsType.Completed => "completed", RealtimeResponseStatusDetailsType.Cancelled => "cancelled", + RealtimeResponseStatusDetailsType.Completed => "completed", RealtimeResponseStatusDetailsType.Failed => "failed", RealtimeResponseStatusDetailsType.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -54,8 +54,8 @@ public static string ToValueString(this RealtimeResponseStatusDetailsType value) { return value switch { - "completed" => RealtimeResponseStatusDetailsType.Completed, "cancelled" => RealtimeResponseStatusDetailsType.Cancelled, + "completed" => RealtimeResponseStatusDetailsType.Completed, "failed" => RealtimeResponseStatusDetailsType.Failed, "incomplete" => RealtimeResponseStatusDetailsType.Incomplete, _ => null, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestGAModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestGAModel.g.cs index 390a14a9..9ce23273 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestGAModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestGAModel.g.cs @@ -11,15 +11,11 @@ public enum RealtimeSessionCreateRequestGAModel /// /// /// - GptRealtime, - /// - /// - /// - GptRealtime15, + Gpt4oMiniRealtimePreview, /// /// /// - GptRealtime20250828, + Gpt4oMiniRealtimePreview20241217, /// /// /// @@ -39,39 +35,43 @@ public enum RealtimeSessionCreateRequestGAModel /// /// /// - Gpt4oMiniRealtimePreview, + GptAudio15, /// /// /// - Gpt4oMiniRealtimePreview20241217, + GptAudioMini, /// /// /// - GptRealtimeMini, + GptAudioMini20251006, /// /// /// - GptRealtimeMini20251006, + GptAudioMini20251215, /// /// /// - GptRealtimeMini20251215, + GptRealtime, /// /// /// - GptAudio15, + GptRealtime15, /// /// /// - GptAudioMini, + GptRealtime20250828, /// /// /// - GptAudioMini20251006, + GptRealtimeMini, /// /// /// - GptAudioMini20251215, + GptRealtimeMini20251006, + /// + /// + /// + GptRealtimeMini20251215, } /// @@ -86,22 +86,22 @@ public static string ToValueString(this RealtimeSessionCreateRequestGAModel valu { return value switch { - RealtimeSessionCreateRequestGAModel.GptRealtime => "gpt-realtime", - RealtimeSessionCreateRequestGAModel.GptRealtime15 => "gpt-realtime-1.5", - RealtimeSessionCreateRequestGAModel.GptRealtime20250828 => "gpt-realtime-2025-08-28", + RealtimeSessionCreateRequestGAModel.Gpt4oMiniRealtimePreview => "gpt-4o-mini-realtime-preview", + RealtimeSessionCreateRequestGAModel.Gpt4oMiniRealtimePreview20241217 => "gpt-4o-mini-realtime-preview-2024-12-17", RealtimeSessionCreateRequestGAModel.Gpt4oRealtimePreview => "gpt-4o-realtime-preview", RealtimeSessionCreateRequestGAModel.Gpt4oRealtimePreview20241001 => "gpt-4o-realtime-preview-2024-10-01", RealtimeSessionCreateRequestGAModel.Gpt4oRealtimePreview20241217 => "gpt-4o-realtime-preview-2024-12-17", RealtimeSessionCreateRequestGAModel.Gpt4oRealtimePreview20250603 => "gpt-4o-realtime-preview-2025-06-03", - RealtimeSessionCreateRequestGAModel.Gpt4oMiniRealtimePreview => "gpt-4o-mini-realtime-preview", - RealtimeSessionCreateRequestGAModel.Gpt4oMiniRealtimePreview20241217 => "gpt-4o-mini-realtime-preview-2024-12-17", - RealtimeSessionCreateRequestGAModel.GptRealtimeMini => "gpt-realtime-mini", - RealtimeSessionCreateRequestGAModel.GptRealtimeMini20251006 => "gpt-realtime-mini-2025-10-06", - RealtimeSessionCreateRequestGAModel.GptRealtimeMini20251215 => "gpt-realtime-mini-2025-12-15", RealtimeSessionCreateRequestGAModel.GptAudio15 => "gpt-audio-1.5", RealtimeSessionCreateRequestGAModel.GptAudioMini => "gpt-audio-mini", RealtimeSessionCreateRequestGAModel.GptAudioMini20251006 => "gpt-audio-mini-2025-10-06", RealtimeSessionCreateRequestGAModel.GptAudioMini20251215 => "gpt-audio-mini-2025-12-15", + RealtimeSessionCreateRequestGAModel.GptRealtime => "gpt-realtime", + RealtimeSessionCreateRequestGAModel.GptRealtime15 => "gpt-realtime-1.5", + RealtimeSessionCreateRequestGAModel.GptRealtime20250828 => "gpt-realtime-2025-08-28", + RealtimeSessionCreateRequestGAModel.GptRealtimeMini => "gpt-realtime-mini", + RealtimeSessionCreateRequestGAModel.GptRealtimeMini20251006 => "gpt-realtime-mini-2025-10-06", + RealtimeSessionCreateRequestGAModel.GptRealtimeMini20251215 => "gpt-realtime-mini-2025-12-15", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -112,22 +112,22 @@ public static string ToValueString(this RealtimeSessionCreateRequestGAModel valu { return value switch { - "gpt-realtime" => RealtimeSessionCreateRequestGAModel.GptRealtime, - "gpt-realtime-1.5" => RealtimeSessionCreateRequestGAModel.GptRealtime15, - "gpt-realtime-2025-08-28" => RealtimeSessionCreateRequestGAModel.GptRealtime20250828, + "gpt-4o-mini-realtime-preview" => RealtimeSessionCreateRequestGAModel.Gpt4oMiniRealtimePreview, + "gpt-4o-mini-realtime-preview-2024-12-17" => RealtimeSessionCreateRequestGAModel.Gpt4oMiniRealtimePreview20241217, "gpt-4o-realtime-preview" => RealtimeSessionCreateRequestGAModel.Gpt4oRealtimePreview, "gpt-4o-realtime-preview-2024-10-01" => RealtimeSessionCreateRequestGAModel.Gpt4oRealtimePreview20241001, "gpt-4o-realtime-preview-2024-12-17" => RealtimeSessionCreateRequestGAModel.Gpt4oRealtimePreview20241217, "gpt-4o-realtime-preview-2025-06-03" => RealtimeSessionCreateRequestGAModel.Gpt4oRealtimePreview20250603, - "gpt-4o-mini-realtime-preview" => RealtimeSessionCreateRequestGAModel.Gpt4oMiniRealtimePreview, - "gpt-4o-mini-realtime-preview-2024-12-17" => RealtimeSessionCreateRequestGAModel.Gpt4oMiniRealtimePreview20241217, - "gpt-realtime-mini" => RealtimeSessionCreateRequestGAModel.GptRealtimeMini, - "gpt-realtime-mini-2025-10-06" => RealtimeSessionCreateRequestGAModel.GptRealtimeMini20251006, - "gpt-realtime-mini-2025-12-15" => RealtimeSessionCreateRequestGAModel.GptRealtimeMini20251215, "gpt-audio-1.5" => RealtimeSessionCreateRequestGAModel.GptAudio15, "gpt-audio-mini" => RealtimeSessionCreateRequestGAModel.GptAudioMini, "gpt-audio-mini-2025-10-06" => RealtimeSessionCreateRequestGAModel.GptAudioMini20251006, "gpt-audio-mini-2025-12-15" => RealtimeSessionCreateRequestGAModel.GptAudioMini20251215, + "gpt-realtime" => RealtimeSessionCreateRequestGAModel.GptRealtime, + "gpt-realtime-1.5" => RealtimeSessionCreateRequestGAModel.GptRealtime15, + "gpt-realtime-2025-08-28" => RealtimeSessionCreateRequestGAModel.GptRealtime20250828, + "gpt-realtime-mini" => RealtimeSessionCreateRequestGAModel.GptRealtimeMini, + "gpt-realtime-mini-2025-10-06" => RealtimeSessionCreateRequestGAModel.GptRealtimeMini20251006, + "gpt-realtime-mini-2025-12-15" => RealtimeSessionCreateRequestGAModel.GptRealtimeMini20251215, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestGAOutputModalitie.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestGAOutputModalitie.g.cs index b037b660..a1e215cc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestGAOutputModalitie.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestGAOutputModalitie.g.cs @@ -11,11 +11,11 @@ public enum RealtimeSessionCreateRequestGAOutputModalitie /// /// /// - Text, + Audio, /// /// /// - Audio, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this RealtimeSessionCreateRequestGAOutputModa { return value switch { - RealtimeSessionCreateRequestGAOutputModalitie.Text => "text", RealtimeSessionCreateRequestGAOutputModalitie.Audio => "audio", + RealtimeSessionCreateRequestGAOutputModalitie.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this RealtimeSessionCreateRequestGAOutputModa { return value switch { - "text" => RealtimeSessionCreateRequestGAOutputModalitie.Text, "audio" => RealtimeSessionCreateRequestGAOutputModalitie.Audio, + "text" => RealtimeSessionCreateRequestGAOutputModalitie.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestModalitie.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestModalitie.g.cs index ca096a78..904ff30e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestModalitie.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestModalitie.g.cs @@ -11,11 +11,11 @@ public enum RealtimeSessionCreateRequestModalitie /// /// /// - Text, + Audio, /// /// /// - Audio, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this RealtimeSessionCreateRequestModalitie va { return value switch { - RealtimeSessionCreateRequestModalitie.Text => "text", RealtimeSessionCreateRequestModalitie.Audio => "audio", + RealtimeSessionCreateRequestModalitie.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this RealtimeSessionCreateRequestModalitie va { return value switch { - "text" => RealtimeSessionCreateRequestModalitie.Text, "audio" => RealtimeSessionCreateRequestModalitie.Audio, + "text" => RealtimeSessionCreateRequestModalitie.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseGAModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseGAModel.g.cs index d888acf3..bd980efc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseGAModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseGAModel.g.cs @@ -11,15 +11,11 @@ public enum RealtimeSessionCreateResponseGAModel /// /// /// - GptRealtime, - /// - /// - /// - GptRealtime15, + Gpt4oMiniRealtimePreview, /// /// /// - GptRealtime20250828, + Gpt4oMiniRealtimePreview20241217, /// /// /// @@ -39,39 +35,43 @@ public enum RealtimeSessionCreateResponseGAModel /// /// /// - Gpt4oMiniRealtimePreview, + GptAudio15, /// /// /// - Gpt4oMiniRealtimePreview20241217, + GptAudioMini, /// /// /// - GptRealtimeMini, + GptAudioMini20251006, /// /// /// - GptRealtimeMini20251006, + GptAudioMini20251215, /// /// /// - GptRealtimeMini20251215, + GptRealtime, /// /// /// - GptAudio15, + GptRealtime15, /// /// /// - GptAudioMini, + GptRealtime20250828, /// /// /// - GptAudioMini20251006, + GptRealtimeMini, /// /// /// - GptAudioMini20251215, + GptRealtimeMini20251006, + /// + /// + /// + GptRealtimeMini20251215, } /// @@ -86,22 +86,22 @@ public static string ToValueString(this RealtimeSessionCreateResponseGAModel val { return value switch { - RealtimeSessionCreateResponseGAModel.GptRealtime => "gpt-realtime", - RealtimeSessionCreateResponseGAModel.GptRealtime15 => "gpt-realtime-1.5", - RealtimeSessionCreateResponseGAModel.GptRealtime20250828 => "gpt-realtime-2025-08-28", + RealtimeSessionCreateResponseGAModel.Gpt4oMiniRealtimePreview => "gpt-4o-mini-realtime-preview", + RealtimeSessionCreateResponseGAModel.Gpt4oMiniRealtimePreview20241217 => "gpt-4o-mini-realtime-preview-2024-12-17", RealtimeSessionCreateResponseGAModel.Gpt4oRealtimePreview => "gpt-4o-realtime-preview", RealtimeSessionCreateResponseGAModel.Gpt4oRealtimePreview20241001 => "gpt-4o-realtime-preview-2024-10-01", RealtimeSessionCreateResponseGAModel.Gpt4oRealtimePreview20241217 => "gpt-4o-realtime-preview-2024-12-17", RealtimeSessionCreateResponseGAModel.Gpt4oRealtimePreview20250603 => "gpt-4o-realtime-preview-2025-06-03", - RealtimeSessionCreateResponseGAModel.Gpt4oMiniRealtimePreview => "gpt-4o-mini-realtime-preview", - RealtimeSessionCreateResponseGAModel.Gpt4oMiniRealtimePreview20241217 => "gpt-4o-mini-realtime-preview-2024-12-17", - RealtimeSessionCreateResponseGAModel.GptRealtimeMini => "gpt-realtime-mini", - RealtimeSessionCreateResponseGAModel.GptRealtimeMini20251006 => "gpt-realtime-mini-2025-10-06", - RealtimeSessionCreateResponseGAModel.GptRealtimeMini20251215 => "gpt-realtime-mini-2025-12-15", RealtimeSessionCreateResponseGAModel.GptAudio15 => "gpt-audio-1.5", RealtimeSessionCreateResponseGAModel.GptAudioMini => "gpt-audio-mini", RealtimeSessionCreateResponseGAModel.GptAudioMini20251006 => "gpt-audio-mini-2025-10-06", RealtimeSessionCreateResponseGAModel.GptAudioMini20251215 => "gpt-audio-mini-2025-12-15", + RealtimeSessionCreateResponseGAModel.GptRealtime => "gpt-realtime", + RealtimeSessionCreateResponseGAModel.GptRealtime15 => "gpt-realtime-1.5", + RealtimeSessionCreateResponseGAModel.GptRealtime20250828 => "gpt-realtime-2025-08-28", + RealtimeSessionCreateResponseGAModel.GptRealtimeMini => "gpt-realtime-mini", + RealtimeSessionCreateResponseGAModel.GptRealtimeMini20251006 => "gpt-realtime-mini-2025-10-06", + RealtimeSessionCreateResponseGAModel.GptRealtimeMini20251215 => "gpt-realtime-mini-2025-12-15", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -112,22 +112,22 @@ public static string ToValueString(this RealtimeSessionCreateResponseGAModel val { return value switch { - "gpt-realtime" => RealtimeSessionCreateResponseGAModel.GptRealtime, - "gpt-realtime-1.5" => RealtimeSessionCreateResponseGAModel.GptRealtime15, - "gpt-realtime-2025-08-28" => RealtimeSessionCreateResponseGAModel.GptRealtime20250828, + "gpt-4o-mini-realtime-preview" => RealtimeSessionCreateResponseGAModel.Gpt4oMiniRealtimePreview, + "gpt-4o-mini-realtime-preview-2024-12-17" => RealtimeSessionCreateResponseGAModel.Gpt4oMiniRealtimePreview20241217, "gpt-4o-realtime-preview" => RealtimeSessionCreateResponseGAModel.Gpt4oRealtimePreview, "gpt-4o-realtime-preview-2024-10-01" => RealtimeSessionCreateResponseGAModel.Gpt4oRealtimePreview20241001, "gpt-4o-realtime-preview-2024-12-17" => RealtimeSessionCreateResponseGAModel.Gpt4oRealtimePreview20241217, "gpt-4o-realtime-preview-2025-06-03" => RealtimeSessionCreateResponseGAModel.Gpt4oRealtimePreview20250603, - "gpt-4o-mini-realtime-preview" => RealtimeSessionCreateResponseGAModel.Gpt4oMiniRealtimePreview, - "gpt-4o-mini-realtime-preview-2024-12-17" => RealtimeSessionCreateResponseGAModel.Gpt4oMiniRealtimePreview20241217, - "gpt-realtime-mini" => RealtimeSessionCreateResponseGAModel.GptRealtimeMini, - "gpt-realtime-mini-2025-10-06" => RealtimeSessionCreateResponseGAModel.GptRealtimeMini20251006, - "gpt-realtime-mini-2025-12-15" => RealtimeSessionCreateResponseGAModel.GptRealtimeMini20251215, "gpt-audio-1.5" => RealtimeSessionCreateResponseGAModel.GptAudio15, "gpt-audio-mini" => RealtimeSessionCreateResponseGAModel.GptAudioMini, "gpt-audio-mini-2025-10-06" => RealtimeSessionCreateResponseGAModel.GptAudioMini20251006, "gpt-audio-mini-2025-12-15" => RealtimeSessionCreateResponseGAModel.GptAudioMini20251215, + "gpt-realtime" => RealtimeSessionCreateResponseGAModel.GptRealtime, + "gpt-realtime-1.5" => RealtimeSessionCreateResponseGAModel.GptRealtime15, + "gpt-realtime-2025-08-28" => RealtimeSessionCreateResponseGAModel.GptRealtime20250828, + "gpt-realtime-mini" => RealtimeSessionCreateResponseGAModel.GptRealtimeMini, + "gpt-realtime-mini-2025-10-06" => RealtimeSessionCreateResponseGAModel.GptRealtimeMini20251006, + "gpt-realtime-mini-2025-12-15" => RealtimeSessionCreateResponseGAModel.GptRealtimeMini20251215, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseGAOutputModalitie.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseGAOutputModalitie.g.cs index f8afb94b..ad878664 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseGAOutputModalitie.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseGAOutputModalitie.g.cs @@ -11,11 +11,11 @@ public enum RealtimeSessionCreateResponseGAOutputModalitie /// /// /// - Text, + Audio, /// /// /// - Audio, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this RealtimeSessionCreateResponseGAOutputMod { return value switch { - RealtimeSessionCreateResponseGAOutputModalitie.Text => "text", RealtimeSessionCreateResponseGAOutputModalitie.Audio => "audio", + RealtimeSessionCreateResponseGAOutputModalitie.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this RealtimeSessionCreateResponseGAOutputMod { return value switch { - "text" => RealtimeSessionCreateResponseGAOutputModalitie.Text, "audio" => RealtimeSessionCreateResponseGAOutputModalitie.Audio, + "text" => RealtimeSessionCreateResponseGAOutputModalitie.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseOutputModalitie.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseOutputModalitie.g.cs index c6b0465e..29bcf247 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseOutputModalitie.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseOutputModalitie.g.cs @@ -11,11 +11,11 @@ public enum RealtimeSessionCreateResponseOutputModalitie /// /// /// - Text, + Audio, /// /// /// - Audio, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this RealtimeSessionCreateResponseOutputModal { return value switch { - RealtimeSessionCreateResponseOutputModalitie.Text => "text", RealtimeSessionCreateResponseOutputModalitie.Audio => "audio", + RealtimeSessionCreateResponseOutputModalitie.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this RealtimeSessionCreateResponseOutputModal { return value switch { - "text" => RealtimeSessionCreateResponseOutputModalitie.Text, "audio" => RealtimeSessionCreateResponseOutputModalitie.Audio, + "text" => RealtimeSessionCreateResponseOutputModalitie.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionInputAudioFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionInputAudioFormat.g.cs index 32ea6564..8ba737e6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionInputAudioFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionInputAudioFormat.g.cs @@ -14,7 +14,7 @@ public enum RealtimeSessionInputAudioFormat /// /// /// - Pcm16, + G711Alaw, /// /// /// @@ -22,7 +22,7 @@ public enum RealtimeSessionInputAudioFormat /// /// /// - G711Alaw, + Pcm16, } /// @@ -37,9 +37,9 @@ public static string ToValueString(this RealtimeSessionInputAudioFormat value) { return value switch { - RealtimeSessionInputAudioFormat.Pcm16 => "pcm16", - RealtimeSessionInputAudioFormat.G711Ulaw => "g711_ulaw", RealtimeSessionInputAudioFormat.G711Alaw => "g711_alaw", + RealtimeSessionInputAudioFormat.G711Ulaw => "g711_ulaw", + RealtimeSessionInputAudioFormat.Pcm16 => "pcm16", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -50,9 +50,9 @@ public static string ToValueString(this RealtimeSessionInputAudioFormat value) { return value switch { - "pcm16" => RealtimeSessionInputAudioFormat.Pcm16, - "g711_ulaw" => RealtimeSessionInputAudioFormat.G711Ulaw, "g711_alaw" => RealtimeSessionInputAudioFormat.G711Alaw, + "g711_ulaw" => RealtimeSessionInputAudioFormat.G711Ulaw, + "pcm16" => RealtimeSessionInputAudioFormat.Pcm16, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionModalitie.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionModalitie.g.cs index eb469e3f..e7a21600 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionModalitie.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionModalitie.g.cs @@ -11,11 +11,11 @@ public enum RealtimeSessionModalitie /// /// /// - Text, + Audio, /// /// /// - Audio, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this RealtimeSessionModalitie value) { return value switch { - RealtimeSessionModalitie.Text => "text", RealtimeSessionModalitie.Audio => "audio", + RealtimeSessionModalitie.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this RealtimeSessionModalitie value) { return value switch { - "text" => RealtimeSessionModalitie.Text, "audio" => RealtimeSessionModalitie.Audio, + "text" => RealtimeSessionModalitie.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionModel.g.cs index ec02ca4b..cc731ad6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionModel.g.cs @@ -11,15 +11,11 @@ public enum RealtimeSessionModel /// /// /// - GptRealtime, - /// - /// - /// - GptRealtime15, + Gpt4oMiniRealtimePreview, /// /// /// - GptRealtime20250828, + Gpt4oMiniRealtimePreview20241217, /// /// /// @@ -39,39 +35,43 @@ public enum RealtimeSessionModel /// /// /// - Gpt4oMiniRealtimePreview, + GptAudio15, /// /// /// - Gpt4oMiniRealtimePreview20241217, + GptAudioMini, /// /// /// - GptRealtimeMini, + GptAudioMini20251006, /// /// /// - GptRealtimeMini20251006, + GptAudioMini20251215, /// /// /// - GptRealtimeMini20251215, + GptRealtime, /// /// /// - GptAudio15, + GptRealtime15, /// /// /// - GptAudioMini, + GptRealtime20250828, /// /// /// - GptAudioMini20251006, + GptRealtimeMini, /// /// /// - GptAudioMini20251215, + GptRealtimeMini20251006, + /// + /// + /// + GptRealtimeMini20251215, } /// @@ -86,22 +86,22 @@ public static string ToValueString(this RealtimeSessionModel value) { return value switch { - RealtimeSessionModel.GptRealtime => "gpt-realtime", - RealtimeSessionModel.GptRealtime15 => "gpt-realtime-1.5", - RealtimeSessionModel.GptRealtime20250828 => "gpt-realtime-2025-08-28", + RealtimeSessionModel.Gpt4oMiniRealtimePreview => "gpt-4o-mini-realtime-preview", + RealtimeSessionModel.Gpt4oMiniRealtimePreview20241217 => "gpt-4o-mini-realtime-preview-2024-12-17", RealtimeSessionModel.Gpt4oRealtimePreview => "gpt-4o-realtime-preview", RealtimeSessionModel.Gpt4oRealtimePreview20241001 => "gpt-4o-realtime-preview-2024-10-01", RealtimeSessionModel.Gpt4oRealtimePreview20241217 => "gpt-4o-realtime-preview-2024-12-17", RealtimeSessionModel.Gpt4oRealtimePreview20250603 => "gpt-4o-realtime-preview-2025-06-03", - RealtimeSessionModel.Gpt4oMiniRealtimePreview => "gpt-4o-mini-realtime-preview", - RealtimeSessionModel.Gpt4oMiniRealtimePreview20241217 => "gpt-4o-mini-realtime-preview-2024-12-17", - RealtimeSessionModel.GptRealtimeMini => "gpt-realtime-mini", - RealtimeSessionModel.GptRealtimeMini20251006 => "gpt-realtime-mini-2025-10-06", - RealtimeSessionModel.GptRealtimeMini20251215 => "gpt-realtime-mini-2025-12-15", RealtimeSessionModel.GptAudio15 => "gpt-audio-1.5", RealtimeSessionModel.GptAudioMini => "gpt-audio-mini", RealtimeSessionModel.GptAudioMini20251006 => "gpt-audio-mini-2025-10-06", RealtimeSessionModel.GptAudioMini20251215 => "gpt-audio-mini-2025-12-15", + RealtimeSessionModel.GptRealtime => "gpt-realtime", + RealtimeSessionModel.GptRealtime15 => "gpt-realtime-1.5", + RealtimeSessionModel.GptRealtime20250828 => "gpt-realtime-2025-08-28", + RealtimeSessionModel.GptRealtimeMini => "gpt-realtime-mini", + RealtimeSessionModel.GptRealtimeMini20251006 => "gpt-realtime-mini-2025-10-06", + RealtimeSessionModel.GptRealtimeMini20251215 => "gpt-realtime-mini-2025-12-15", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -112,22 +112,22 @@ public static string ToValueString(this RealtimeSessionModel value) { return value switch { - "gpt-realtime" => RealtimeSessionModel.GptRealtime, - "gpt-realtime-1.5" => RealtimeSessionModel.GptRealtime15, - "gpt-realtime-2025-08-28" => RealtimeSessionModel.GptRealtime20250828, + "gpt-4o-mini-realtime-preview" => RealtimeSessionModel.Gpt4oMiniRealtimePreview, + "gpt-4o-mini-realtime-preview-2024-12-17" => RealtimeSessionModel.Gpt4oMiniRealtimePreview20241217, "gpt-4o-realtime-preview" => RealtimeSessionModel.Gpt4oRealtimePreview, "gpt-4o-realtime-preview-2024-10-01" => RealtimeSessionModel.Gpt4oRealtimePreview20241001, "gpt-4o-realtime-preview-2024-12-17" => RealtimeSessionModel.Gpt4oRealtimePreview20241217, "gpt-4o-realtime-preview-2025-06-03" => RealtimeSessionModel.Gpt4oRealtimePreview20250603, - "gpt-4o-mini-realtime-preview" => RealtimeSessionModel.Gpt4oMiniRealtimePreview, - "gpt-4o-mini-realtime-preview-2024-12-17" => RealtimeSessionModel.Gpt4oMiniRealtimePreview20241217, - "gpt-realtime-mini" => RealtimeSessionModel.GptRealtimeMini, - "gpt-realtime-mini-2025-10-06" => RealtimeSessionModel.GptRealtimeMini20251006, - "gpt-realtime-mini-2025-12-15" => RealtimeSessionModel.GptRealtimeMini20251215, "gpt-audio-1.5" => RealtimeSessionModel.GptAudio15, "gpt-audio-mini" => RealtimeSessionModel.GptAudioMini, "gpt-audio-mini-2025-10-06" => RealtimeSessionModel.GptAudioMini20251006, "gpt-audio-mini-2025-12-15" => RealtimeSessionModel.GptAudioMini20251215, + "gpt-realtime" => RealtimeSessionModel.GptRealtime, + "gpt-realtime-1.5" => RealtimeSessionModel.GptRealtime15, + "gpt-realtime-2025-08-28" => RealtimeSessionModel.GptRealtime20250828, + "gpt-realtime-mini" => RealtimeSessionModel.GptRealtimeMini, + "gpt-realtime-mini-2025-10-06" => RealtimeSessionModel.GptRealtimeMini20251006, + "gpt-realtime-mini-2025-12-15" => RealtimeSessionModel.GptRealtimeMini20251215, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionOutputAudioFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionOutputAudioFormat.g.cs index 27c8987b..8fa8b28d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionOutputAudioFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionOutputAudioFormat.g.cs @@ -13,7 +13,7 @@ public enum RealtimeSessionOutputAudioFormat /// /// /// - Pcm16, + G711Alaw, /// /// /// @@ -21,7 +21,7 @@ public enum RealtimeSessionOutputAudioFormat /// /// /// - G711Alaw, + Pcm16, } /// @@ -36,9 +36,9 @@ public static string ToValueString(this RealtimeSessionOutputAudioFormat value) { return value switch { - RealtimeSessionOutputAudioFormat.Pcm16 => "pcm16", - RealtimeSessionOutputAudioFormat.G711Ulaw => "g711_ulaw", RealtimeSessionOutputAudioFormat.G711Alaw => "g711_alaw", + RealtimeSessionOutputAudioFormat.G711Ulaw => "g711_ulaw", + RealtimeSessionOutputAudioFormat.Pcm16 => "pcm16", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -49,9 +49,9 @@ public static string ToValueString(this RealtimeSessionOutputAudioFormat value) { return value switch { - "pcm16" => RealtimeSessionOutputAudioFormat.Pcm16, - "g711_ulaw" => RealtimeSessionOutputAudioFormat.G711Ulaw, "g711_alaw" => RealtimeSessionOutputAudioFormat.G711Alaw, + "g711_ulaw" => RealtimeSessionOutputAudioFormat.G711Ulaw, + "pcm16" => RealtimeSessionOutputAudioFormat.Pcm16, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranscriptionSessionCreateRequestInputAudioFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranscriptionSessionCreateRequestInputAudioFormat.g.cs index 460389e0..bf516015 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranscriptionSessionCreateRequestInputAudioFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranscriptionSessionCreateRequestInputAudioFormat.g.cs @@ -14,7 +14,7 @@ public enum RealtimeTranscriptionSessionCreateRequestInputAudioFormat /// /// /// - Pcm16, + G711Alaw, /// /// /// @@ -22,7 +22,7 @@ public enum RealtimeTranscriptionSessionCreateRequestInputAudioFormat /// /// /// - G711Alaw, + Pcm16, } /// @@ -37,9 +37,9 @@ public static string ToValueString(this RealtimeTranscriptionSessionCreateReques { return value switch { - RealtimeTranscriptionSessionCreateRequestInputAudioFormat.Pcm16 => "pcm16", - RealtimeTranscriptionSessionCreateRequestInputAudioFormat.G711Ulaw => "g711_ulaw", RealtimeTranscriptionSessionCreateRequestInputAudioFormat.G711Alaw => "g711_alaw", + RealtimeTranscriptionSessionCreateRequestInputAudioFormat.G711Ulaw => "g711_ulaw", + RealtimeTranscriptionSessionCreateRequestInputAudioFormat.Pcm16 => "pcm16", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -50,9 +50,9 @@ public static string ToValueString(this RealtimeTranscriptionSessionCreateReques { return value switch { - "pcm16" => RealtimeTranscriptionSessionCreateRequestInputAudioFormat.Pcm16, - "g711_ulaw" => RealtimeTranscriptionSessionCreateRequestInputAudioFormat.G711Ulaw, "g711_alaw" => RealtimeTranscriptionSessionCreateRequestInputAudioFormat.G711Alaw, + "g711_ulaw" => RealtimeTranscriptionSessionCreateRequestInputAudioFormat.G711Ulaw, + "pcm16" => RealtimeTranscriptionSessionCreateRequestInputAudioFormat.Pcm16, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranscriptionSessionCreateResponseModalitie.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranscriptionSessionCreateResponseModalitie.g.cs index f83ef8e2..1fb62d6f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranscriptionSessionCreateResponseModalitie.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranscriptionSessionCreateResponseModalitie.g.cs @@ -11,11 +11,11 @@ public enum RealtimeTranscriptionSessionCreateResponseModalitie /// /// /// - Text, + Audio, /// /// /// - Audio, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this RealtimeTranscriptionSessionCreateRespon { return value switch { - RealtimeTranscriptionSessionCreateResponseModalitie.Text => "text", RealtimeTranscriptionSessionCreateResponseModalitie.Audio => "audio", + RealtimeTranscriptionSessionCreateResponseModalitie.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this RealtimeTranscriptionSessionCreateRespon { return value switch { - "text" => RealtimeTranscriptionSessionCreateResponseModalitie.Text, "audio" => RealtimeTranscriptionSessionCreateResponseModalitie.Audio, + "text" => RealtimeTranscriptionSessionCreateResponseModalitie.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.g.cs index aba2648f..6283652f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.g.cs @@ -12,19 +12,19 @@ public enum RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness /// /// /// - Low, + Auto, /// /// /// - Medium, + High, /// /// /// - High, + Low, /// /// /// - Auto, + Medium, } /// @@ -39,10 +39,10 @@ public static string ToValueString(this RealtimeTurnDetectionRealtimeTurnDetecti { return value switch { + RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.Auto => "auto", + RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.High => "high", RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.Low => "low", RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.Medium => "medium", - RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.High => "high", - RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.Auto => "auto", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -53,10 +53,10 @@ public static string ToValueString(this RealtimeTurnDetectionRealtimeTurnDetecti { return value switch { + "auto" => RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.Auto, + "high" => RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.High, "low" => RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.Low, "medium" => RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.Medium, - "high" => RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.High, - "auto" => RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness.Auto, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningEffortEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningEffortEnum.g.cs index ea21b147..59ceef91 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningEffortEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningEffortEnum.g.cs @@ -20,23 +20,23 @@ public enum ReasoningEffortEnum /// /// /// - None, + High, /// /// /// - Minimal, + Low, /// /// /// - Low, + Medium, /// /// /// - Medium, + Minimal, /// /// /// - High, + None, /// /// /// @@ -55,11 +55,11 @@ public static string ToValueString(this ReasoningEffortEnum value) { return value switch { - ReasoningEffortEnum.None => "none", - ReasoningEffortEnum.Minimal => "minimal", + ReasoningEffortEnum.High => "high", ReasoningEffortEnum.Low => "low", ReasoningEffortEnum.Medium => "medium", - ReasoningEffortEnum.High => "high", + ReasoningEffortEnum.Minimal => "minimal", + ReasoningEffortEnum.None => "none", ReasoningEffortEnum.Xhigh => "xhigh", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -71,11 +71,11 @@ public static string ToValueString(this ReasoningEffortEnum value) { return value switch { - "none" => ReasoningEffortEnum.None, - "minimal" => ReasoningEffortEnum.Minimal, + "high" => ReasoningEffortEnum.High, "low" => ReasoningEffortEnum.Low, "medium" => ReasoningEffortEnum.Medium, - "high" => ReasoningEffortEnum.High, + "minimal" => ReasoningEffortEnum.Minimal, + "none" => ReasoningEffortEnum.None, "xhigh" => ReasoningEffortEnum.Xhigh, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningItemStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningItemStatus.g.cs index 9d9bb26e..48656d97 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningItemStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningItemStatus.g.cs @@ -12,11 +12,11 @@ public enum ReasoningItemStatus /// /// /// - InProgress, + Completed, /// /// /// - Completed, + InProgress, /// /// /// @@ -35,8 +35,8 @@ public static string ToValueString(this ReasoningItemStatus value) { return value switch { - ReasoningItemStatus.InProgress => "in_progress", ReasoningItemStatus.Completed => "completed", + ReasoningItemStatus.InProgress => "in_progress", ReasoningItemStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -48,8 +48,8 @@ public static string ToValueString(this ReasoningItemStatus value) { return value switch { - "in_progress" => ReasoningItemStatus.InProgress, "completed" => ReasoningItemStatus.Completed, + "in_progress" => ReasoningItemStatus.InProgress, "incomplete" => ReasoningItemStatus.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseErrorCode.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseErrorCode.g.cs index 6ba3ec4a..b1003d8f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseErrorCode.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseErrorCode.g.cs @@ -11,75 +11,75 @@ public enum ResponseErrorCode /// /// /// - ServerError, + EmptyImageFile, /// /// /// - RateLimitExceeded, + FailedToDownloadImage, /// /// /// - InvalidPrompt, + ImageContentPolicyViolation, /// /// /// - VectorStoreTimeout, + ImageFileNotFound, /// /// /// - InvalidImage, + ImageFileTooLarge, /// /// /// - InvalidImageFormat, + ImageParseError, /// /// /// - InvalidBase64Image, + ImageTooLarge, /// /// /// - InvalidImageUrl, + ImageTooSmall, /// /// /// - ImageTooLarge, + InvalidBase64Image, /// /// /// - ImageTooSmall, + InvalidImage, /// /// /// - ImageParseError, + InvalidImageFormat, /// /// /// - ImageContentPolicyViolation, + InvalidImageMode, /// /// /// - InvalidImageMode, + InvalidImageUrl, /// /// /// - ImageFileTooLarge, + InvalidPrompt, /// /// /// - UnsupportedImageMediaType, + RateLimitExceeded, /// /// /// - EmptyImageFile, + ServerError, /// /// /// - FailedToDownloadImage, + UnsupportedImageMediaType, /// /// /// - ImageFileNotFound, + VectorStoreTimeout, } /// @@ -94,24 +94,24 @@ public static string ToValueString(this ResponseErrorCode value) { return value switch { - ResponseErrorCode.ServerError => "server_error", - ResponseErrorCode.RateLimitExceeded => "rate_limit_exceeded", - ResponseErrorCode.InvalidPrompt => "invalid_prompt", - ResponseErrorCode.VectorStoreTimeout => "vector_store_timeout", - ResponseErrorCode.InvalidImage => "invalid_image", - ResponseErrorCode.InvalidImageFormat => "invalid_image_format", - ResponseErrorCode.InvalidBase64Image => "invalid_base64_image", - ResponseErrorCode.InvalidImageUrl => "invalid_image_url", + ResponseErrorCode.EmptyImageFile => "empty_image_file", + ResponseErrorCode.FailedToDownloadImage => "failed_to_download_image", + ResponseErrorCode.ImageContentPolicyViolation => "image_content_policy_violation", + ResponseErrorCode.ImageFileNotFound => "image_file_not_found", + ResponseErrorCode.ImageFileTooLarge => "image_file_too_large", + ResponseErrorCode.ImageParseError => "image_parse_error", ResponseErrorCode.ImageTooLarge => "image_too_large", ResponseErrorCode.ImageTooSmall => "image_too_small", - ResponseErrorCode.ImageParseError => "image_parse_error", - ResponseErrorCode.ImageContentPolicyViolation => "image_content_policy_violation", + ResponseErrorCode.InvalidBase64Image => "invalid_base64_image", + ResponseErrorCode.InvalidImage => "invalid_image", + ResponseErrorCode.InvalidImageFormat => "invalid_image_format", ResponseErrorCode.InvalidImageMode => "invalid_image_mode", - ResponseErrorCode.ImageFileTooLarge => "image_file_too_large", + ResponseErrorCode.InvalidImageUrl => "invalid_image_url", + ResponseErrorCode.InvalidPrompt => "invalid_prompt", + ResponseErrorCode.RateLimitExceeded => "rate_limit_exceeded", + ResponseErrorCode.ServerError => "server_error", ResponseErrorCode.UnsupportedImageMediaType => "unsupported_image_media_type", - ResponseErrorCode.EmptyImageFile => "empty_image_file", - ResponseErrorCode.FailedToDownloadImage => "failed_to_download_image", - ResponseErrorCode.ImageFileNotFound => "image_file_not_found", + ResponseErrorCode.VectorStoreTimeout => "vector_store_timeout", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -122,24 +122,24 @@ public static string ToValueString(this ResponseErrorCode value) { return value switch { - "server_error" => ResponseErrorCode.ServerError, - "rate_limit_exceeded" => ResponseErrorCode.RateLimitExceeded, - "invalid_prompt" => ResponseErrorCode.InvalidPrompt, - "vector_store_timeout" => ResponseErrorCode.VectorStoreTimeout, - "invalid_image" => ResponseErrorCode.InvalidImage, - "invalid_image_format" => ResponseErrorCode.InvalidImageFormat, - "invalid_base64_image" => ResponseErrorCode.InvalidBase64Image, - "invalid_image_url" => ResponseErrorCode.InvalidImageUrl, + "empty_image_file" => ResponseErrorCode.EmptyImageFile, + "failed_to_download_image" => ResponseErrorCode.FailedToDownloadImage, + "image_content_policy_violation" => ResponseErrorCode.ImageContentPolicyViolation, + "image_file_not_found" => ResponseErrorCode.ImageFileNotFound, + "image_file_too_large" => ResponseErrorCode.ImageFileTooLarge, + "image_parse_error" => ResponseErrorCode.ImageParseError, "image_too_large" => ResponseErrorCode.ImageTooLarge, "image_too_small" => ResponseErrorCode.ImageTooSmall, - "image_parse_error" => ResponseErrorCode.ImageParseError, - "image_content_policy_violation" => ResponseErrorCode.ImageContentPolicyViolation, + "invalid_base64_image" => ResponseErrorCode.InvalidBase64Image, + "invalid_image" => ResponseErrorCode.InvalidImage, + "invalid_image_format" => ResponseErrorCode.InvalidImageFormat, "invalid_image_mode" => ResponseErrorCode.InvalidImageMode, - "image_file_too_large" => ResponseErrorCode.ImageFileTooLarge, + "invalid_image_url" => ResponseErrorCode.InvalidImageUrl, + "invalid_prompt" => ResponseErrorCode.InvalidPrompt, + "rate_limit_exceeded" => ResponseErrorCode.RateLimitExceeded, + "server_error" => ResponseErrorCode.ServerError, "unsupported_image_media_type" => ResponseErrorCode.UnsupportedImageMediaType, - "empty_image_file" => ResponseErrorCode.EmptyImageFile, - "failed_to_download_image" => ResponseErrorCode.FailedToDownloadImage, - "image_file_not_found" => ResponseErrorCode.ImageFileNotFound, + "vector_store_timeout" => ResponseErrorCode.VectorStoreTimeout, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseModalitiesVariant1Item.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseModalitiesVariant1Item.g.cs index 690cd9fb..8b2e3c82 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseModalitiesVariant1Item.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseModalitiesVariant1Item.g.cs @@ -11,11 +11,11 @@ public enum ResponseModalitiesVariant1Item /// /// /// - Text, + Audio, /// /// /// - Audio, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ResponseModalitiesVariant1Item value) { return value switch { - ResponseModalitiesVariant1Item.Text => "text", ResponseModalitiesVariant1Item.Audio => "audio", + ResponseModalitiesVariant1Item.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ResponseModalitiesVariant1Item value) { return value switch { - "text" => ResponseModalitiesVariant1Item.Text, "audio" => ResponseModalitiesVariant1Item.Audio, + "text" => ResponseModalitiesVariant1Item.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3IncompleteDetailsReason.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3IncompleteDetailsReason.g.cs index 06338301..2e29e087 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3IncompleteDetailsReason.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3IncompleteDetailsReason.g.cs @@ -11,11 +11,11 @@ public enum ResponseVariant3IncompleteDetailsReason /// /// /// - MaxOutputTokens, + ContentFilter, /// /// /// - ContentFilter, + MaxOutputTokens, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ResponseVariant3IncompleteDetailsReason { return value switch { - ResponseVariant3IncompleteDetailsReason.MaxOutputTokens => "max_output_tokens", ResponseVariant3IncompleteDetailsReason.ContentFilter => "content_filter", + ResponseVariant3IncompleteDetailsReason.MaxOutputTokens => "max_output_tokens", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ResponseVariant3IncompleteDetailsReason { return value switch { - "max_output_tokens" => ResponseVariant3IncompleteDetailsReason.MaxOutputTokens, "content_filter" => ResponseVariant3IncompleteDetailsReason.ContentFilter, + "max_output_tokens" => ResponseVariant3IncompleteDetailsReason.MaxOutputTokens, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3Status.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3Status.g.cs index a287dbb8..ba176352 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3Status.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3Status.g.cs @@ -9,6 +9,10 @@ namespace tryAGI.OpenAI /// public enum ResponseVariant3Status { + /// + /// + /// + Cancelled, /// /// /// @@ -24,15 +28,11 @@ public enum ResponseVariant3Status /// /// /// - Cancelled, + Incomplete, /// /// /// Queued, - /// - /// - /// - Incomplete, } /// @@ -47,12 +47,12 @@ public static string ToValueString(this ResponseVariant3Status value) { return value switch { + ResponseVariant3Status.Cancelled => "cancelled", ResponseVariant3Status.Completed => "completed", ResponseVariant3Status.Failed => "failed", ResponseVariant3Status.InProgress => "in_progress", - ResponseVariant3Status.Cancelled => "cancelled", - ResponseVariant3Status.Queued => "queued", ResponseVariant3Status.Incomplete => "incomplete", + ResponseVariant3Status.Queued => "queued", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -63,12 +63,12 @@ public static string ToValueString(this ResponseVariant3Status value) { return value switch { + "cancelled" => ResponseVariant3Status.Cancelled, "completed" => ResponseVariant3Status.Completed, "failed" => ResponseVariant3Status.Failed, "in_progress" => ResponseVariant3Status.InProgress, - "cancelled" => ResponseVariant3Status.Cancelled, - "queued" => ResponseVariant3Status.Queued, "incomplete" => ResponseVariant3Status.Incomplete, + "queued" => ResponseVariant3Status.Queued, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectLastErrorCode.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectLastErrorCode.g.cs index f0560c24..7c21bdb5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectLastErrorCode.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectLastErrorCode.g.cs @@ -11,7 +11,7 @@ public enum RunObjectLastErrorCode /// /// /// - ServerError, + InvalidPrompt, /// /// /// @@ -19,7 +19,7 @@ public enum RunObjectLastErrorCode /// /// /// - InvalidPrompt, + ServerError, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this RunObjectLastErrorCode value) { return value switch { - RunObjectLastErrorCode.ServerError => "server_error", - RunObjectLastErrorCode.RateLimitExceeded => "rate_limit_exceeded", RunObjectLastErrorCode.InvalidPrompt => "invalid_prompt", + RunObjectLastErrorCode.RateLimitExceeded => "rate_limit_exceeded", + RunObjectLastErrorCode.ServerError => "server_error", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this RunObjectLastErrorCode value) { return value switch { - "server_error" => RunObjectLastErrorCode.ServerError, - "rate_limit_exceeded" => RunObjectLastErrorCode.RateLimitExceeded, "invalid_prompt" => RunObjectLastErrorCode.InvalidPrompt, + "rate_limit_exceeded" => RunObjectLastErrorCode.RateLimitExceeded, + "server_error" => RunObjectLastErrorCode.ServerError, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectStatus.g.cs index debc5161..ee160e8f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectStatus.g.cs @@ -11,39 +11,39 @@ public enum RunObjectStatus /// /// /// - Queued, + Cancelled, /// /// /// - InProgress, + Cancelling, /// /// /// - RequiresAction, + Completed, /// /// /// - Cancelling, + Expired, /// /// /// - Cancelled, + Failed, /// /// /// - Failed, + InProgress, /// /// /// - Completed, + Incomplete, /// /// /// - Incomplete, + Queued, /// /// /// - Expired, + RequiresAction, } /// @@ -58,15 +58,15 @@ public static string ToValueString(this RunObjectStatus value) { return value switch { - RunObjectStatus.Queued => "queued", - RunObjectStatus.InProgress => "in_progress", - RunObjectStatus.RequiresAction => "requires_action", - RunObjectStatus.Cancelling => "cancelling", RunObjectStatus.Cancelled => "cancelled", - RunObjectStatus.Failed => "failed", + RunObjectStatus.Cancelling => "cancelling", RunObjectStatus.Completed => "completed", - RunObjectStatus.Incomplete => "incomplete", RunObjectStatus.Expired => "expired", + RunObjectStatus.Failed => "failed", + RunObjectStatus.InProgress => "in_progress", + RunObjectStatus.Incomplete => "incomplete", + RunObjectStatus.Queued => "queued", + RunObjectStatus.RequiresAction => "requires_action", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -77,15 +77,15 @@ public static string ToValueString(this RunObjectStatus value) { return value switch { - "queued" => RunObjectStatus.Queued, - "in_progress" => RunObjectStatus.InProgress, - "requires_action" => RunObjectStatus.RequiresAction, - "cancelling" => RunObjectStatus.Cancelling, "cancelled" => RunObjectStatus.Cancelled, - "failed" => RunObjectStatus.Failed, + "cancelling" => RunObjectStatus.Cancelling, "completed" => RunObjectStatus.Completed, - "incomplete" => RunObjectStatus.Incomplete, "expired" => RunObjectStatus.Expired, + "failed" => RunObjectStatus.Failed, + "in_progress" => RunObjectStatus.InProgress, + "incomplete" => RunObjectStatus.Incomplete, + "queued" => RunObjectStatus.Queued, + "requires_action" => RunObjectStatus.RequiresAction, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObjectLastErrorCode.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObjectLastErrorCode.g.cs index db9410f7..9e30b01b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObjectLastErrorCode.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObjectLastErrorCode.g.cs @@ -11,11 +11,11 @@ public enum RunStepObjectLastErrorCode /// /// /// - ServerError, + RateLimitExceeded, /// /// /// - RateLimitExceeded, + ServerError, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this RunStepObjectLastErrorCode value) { return value switch { - RunStepObjectLastErrorCode.ServerError => "server_error", RunStepObjectLastErrorCode.RateLimitExceeded => "rate_limit_exceeded", + RunStepObjectLastErrorCode.ServerError => "server_error", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this RunStepObjectLastErrorCode value) { return value switch { - "server_error" => RunStepObjectLastErrorCode.ServerError, "rate_limit_exceeded" => RunStepObjectLastErrorCode.RateLimitExceeded, + "server_error" => RunStepObjectLastErrorCode.ServerError, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObjectStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObjectStatus.g.cs index ffda1c05..8a41d6e0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObjectStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObjectStatus.g.cs @@ -11,23 +11,23 @@ public enum RunStepObjectStatus /// /// /// - InProgress, + Cancelled, /// /// /// - Cancelled, + Completed, /// /// /// - Failed, + Expired, /// /// /// - Completed, + Failed, /// /// /// - Expired, + InProgress, } /// @@ -42,11 +42,11 @@ public static string ToValueString(this RunStepObjectStatus value) { return value switch { - RunStepObjectStatus.InProgress => "in_progress", RunStepObjectStatus.Cancelled => "cancelled", - RunStepObjectStatus.Failed => "failed", RunStepObjectStatus.Completed => "completed", RunStepObjectStatus.Expired => "expired", + RunStepObjectStatus.Failed => "failed", + RunStepObjectStatus.InProgress => "in_progress", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -57,11 +57,11 @@ public static string ToValueString(this RunStepObjectStatus value) { return value switch { - "in_progress" => RunStepObjectStatus.InProgress, "cancelled" => RunStepObjectStatus.Cancelled, - "failed" => RunStepObjectStatus.Failed, "completed" => RunStepObjectStatus.Completed, "expired" => RunStepObjectStatus.Expired, + "failed" => RunStepObjectStatus.Failed, + "in_progress" => RunStepObjectStatus.InProgress, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SearchContentType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SearchContentType.g.cs index 59d5ec8d..9c08bbca 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SearchContentType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SearchContentType.g.cs @@ -11,11 +11,11 @@ public enum SearchContentType /// /// /// - Text, + Image, /// /// /// - Image, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this SearchContentType value) { return value switch { - SearchContentType.Text => "text", SearchContentType.Image => "image", + SearchContentType.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this SearchContentType value) { return value switch { - "text" => SearchContentType.Text, "image" => SearchContentType.Image, + "text" => SearchContentType.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SearchContextSize.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SearchContextSize.g.cs index 170d0672..217069b6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SearchContextSize.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SearchContextSize.g.cs @@ -11,15 +11,15 @@ public enum SearchContextSize /// /// /// - Low, + High, /// /// /// - Medium, + Low, /// /// /// - High, + Medium, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this SearchContextSize value) { return value switch { + SearchContextSize.High => "high", SearchContextSize.Low => "low", SearchContextSize.Medium => "medium", - SearchContextSize.High => "high", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this SearchContextSize value) { return value switch { + "high" => SearchContextSize.High, "low" => SearchContextSize.Low, "medium" => SearchContextSize.Medium, - "high" => SearchContextSize.High, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ServiceTierEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ServiceTierEnum.g.cs index 605a7f4e..1d9bba57 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ServiceTierEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ServiceTierEnum.g.cs @@ -27,13 +27,13 @@ public enum ServiceTierEnum /// Flex, /// - /// - /// - Scale, - /// /// //openai.com/api-priority-processing/)', then the request will be processed with the corresponding service tier. /// Priority, + /// + /// + /// + Scale, } /// @@ -51,8 +51,8 @@ public static string ToValueString(this ServiceTierEnum value) ServiceTierEnum.Auto => "auto", ServiceTierEnum.Default => "default", ServiceTierEnum.Flex => "flex", - ServiceTierEnum.Scale => "scale", ServiceTierEnum.Priority => "priority", + ServiceTierEnum.Scale => "scale", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -66,8 +66,8 @@ public static string ToValueString(this ServiceTierEnum value) "auto" => ServiceTierEnum.Auto, "default" => ServiceTierEnum.Default, "flex" => ServiceTierEnum.Flex, - "scale" => ServiceTierEnum.Scale, "priority" => ServiceTierEnum.Priority, + "scale" => ServiceTierEnum.Scale, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceOptions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceOptions.g.cs index 046bd302..5c35f03f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceOptions.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceOptions.g.cs @@ -15,11 +15,11 @@ public enum ToolChoiceOptions /// /// /// - None, + Auto, /// /// /// - Auto, + None, /// /// /// @@ -38,8 +38,8 @@ public static string ToValueString(this ToolChoiceOptions value) { return value switch { - ToolChoiceOptions.None => "none", ToolChoiceOptions.Auto => "auto", + ToolChoiceOptions.None => "none", ToolChoiceOptions.Required => "required", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -51,8 +51,8 @@ public static string ToValueString(this ToolChoiceOptions value) { return value switch { - "none" => ToolChoiceOptions.None, "auto" => ToolChoiceOptions.Auto, + "none" => ToolChoiceOptions.None, "required" => ToolChoiceOptions.Required, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceTypesType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceTypesType.g.cs index 34ba89fd..0836b0c4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceTypesType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceTypesType.g.cs @@ -20,15 +20,15 @@ public enum ToolChoiceTypesType /// /// /// - FileSearch, + CodeInterpreter, /// /// /// - WebSearchPreview, + Computer, /// /// /// - Computer, + ComputerUse, /// /// /// @@ -36,19 +36,19 @@ public enum ToolChoiceTypesType /// /// /// - ComputerUse, + FileSearch, /// /// /// - WebSearchPreview20250311, + ImageGeneration, /// /// /// - ImageGeneration, + WebSearchPreview, /// /// /// - CodeInterpreter, + WebSearchPreview20250311, } /// @@ -63,14 +63,14 @@ public static string ToValueString(this ToolChoiceTypesType value) { return value switch { - ToolChoiceTypesType.FileSearch => "file_search", - ToolChoiceTypesType.WebSearchPreview => "web_search_preview", + ToolChoiceTypesType.CodeInterpreter => "code_interpreter", ToolChoiceTypesType.Computer => "computer", - ToolChoiceTypesType.ComputerUsePreview => "computer_use_preview", ToolChoiceTypesType.ComputerUse => "computer_use", - ToolChoiceTypesType.WebSearchPreview20250311 => "web_search_preview_2025_03_11", + ToolChoiceTypesType.ComputerUsePreview => "computer_use_preview", + ToolChoiceTypesType.FileSearch => "file_search", ToolChoiceTypesType.ImageGeneration => "image_generation", - ToolChoiceTypesType.CodeInterpreter => "code_interpreter", + ToolChoiceTypesType.WebSearchPreview => "web_search_preview", + ToolChoiceTypesType.WebSearchPreview20250311 => "web_search_preview_2025_03_11", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -81,14 +81,14 @@ public static string ToValueString(this ToolChoiceTypesType value) { return value switch { - "file_search" => ToolChoiceTypesType.FileSearch, - "web_search_preview" => ToolChoiceTypesType.WebSearchPreview, + "code_interpreter" => ToolChoiceTypesType.CodeInterpreter, "computer" => ToolChoiceTypesType.Computer, - "computer_use_preview" => ToolChoiceTypesType.ComputerUsePreview, "computer_use" => ToolChoiceTypesType.ComputerUse, - "web_search_preview_2025_03_11" => ToolChoiceTypesType.WebSearchPreview20250311, + "computer_use_preview" => ToolChoiceTypesType.ComputerUsePreview, + "file_search" => ToolChoiceTypesType.FileSearch, "image_generation" => ToolChoiceTypesType.ImageGeneration, - "code_interpreter" => ToolChoiceTypesType.CodeInterpreter, + "web_search_preview" => ToolChoiceTypesType.WebSearchPreview, + "web_search_preview_2025_03_11" => ToolChoiceTypesType.WebSearchPreview20250311, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchExecutionType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchExecutionType.g.cs index 68afeaef..00b7b8bb 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchExecutionType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchExecutionType.g.cs @@ -11,11 +11,11 @@ public enum ToolSearchExecutionType /// /// /// - Server, + Client, /// /// /// - Client, + Server, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ToolSearchExecutionType value) { return value switch { - ToolSearchExecutionType.Server => "server", ToolSearchExecutionType.Client => "client", + ToolSearchExecutionType.Server => "server", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ToolSearchExecutionType value) { return value switch { - "server" => ToolSearchExecutionType.Server, "client" => ToolSearchExecutionType.Client, + "server" => ToolSearchExecutionType.Server, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UploadStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UploadStatus.g.cs index dc55e531..1cb37b81 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UploadStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UploadStatus.g.cs @@ -11,7 +11,7 @@ public enum UploadStatus /// /// /// - Pending, + Cancelled, /// /// /// @@ -19,11 +19,11 @@ public enum UploadStatus /// /// /// - Cancelled, + Expired, /// /// /// - Expired, + Pending, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this UploadStatus value) { return value switch { - UploadStatus.Pending => "pending", - UploadStatus.Completed => "completed", UploadStatus.Cancelled => "cancelled", + UploadStatus.Completed => "completed", UploadStatus.Expired => "expired", + UploadStatus.Pending => "pending", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this UploadStatus value) { return value switch { - "pending" => UploadStatus.Pending, - "completed" => UploadStatus.Completed, "cancelled" => UploadStatus.Cancelled, + "completed" => UploadStatus.Completed, "expired" => UploadStatus.Expired, + "pending" => UploadStatus.Pending, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioSpeechesBucketWidth.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioSpeechesBucketWidth.g.cs index 0c4c51b9..a823e4b8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioSpeechesBucketWidth.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioSpeechesBucketWidth.g.cs @@ -11,7 +11,7 @@ public enum UsageAudioSpeechesBucketWidth /// /// /// - x1m, + x1d, /// /// /// @@ -19,7 +19,7 @@ public enum UsageAudioSpeechesBucketWidth /// /// /// - x1d, + x1m, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this UsageAudioSpeechesBucketWidth value) { return value switch { - UsageAudioSpeechesBucketWidth.x1m => "1m", - UsageAudioSpeechesBucketWidth.x1h => "1h", UsageAudioSpeechesBucketWidth.x1d => "1d", + UsageAudioSpeechesBucketWidth.x1h => "1h", + UsageAudioSpeechesBucketWidth.x1m => "1m", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this UsageAudioSpeechesBucketWidth value) { return value switch { - "1m" => UsageAudioSpeechesBucketWidth.x1m, - "1h" => UsageAudioSpeechesBucketWidth.x1h, "1d" => UsageAudioSpeechesBucketWidth.x1d, + "1h" => UsageAudioSpeechesBucketWidth.x1h, + "1m" => UsageAudioSpeechesBucketWidth.x1m, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioSpeechesGroupByItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioSpeechesGroupByItem.g.cs index 4266cf43..11bb7130 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioSpeechesGroupByItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioSpeechesGroupByItem.g.cs @@ -11,19 +11,19 @@ public enum UsageAudioSpeechesGroupByItem /// /// /// - ProjectId, + ApiKeyId, /// /// /// - UserId, + Model, /// /// /// - ApiKeyId, + ProjectId, /// /// /// - Model, + UserId, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this UsageAudioSpeechesGroupByItem value) { return value switch { - UsageAudioSpeechesGroupByItem.ProjectId => "project_id", - UsageAudioSpeechesGroupByItem.UserId => "user_id", UsageAudioSpeechesGroupByItem.ApiKeyId => "api_key_id", UsageAudioSpeechesGroupByItem.Model => "model", + UsageAudioSpeechesGroupByItem.ProjectId => "project_id", + UsageAudioSpeechesGroupByItem.UserId => "user_id", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this UsageAudioSpeechesGroupByItem value) { return value switch { - "project_id" => UsageAudioSpeechesGroupByItem.ProjectId, - "user_id" => UsageAudioSpeechesGroupByItem.UserId, "api_key_id" => UsageAudioSpeechesGroupByItem.ApiKeyId, "model" => UsageAudioSpeechesGroupByItem.Model, + "project_id" => UsageAudioSpeechesGroupByItem.ProjectId, + "user_id" => UsageAudioSpeechesGroupByItem.UserId, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioTranscriptionsBucketWidth.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioTranscriptionsBucketWidth.g.cs index 58b1cd60..91220122 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioTranscriptionsBucketWidth.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioTranscriptionsBucketWidth.g.cs @@ -11,7 +11,7 @@ public enum UsageAudioTranscriptionsBucketWidth /// /// /// - x1m, + x1d, /// /// /// @@ -19,7 +19,7 @@ public enum UsageAudioTranscriptionsBucketWidth /// /// /// - x1d, + x1m, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this UsageAudioTranscriptionsBucketWidth valu { return value switch { - UsageAudioTranscriptionsBucketWidth.x1m => "1m", - UsageAudioTranscriptionsBucketWidth.x1h => "1h", UsageAudioTranscriptionsBucketWidth.x1d => "1d", + UsageAudioTranscriptionsBucketWidth.x1h => "1h", + UsageAudioTranscriptionsBucketWidth.x1m => "1m", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this UsageAudioTranscriptionsBucketWidth valu { return value switch { - "1m" => UsageAudioTranscriptionsBucketWidth.x1m, - "1h" => UsageAudioTranscriptionsBucketWidth.x1h, "1d" => UsageAudioTranscriptionsBucketWidth.x1d, + "1h" => UsageAudioTranscriptionsBucketWidth.x1h, + "1m" => UsageAudioTranscriptionsBucketWidth.x1m, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioTranscriptionsGroupByItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioTranscriptionsGroupByItem.g.cs index 43aa4ea8..a45cb24d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioTranscriptionsGroupByItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioTranscriptionsGroupByItem.g.cs @@ -11,19 +11,19 @@ public enum UsageAudioTranscriptionsGroupByItem /// /// /// - ProjectId, + ApiKeyId, /// /// /// - UserId, + Model, /// /// /// - ApiKeyId, + ProjectId, /// /// /// - Model, + UserId, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this UsageAudioTranscriptionsGroupByItem valu { return value switch { - UsageAudioTranscriptionsGroupByItem.ProjectId => "project_id", - UsageAudioTranscriptionsGroupByItem.UserId => "user_id", UsageAudioTranscriptionsGroupByItem.ApiKeyId => "api_key_id", UsageAudioTranscriptionsGroupByItem.Model => "model", + UsageAudioTranscriptionsGroupByItem.ProjectId => "project_id", + UsageAudioTranscriptionsGroupByItem.UserId => "user_id", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this UsageAudioTranscriptionsGroupByItem valu { return value switch { - "project_id" => UsageAudioTranscriptionsGroupByItem.ProjectId, - "user_id" => UsageAudioTranscriptionsGroupByItem.UserId, "api_key_id" => UsageAudioTranscriptionsGroupByItem.ApiKeyId, "model" => UsageAudioTranscriptionsGroupByItem.Model, + "project_id" => UsageAudioTranscriptionsGroupByItem.ProjectId, + "user_id" => UsageAudioTranscriptionsGroupByItem.UserId, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCodeInterpreterSessionsBucketWidth.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCodeInterpreterSessionsBucketWidth.g.cs index d22c73d5..fb32cd83 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCodeInterpreterSessionsBucketWidth.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCodeInterpreterSessionsBucketWidth.g.cs @@ -11,7 +11,7 @@ public enum UsageCodeInterpreterSessionsBucketWidth /// /// /// - x1m, + x1d, /// /// /// @@ -19,7 +19,7 @@ public enum UsageCodeInterpreterSessionsBucketWidth /// /// /// - x1d, + x1m, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this UsageCodeInterpreterSessionsBucketWidth { return value switch { - UsageCodeInterpreterSessionsBucketWidth.x1m => "1m", - UsageCodeInterpreterSessionsBucketWidth.x1h => "1h", UsageCodeInterpreterSessionsBucketWidth.x1d => "1d", + UsageCodeInterpreterSessionsBucketWidth.x1h => "1h", + UsageCodeInterpreterSessionsBucketWidth.x1m => "1m", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this UsageCodeInterpreterSessionsBucketWidth { return value switch { - "1m" => UsageCodeInterpreterSessionsBucketWidth.x1m, - "1h" => UsageCodeInterpreterSessionsBucketWidth.x1h, "1d" => UsageCodeInterpreterSessionsBucketWidth.x1d, + "1h" => UsageCodeInterpreterSessionsBucketWidth.x1h, + "1m" => UsageCodeInterpreterSessionsBucketWidth.x1m, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCompletionsBucketWidth.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCompletionsBucketWidth.g.cs index 2dc035d6..d3e25a20 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCompletionsBucketWidth.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCompletionsBucketWidth.g.cs @@ -11,7 +11,7 @@ public enum UsageCompletionsBucketWidth /// /// /// - x1m, + x1d, /// /// /// @@ -19,7 +19,7 @@ public enum UsageCompletionsBucketWidth /// /// /// - x1d, + x1m, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this UsageCompletionsBucketWidth value) { return value switch { - UsageCompletionsBucketWidth.x1m => "1m", - UsageCompletionsBucketWidth.x1h => "1h", UsageCompletionsBucketWidth.x1d => "1d", + UsageCompletionsBucketWidth.x1h => "1h", + UsageCompletionsBucketWidth.x1m => "1m", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this UsageCompletionsBucketWidth value) { return value switch { - "1m" => UsageCompletionsBucketWidth.x1m, - "1h" => UsageCompletionsBucketWidth.x1h, "1d" => UsageCompletionsBucketWidth.x1d, + "1h" => UsageCompletionsBucketWidth.x1h, + "1m" => UsageCompletionsBucketWidth.x1m, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCompletionsGroupByItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCompletionsGroupByItem.g.cs index 3d8d38a4..9eed2843 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCompletionsGroupByItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCompletionsGroupByItem.g.cs @@ -11,27 +11,27 @@ public enum UsageCompletionsGroupByItem /// /// /// - ProjectId, + ApiKeyId, /// /// /// - UserId, + Batch, /// /// /// - ApiKeyId, + Model, /// /// /// - Model, + ProjectId, /// /// /// - Batch, + ServiceTier, /// /// /// - ServiceTier, + UserId, } /// @@ -46,12 +46,12 @@ public static string ToValueString(this UsageCompletionsGroupByItem value) { return value switch { - UsageCompletionsGroupByItem.ProjectId => "project_id", - UsageCompletionsGroupByItem.UserId => "user_id", UsageCompletionsGroupByItem.ApiKeyId => "api_key_id", - UsageCompletionsGroupByItem.Model => "model", UsageCompletionsGroupByItem.Batch => "batch", + UsageCompletionsGroupByItem.Model => "model", + UsageCompletionsGroupByItem.ProjectId => "project_id", UsageCompletionsGroupByItem.ServiceTier => "service_tier", + UsageCompletionsGroupByItem.UserId => "user_id", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -62,12 +62,12 @@ public static string ToValueString(this UsageCompletionsGroupByItem value) { return value switch { - "project_id" => UsageCompletionsGroupByItem.ProjectId, - "user_id" => UsageCompletionsGroupByItem.UserId, "api_key_id" => UsageCompletionsGroupByItem.ApiKeyId, - "model" => UsageCompletionsGroupByItem.Model, "batch" => UsageCompletionsGroupByItem.Batch, + "model" => UsageCompletionsGroupByItem.Model, + "project_id" => UsageCompletionsGroupByItem.ProjectId, "service_tier" => UsageCompletionsGroupByItem.ServiceTier, + "user_id" => UsageCompletionsGroupByItem.UserId, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCostsGroupByItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCostsGroupByItem.g.cs index e56e1298..000b1ec0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCostsGroupByItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCostsGroupByItem.g.cs @@ -11,11 +11,11 @@ public enum UsageCostsGroupByItem /// /// /// - ProjectId, + LineItem, /// /// /// - LineItem, + ProjectId, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this UsageCostsGroupByItem value) { return value switch { - UsageCostsGroupByItem.ProjectId => "project_id", UsageCostsGroupByItem.LineItem => "line_item", + UsageCostsGroupByItem.ProjectId => "project_id", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this UsageCostsGroupByItem value) { return value switch { - "project_id" => UsageCostsGroupByItem.ProjectId, "line_item" => UsageCostsGroupByItem.LineItem, + "project_id" => UsageCostsGroupByItem.ProjectId, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageEmbeddingsBucketWidth.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageEmbeddingsBucketWidth.g.cs index 37cf12e1..1e8d68d7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageEmbeddingsBucketWidth.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageEmbeddingsBucketWidth.g.cs @@ -11,7 +11,7 @@ public enum UsageEmbeddingsBucketWidth /// /// /// - x1m, + x1d, /// /// /// @@ -19,7 +19,7 @@ public enum UsageEmbeddingsBucketWidth /// /// /// - x1d, + x1m, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this UsageEmbeddingsBucketWidth value) { return value switch { - UsageEmbeddingsBucketWidth.x1m => "1m", - UsageEmbeddingsBucketWidth.x1h => "1h", UsageEmbeddingsBucketWidth.x1d => "1d", + UsageEmbeddingsBucketWidth.x1h => "1h", + UsageEmbeddingsBucketWidth.x1m => "1m", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this UsageEmbeddingsBucketWidth value) { return value switch { - "1m" => UsageEmbeddingsBucketWidth.x1m, - "1h" => UsageEmbeddingsBucketWidth.x1h, "1d" => UsageEmbeddingsBucketWidth.x1d, + "1h" => UsageEmbeddingsBucketWidth.x1h, + "1m" => UsageEmbeddingsBucketWidth.x1m, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageEmbeddingsGroupByItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageEmbeddingsGroupByItem.g.cs index 2fa59579..fea6530a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageEmbeddingsGroupByItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageEmbeddingsGroupByItem.g.cs @@ -11,19 +11,19 @@ public enum UsageEmbeddingsGroupByItem /// /// /// - ProjectId, + ApiKeyId, /// /// /// - UserId, + Model, /// /// /// - ApiKeyId, + ProjectId, /// /// /// - Model, + UserId, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this UsageEmbeddingsGroupByItem value) { return value switch { - UsageEmbeddingsGroupByItem.ProjectId => "project_id", - UsageEmbeddingsGroupByItem.UserId => "user_id", UsageEmbeddingsGroupByItem.ApiKeyId => "api_key_id", UsageEmbeddingsGroupByItem.Model => "model", + UsageEmbeddingsGroupByItem.ProjectId => "project_id", + UsageEmbeddingsGroupByItem.UserId => "user_id", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this UsageEmbeddingsGroupByItem value) { return value switch { - "project_id" => UsageEmbeddingsGroupByItem.ProjectId, - "user_id" => UsageEmbeddingsGroupByItem.UserId, "api_key_id" => UsageEmbeddingsGroupByItem.ApiKeyId, "model" => UsageEmbeddingsGroupByItem.Model, + "project_id" => UsageEmbeddingsGroupByItem.ProjectId, + "user_id" => UsageEmbeddingsGroupByItem.UserId, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesBucketWidth.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesBucketWidth.g.cs index cf1309c8..9353a84a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesBucketWidth.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesBucketWidth.g.cs @@ -11,7 +11,7 @@ public enum UsageImagesBucketWidth /// /// /// - x1m, + x1d, /// /// /// @@ -19,7 +19,7 @@ public enum UsageImagesBucketWidth /// /// /// - x1d, + x1m, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this UsageImagesBucketWidth value) { return value switch { - UsageImagesBucketWidth.x1m => "1m", - UsageImagesBucketWidth.x1h => "1h", UsageImagesBucketWidth.x1d => "1d", + UsageImagesBucketWidth.x1h => "1h", + UsageImagesBucketWidth.x1m => "1m", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this UsageImagesBucketWidth value) { return value switch { - "1m" => UsageImagesBucketWidth.x1m, - "1h" => UsageImagesBucketWidth.x1h, "1d" => UsageImagesBucketWidth.x1d, + "1h" => UsageImagesBucketWidth.x1h, + "1m" => UsageImagesBucketWidth.x1m, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesGroupByItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesGroupByItem.g.cs index 240c8855..79c1838f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesGroupByItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesGroupByItem.g.cs @@ -11,27 +11,27 @@ public enum UsageImagesGroupByItem /// /// /// - ProjectId, + ApiKeyId, /// /// /// - UserId, + Model, /// /// /// - ApiKeyId, + ProjectId, /// /// /// - Model, + Size, /// /// /// - Size, + Source, /// /// /// - Source, + UserId, } /// @@ -46,12 +46,12 @@ public static string ToValueString(this UsageImagesGroupByItem value) { return value switch { - UsageImagesGroupByItem.ProjectId => "project_id", - UsageImagesGroupByItem.UserId => "user_id", UsageImagesGroupByItem.ApiKeyId => "api_key_id", UsageImagesGroupByItem.Model => "model", + UsageImagesGroupByItem.ProjectId => "project_id", UsageImagesGroupByItem.Size => "size", UsageImagesGroupByItem.Source => "source", + UsageImagesGroupByItem.UserId => "user_id", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -62,12 +62,12 @@ public static string ToValueString(this UsageImagesGroupByItem value) { return value switch { - "project_id" => UsageImagesGroupByItem.ProjectId, - "user_id" => UsageImagesGroupByItem.UserId, "api_key_id" => UsageImagesGroupByItem.ApiKeyId, "model" => UsageImagesGroupByItem.Model, + "project_id" => UsageImagesGroupByItem.ProjectId, "size" => UsageImagesGroupByItem.Size, "source" => UsageImagesGroupByItem.Source, + "user_id" => UsageImagesGroupByItem.UserId, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesSize.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesSize.g.cs index edf5a981..dc804e8b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesSize.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesSize.g.cs @@ -11,23 +11,23 @@ public enum UsageImagesSize /// /// /// - x256x256, + x1024x1024, /// /// /// - x512x512, + x1024x1792, /// /// /// - x1024x1024, + x1792x1792, /// /// /// - x1792x1792, + x256x256, /// /// /// - x1024x1792, + x512x512, } /// @@ -42,11 +42,11 @@ public static string ToValueString(this UsageImagesSize value) { return value switch { - UsageImagesSize.x256x256 => "256x256", - UsageImagesSize.x512x512 => "512x512", UsageImagesSize.x1024x1024 => "1024x1024", - UsageImagesSize.x1792x1792 => "1792x1792", UsageImagesSize.x1024x1792 => "1024x1792", + UsageImagesSize.x1792x1792 => "1792x1792", + UsageImagesSize.x256x256 => "256x256", + UsageImagesSize.x512x512 => "512x512", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -57,11 +57,11 @@ public static string ToValueString(this UsageImagesSize value) { return value switch { - "256x256" => UsageImagesSize.x256x256, - "512x512" => UsageImagesSize.x512x512, "1024x1024" => UsageImagesSize.x1024x1024, - "1792x1792" => UsageImagesSize.x1792x1792, "1024x1792" => UsageImagesSize.x1024x1792, + "1792x1792" => UsageImagesSize.x1792x1792, + "256x256" => UsageImagesSize.x256x256, + "512x512" => UsageImagesSize.x512x512, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesSource.g.cs index 73a77aa4..f2413752 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesSource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesSource.g.cs @@ -11,11 +11,11 @@ public enum UsageImagesSource /// /// /// - ImageGeneration, + ImageEdit, /// /// /// - ImageEdit, + ImageGeneration, /// /// /// @@ -34,8 +34,8 @@ public static string ToValueString(this UsageImagesSource value) { return value switch { - UsageImagesSource.ImageGeneration => "image.generation", UsageImagesSource.ImageEdit => "image.edit", + UsageImagesSource.ImageGeneration => "image.generation", UsageImagesSource.ImageVariation => "image.variation", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -47,8 +47,8 @@ public static string ToValueString(this UsageImagesSource value) { return value switch { - "image.generation" => UsageImagesSource.ImageGeneration, "image.edit" => UsageImagesSource.ImageEdit, + "image.generation" => UsageImagesSource.ImageGeneration, "image.variation" => UsageImagesSource.ImageVariation, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageModerationsBucketWidth.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageModerationsBucketWidth.g.cs index 2adc84cf..ae867ccc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageModerationsBucketWidth.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageModerationsBucketWidth.g.cs @@ -11,7 +11,7 @@ public enum UsageModerationsBucketWidth /// /// /// - x1m, + x1d, /// /// /// @@ -19,7 +19,7 @@ public enum UsageModerationsBucketWidth /// /// /// - x1d, + x1m, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this UsageModerationsBucketWidth value) { return value switch { - UsageModerationsBucketWidth.x1m => "1m", - UsageModerationsBucketWidth.x1h => "1h", UsageModerationsBucketWidth.x1d => "1d", + UsageModerationsBucketWidth.x1h => "1h", + UsageModerationsBucketWidth.x1m => "1m", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this UsageModerationsBucketWidth value) { return value switch { - "1m" => UsageModerationsBucketWidth.x1m, - "1h" => UsageModerationsBucketWidth.x1h, "1d" => UsageModerationsBucketWidth.x1d, + "1h" => UsageModerationsBucketWidth.x1h, + "1m" => UsageModerationsBucketWidth.x1m, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageModerationsGroupByItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageModerationsGroupByItem.g.cs index 1d5e1fd9..aa2e96f0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageModerationsGroupByItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageModerationsGroupByItem.g.cs @@ -11,19 +11,19 @@ public enum UsageModerationsGroupByItem /// /// /// - ProjectId, + ApiKeyId, /// /// /// - UserId, + Model, /// /// /// - ApiKeyId, + ProjectId, /// /// /// - Model, + UserId, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this UsageModerationsGroupByItem value) { return value switch { - UsageModerationsGroupByItem.ProjectId => "project_id", - UsageModerationsGroupByItem.UserId => "user_id", UsageModerationsGroupByItem.ApiKeyId => "api_key_id", UsageModerationsGroupByItem.Model => "model", + UsageModerationsGroupByItem.ProjectId => "project_id", + UsageModerationsGroupByItem.UserId => "user_id", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this UsageModerationsGroupByItem value) { return value switch { - "project_id" => UsageModerationsGroupByItem.ProjectId, - "user_id" => UsageModerationsGroupByItem.UserId, "api_key_id" => UsageModerationsGroupByItem.ApiKeyId, "model" => UsageModerationsGroupByItem.Model, + "project_id" => UsageModerationsGroupByItem.ProjectId, + "user_id" => UsageModerationsGroupByItem.UserId, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageVectorStoresBucketWidth.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageVectorStoresBucketWidth.g.cs index 982e7f7a..44fc3cce 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageVectorStoresBucketWidth.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageVectorStoresBucketWidth.g.cs @@ -11,7 +11,7 @@ public enum UsageVectorStoresBucketWidth /// /// /// - x1m, + x1d, /// /// /// @@ -19,7 +19,7 @@ public enum UsageVectorStoresBucketWidth /// /// /// - x1d, + x1m, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this UsageVectorStoresBucketWidth value) { return value switch { - UsageVectorStoresBucketWidth.x1m => "1m", - UsageVectorStoresBucketWidth.x1h => "1h", UsageVectorStoresBucketWidth.x1d => "1d", + UsageVectorStoresBucketWidth.x1h => "1h", + UsageVectorStoresBucketWidth.x1m => "1m", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this UsageVectorStoresBucketWidth value) { return value switch { - "1m" => UsageVectorStoresBucketWidth.x1m, - "1h" => UsageVectorStoresBucketWidth.x1h, "1d" => UsageVectorStoresBucketWidth.x1d, + "1h" => UsageVectorStoresBucketWidth.x1h, + "1m" => UsageVectorStoresBucketWidth.x1m, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileBatchObjectStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileBatchObjectStatus.g.cs index bc869c25..3aafbaa2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileBatchObjectStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileBatchObjectStatus.g.cs @@ -11,7 +11,7 @@ public enum VectorStoreFileBatchObjectStatus /// /// /// - InProgress, + Cancelled, /// /// /// @@ -19,11 +19,11 @@ public enum VectorStoreFileBatchObjectStatus /// /// /// - Cancelled, + Failed, /// /// /// - Failed, + InProgress, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this VectorStoreFileBatchObjectStatus value) { return value switch { - VectorStoreFileBatchObjectStatus.InProgress => "in_progress", - VectorStoreFileBatchObjectStatus.Completed => "completed", VectorStoreFileBatchObjectStatus.Cancelled => "cancelled", + VectorStoreFileBatchObjectStatus.Completed => "completed", VectorStoreFileBatchObjectStatus.Failed => "failed", + VectorStoreFileBatchObjectStatus.InProgress => "in_progress", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this VectorStoreFileBatchObjectStatus value) { return value switch { - "in_progress" => VectorStoreFileBatchObjectStatus.InProgress, - "completed" => VectorStoreFileBatchObjectStatus.Completed, "cancelled" => VectorStoreFileBatchObjectStatus.Cancelled, + "completed" => VectorStoreFileBatchObjectStatus.Completed, "failed" => VectorStoreFileBatchObjectStatus.Failed, + "in_progress" => VectorStoreFileBatchObjectStatus.InProgress, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileObjectLastErrorCode.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileObjectLastErrorCode.g.cs index aaa69dfd..2849e6f3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileObjectLastErrorCode.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileObjectLastErrorCode.g.cs @@ -11,15 +11,15 @@ public enum VectorStoreFileObjectLastErrorCode /// /// /// - ServerError, + InvalidFile, /// /// /// - UnsupportedFile, + ServerError, /// /// /// - InvalidFile, + UnsupportedFile, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this VectorStoreFileObjectLastErrorCode value { return value switch { + VectorStoreFileObjectLastErrorCode.InvalidFile => "invalid_file", VectorStoreFileObjectLastErrorCode.ServerError => "server_error", VectorStoreFileObjectLastErrorCode.UnsupportedFile => "unsupported_file", - VectorStoreFileObjectLastErrorCode.InvalidFile => "invalid_file", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this VectorStoreFileObjectLastErrorCode value { return value switch { + "invalid_file" => VectorStoreFileObjectLastErrorCode.InvalidFile, "server_error" => VectorStoreFileObjectLastErrorCode.ServerError, "unsupported_file" => VectorStoreFileObjectLastErrorCode.UnsupportedFile, - "invalid_file" => VectorStoreFileObjectLastErrorCode.InvalidFile, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileObjectStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileObjectStatus.g.cs index c1278797..cea7fd20 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileObjectStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileObjectStatus.g.cs @@ -11,7 +11,7 @@ public enum VectorStoreFileObjectStatus /// /// /// - InProgress, + Cancelled, /// /// /// @@ -19,11 +19,11 @@ public enum VectorStoreFileObjectStatus /// /// /// - Cancelled, + Failed, /// /// /// - Failed, + InProgress, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this VectorStoreFileObjectStatus value) { return value switch { - VectorStoreFileObjectStatus.InProgress => "in_progress", - VectorStoreFileObjectStatus.Completed => "completed", VectorStoreFileObjectStatus.Cancelled => "cancelled", + VectorStoreFileObjectStatus.Completed => "completed", VectorStoreFileObjectStatus.Failed => "failed", + VectorStoreFileObjectStatus.InProgress => "in_progress", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this VectorStoreFileObjectStatus value) { return value switch { - "in_progress" => VectorStoreFileObjectStatus.InProgress, - "completed" => VectorStoreFileObjectStatus.Completed, "cancelled" => VectorStoreFileObjectStatus.Cancelled, + "completed" => VectorStoreFileObjectStatus.Completed, "failed" => VectorStoreFileObjectStatus.Failed, + "in_progress" => VectorStoreFileObjectStatus.InProgress, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObjectStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObjectStatus.g.cs index 58a79590..8f7f8c66 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObjectStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObjectStatus.g.cs @@ -11,15 +11,15 @@ public enum VectorStoreObjectStatus /// /// /// - Expired, + Completed, /// /// /// - InProgress, + Expired, /// /// /// - Completed, + InProgress, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this VectorStoreObjectStatus value) { return value switch { + VectorStoreObjectStatus.Completed => "completed", VectorStoreObjectStatus.Expired => "expired", VectorStoreObjectStatus.InProgress => "in_progress", - VectorStoreObjectStatus.Completed => "completed", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this VectorStoreObjectStatus value) { return value switch { + "completed" => VectorStoreObjectStatus.Completed, "expired" => VectorStoreObjectStatus.Expired, "in_progress" => VectorStoreObjectStatus.InProgress, - "completed" => VectorStoreObjectStatus.Completed, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchRequestRankingOptionsRanker.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchRequestRankingOptionsRanker.g.cs index bed1f3dd..6985c2e1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchRequestRankingOptionsRanker.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchRequestRankingOptionsRanker.g.cs @@ -12,15 +12,15 @@ public enum VectorStoreSearchRequestRankingOptionsRanker /// /// /// - None, + Auto, /// /// /// - Auto, + Default20241115, /// /// /// - Default20241115, + None, } /// @@ -35,9 +35,9 @@ public static string ToValueString(this VectorStoreSearchRequestRankingOptionsRa { return value switch { - VectorStoreSearchRequestRankingOptionsRanker.None => "none", VectorStoreSearchRequestRankingOptionsRanker.Auto => "auto", VectorStoreSearchRequestRankingOptionsRanker.Default20241115 => "default-2024-11-15", + VectorStoreSearchRequestRankingOptionsRanker.None => "none", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -48,9 +48,9 @@ public static string ToValueString(this VectorStoreSearchRequestRankingOptionsRa { return value switch { - "none" => VectorStoreSearchRequestRankingOptionsRanker.None, "auto" => VectorStoreSearchRequestRankingOptionsRanker.Auto, "default-2024-11-15" => VectorStoreSearchRequestRankingOptionsRanker.Default20241115, + "none" => VectorStoreSearchRequestRankingOptionsRanker.None, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VerbosityEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VerbosityEnum.g.cs index 1de9aa56..a9193ae2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VerbosityEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VerbosityEnum.g.cs @@ -14,15 +14,15 @@ public enum VerbosityEnum /// /// /// - Low, + High, /// /// /// - Medium, + Low, /// /// /// - High, + Medium, } /// @@ -37,9 +37,9 @@ public static string ToValueString(this VerbosityEnum value) { return value switch { + VerbosityEnum.High => "high", VerbosityEnum.Low => "low", VerbosityEnum.Medium => "medium", - VerbosityEnum.High => "high", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -50,9 +50,9 @@ public static string ToValueString(this VerbosityEnum value) { return value switch { + "high" => VerbosityEnum.High, "low" => VerbosityEnum.Low, "medium" => VerbosityEnum.Medium, - "high" => VerbosityEnum.High, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoContentVariant.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoContentVariant.g.cs index cf406b65..ebfa1254 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoContentVariant.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoContentVariant.g.cs @@ -11,7 +11,7 @@ public enum VideoContentVariant /// /// /// - Video, + Spritesheet, /// /// /// @@ -19,7 +19,7 @@ public enum VideoContentVariant /// /// /// - Spritesheet, + Video, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this VideoContentVariant value) { return value switch { - VideoContentVariant.Video => "video", - VideoContentVariant.Thumbnail => "thumbnail", VideoContentVariant.Spritesheet => "spritesheet", + VideoContentVariant.Thumbnail => "thumbnail", + VideoContentVariant.Video => "video", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this VideoContentVariant value) { return value switch { - "video" => VideoContentVariant.Video, - "thumbnail" => VideoContentVariant.Thumbnail, "spritesheet" => VideoContentVariant.Spritesheet, + "thumbnail" => VideoContentVariant.Thumbnail, + "video" => VideoContentVariant.Video, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoModelEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoModelEnum.g.cs index 6a927ea0..26beac74 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoModelEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoModelEnum.g.cs @@ -15,19 +15,19 @@ public enum VideoModelEnum /// /// /// - Sora2Pro, + Sora220251006, /// /// /// - Sora220251006, + Sora220251208, /// /// /// - Sora2Pro20251006, + Sora2Pro, /// /// /// - Sora220251208, + Sora2Pro20251006, } /// @@ -43,10 +43,10 @@ public static string ToValueString(this VideoModelEnum value) return value switch { VideoModelEnum.Sora2 => "sora-2", - VideoModelEnum.Sora2Pro => "sora-2-pro", VideoModelEnum.Sora220251006 => "sora-2-2025-10-06", - VideoModelEnum.Sora2Pro20251006 => "sora-2-pro-2025-10-06", VideoModelEnum.Sora220251208 => "sora-2-2025-12-08", + VideoModelEnum.Sora2Pro => "sora-2-pro", + VideoModelEnum.Sora2Pro20251006 => "sora-2-pro-2025-10-06", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -58,10 +58,10 @@ public static string ToValueString(this VideoModelEnum value) return value switch { "sora-2" => VideoModelEnum.Sora2, - "sora-2-pro" => VideoModelEnum.Sora2Pro, "sora-2-2025-10-06" => VideoModelEnum.Sora220251006, - "sora-2-pro-2025-10-06" => VideoModelEnum.Sora2Pro20251006, "sora-2-2025-12-08" => VideoModelEnum.Sora220251208, + "sora-2-pro" => VideoModelEnum.Sora2Pro, + "sora-2-pro-2025-10-06" => VideoModelEnum.Sora2Pro20251006, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoSeconds.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoSeconds.g.cs index 9de53991..42ee601d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoSeconds.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoSeconds.g.cs @@ -11,15 +11,15 @@ public enum VideoSeconds /// /// /// - x4, + x12, /// /// /// - x8, + x4, /// /// /// - x12, + x8, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this VideoSeconds value) { return value switch { + VideoSeconds.x12 => "12", VideoSeconds.x4 => "4", VideoSeconds.x8 => "8", - VideoSeconds.x12 => "12", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this VideoSeconds value) { return value switch { + "12" => VideoSeconds.x12, "4" => VideoSeconds.x4, "8" => VideoSeconds.x8, - "12" => VideoSeconds.x12, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoSize.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoSize.g.cs index 4bab9c97..839737c1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoSize.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoSize.g.cs @@ -11,7 +11,7 @@ public enum VideoSize /// /// /// - x720x1280, + x1024x1792, /// /// /// @@ -19,11 +19,11 @@ public enum VideoSize /// /// /// - x1024x1792, + x1792x1024, /// /// /// - x1792x1024, + x720x1280, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this VideoSize value) { return value switch { - VideoSize.x720x1280 => "720x1280", - VideoSize.x1280x720 => "1280x720", VideoSize.x1024x1792 => "1024x1792", + VideoSize.x1280x720 => "1280x720", VideoSize.x1792x1024 => "1792x1024", + VideoSize.x720x1280 => "720x1280", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this VideoSize value) { return value switch { - "720x1280" => VideoSize.x720x1280, - "1280x720" => VideoSize.x1280x720, "1024x1792" => VideoSize.x1024x1792, + "1280x720" => VideoSize.x1280x720, "1792x1024" => VideoSize.x1792x1024, + "720x1280" => VideoSize.x720x1280, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoStatus.g.cs index 85876d04..72a4f936 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoStatus.g.cs @@ -11,19 +11,19 @@ public enum VideoStatus /// /// /// - Queued, + Completed, /// /// /// - InProgress, + Failed, /// /// /// - Completed, + InProgress, /// /// /// - Failed, + Queued, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this VideoStatus value) { return value switch { - VideoStatus.Queued => "queued", - VideoStatus.InProgress => "in_progress", VideoStatus.Completed => "completed", VideoStatus.Failed => "failed", + VideoStatus.InProgress => "in_progress", + VideoStatus.Queued => "queued", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this VideoStatus value) { return value switch { - "queued" => VideoStatus.Queued, - "in_progress" => VideoStatus.InProgress, "completed" => VideoStatus.Completed, "failed" => VideoStatus.Failed, + "in_progress" => VideoStatus.InProgress, + "queued" => VideoStatus.Queued, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceIdsSharedEnum.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceIdsSharedEnum.g.cs index 18435bef..1166668a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceIdsSharedEnum.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceIdsSharedEnum.g.cs @@ -23,31 +23,31 @@ public enum VoiceIdsSharedEnum /// /// /// - Coral, + Cedar, /// /// /// - Echo, + Coral, /// /// /// - Sage, + Echo, /// /// /// - Shimmer, + Marin, /// /// /// - Verse, + Sage, /// /// /// - Marin, + Shimmer, /// /// /// - Cedar, + Verse, } /// @@ -65,13 +65,13 @@ public static string ToValueString(this VoiceIdsSharedEnum value) VoiceIdsSharedEnum.Alloy => "alloy", VoiceIdsSharedEnum.Ash => "ash", VoiceIdsSharedEnum.Ballad => "ballad", + VoiceIdsSharedEnum.Cedar => "cedar", VoiceIdsSharedEnum.Coral => "coral", VoiceIdsSharedEnum.Echo => "echo", + VoiceIdsSharedEnum.Marin => "marin", VoiceIdsSharedEnum.Sage => "sage", VoiceIdsSharedEnum.Shimmer => "shimmer", VoiceIdsSharedEnum.Verse => "verse", - VoiceIdsSharedEnum.Marin => "marin", - VoiceIdsSharedEnum.Cedar => "cedar", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -85,13 +85,13 @@ public static string ToValueString(this VoiceIdsSharedEnum value) "alloy" => VoiceIdsSharedEnum.Alloy, "ash" => VoiceIdsSharedEnum.Ash, "ballad" => VoiceIdsSharedEnum.Ballad, + "cedar" => VoiceIdsSharedEnum.Cedar, "coral" => VoiceIdsSharedEnum.Coral, "echo" => VoiceIdsSharedEnum.Echo, + "marin" => VoiceIdsSharedEnum.Marin, "sage" => VoiceIdsSharedEnum.Sage, "shimmer" => VoiceIdsSharedEnum.Shimmer, "verse" => VoiceIdsSharedEnum.Verse, - "marin" => VoiceIdsSharedEnum.Marin, - "cedar" => VoiceIdsSharedEnum.Cedar, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchContextSize.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchContextSize.g.cs index 28180cd0..c71a528e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchContextSize.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchContextSize.g.cs @@ -13,15 +13,15 @@ public enum WebSearchContextSize /// /// /// - Low, + High, /// /// /// - Medium, + Low, /// /// /// - High, + Medium, } /// @@ -36,9 +36,9 @@ public static string ToValueString(this WebSearchContextSize value) { return value switch { + WebSearchContextSize.High => "high", WebSearchContextSize.Low => "low", WebSearchContextSize.Medium => "medium", - WebSearchContextSize.High => "high", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -49,9 +49,9 @@ public static string ToValueString(this WebSearchContextSize value) { return value switch { + "high" => WebSearchContextSize.High, "low" => WebSearchContextSize.Low, "medium" => WebSearchContextSize.Medium, - "high" => WebSearchContextSize.High, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchToolCallStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchToolCallStatus.g.cs index 41f60097..80c5b115 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchToolCallStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchToolCallStatus.g.cs @@ -11,19 +11,19 @@ public enum WebSearchToolCallStatus /// /// /// - InProgress, + Completed, /// /// /// - Searching, + Failed, /// /// /// - Completed, + InProgress, /// /// /// - Failed, + Searching, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this WebSearchToolCallStatus value) { return value switch { - WebSearchToolCallStatus.InProgress => "in_progress", - WebSearchToolCallStatus.Searching => "searching", WebSearchToolCallStatus.Completed => "completed", WebSearchToolCallStatus.Failed => "failed", + WebSearchToolCallStatus.InProgress => "in_progress", + WebSearchToolCallStatus.Searching => "searching", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this WebSearchToolCallStatus value) { return value switch { - "in_progress" => WebSearchToolCallStatus.InProgress, - "searching" => WebSearchToolCallStatus.Searching, "completed" => WebSearchToolCallStatus.Completed, "failed" => WebSearchToolCallStatus.Failed, + "in_progress" => WebSearchToolCallStatus.InProgress, + "searching" => WebSearchToolCallStatus.Searching, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchToolSearchContextSize.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchToolSearchContextSize.g.cs index c900faa6..f46c4055 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchToolSearchContextSize.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchToolSearchContextSize.g.cs @@ -12,15 +12,15 @@ public enum WebSearchToolSearchContextSize /// /// /// - Low, + High, /// /// /// - Medium, + Low, /// /// /// - High, + Medium, } /// @@ -35,9 +35,9 @@ public static string ToValueString(this WebSearchToolSearchContextSize value) { return value switch { + WebSearchToolSearchContextSize.High => "high", WebSearchToolSearchContextSize.Low => "low", WebSearchToolSearchContextSize.Medium => "medium", - WebSearchToolSearchContextSize.High => "high", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -48,9 +48,9 @@ public static string ToValueString(this WebSearchToolSearchContextSize value) { return value switch { + "high" => WebSearchToolSearchContextSize.High, "low" => WebSearchToolSearchContextSize.Low, "medium" => WebSearchToolSearchContextSize.Medium, - "high" => WebSearchToolSearchContextSize.High, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.AudioFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.AudioFormat.g.cs index 234bceff..fe4c4c34 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.AudioFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.AudioFormat.g.cs @@ -11,7 +11,7 @@ public enum AudioFormat /// /// /// - Pcm16, + G711Alaw, /// /// /// @@ -19,7 +19,7 @@ public enum AudioFormat /// /// /// - G711Alaw, + Pcm16, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this AudioFormat value) { return value switch { - AudioFormat.Pcm16 => "pcm16", - AudioFormat.G711Ulaw => "g711_ulaw", AudioFormat.G711Alaw => "g711_alaw", + AudioFormat.G711Ulaw => "g711_ulaw", + AudioFormat.Pcm16 => "pcm16", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this AudioFormat value) { return value switch { - "pcm16" => AudioFormat.Pcm16, - "g711_ulaw" => AudioFormat.G711Ulaw, "g711_alaw" => AudioFormat.G711Alaw, + "g711_ulaw" => AudioFormat.G711Ulaw, + "pcm16" => AudioFormat.Pcm16, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ContentPartType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ContentPartType.g.cs index 62587a85..b81a03e1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ContentPartType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ContentPartType.g.cs @@ -11,11 +11,11 @@ public enum ContentPartType /// /// /// - Text, + Audio, /// /// /// - Audio, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ContentPartType value) { return value switch { - ContentPartType.Text => "text", ContentPartType.Audio => "audio", + ContentPartType.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ContentPartType value) { return value switch { - "text" => ContentPartType.Text, "audio" => ContentPartType.Audio, + "text" => ContentPartType.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemContentPartType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemContentPartType.g.cs index eaf32c71..655f98fa 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemContentPartType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemContentPartType.g.cs @@ -11,7 +11,7 @@ public enum ConversationItemContentPartType /// /// /// - InputText, + Audio, /// /// /// @@ -19,11 +19,11 @@ public enum ConversationItemContentPartType /// /// /// - Text, + InputText, /// /// /// - Audio, + Text, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this ConversationItemContentPartType value) { return value switch { - ConversationItemContentPartType.InputText => "input_text", + ConversationItemContentPartType.Audio => "audio", ConversationItemContentPartType.InputAudio => "input_audio", + ConversationItemContentPartType.InputText => "input_text", ConversationItemContentPartType.Text => "text", - ConversationItemContentPartType.Audio => "audio", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this ConversationItemContentPartType value) { return value switch { - "input_text" => ConversationItemContentPartType.InputText, + "audio" => ConversationItemContentPartType.Audio, "input_audio" => ConversationItemContentPartType.InputAudio, + "input_text" => ConversationItemContentPartType.InputText, "text" => ConversationItemContentPartType.Text, - "audio" => ConversationItemContentPartType.Audio, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemRole.g.cs index c7c6a69f..8eb8ac48 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemRole.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemRole.g.cs @@ -11,15 +11,15 @@ public enum ConversationItemRole /// /// /// - User, + Assistant, /// /// /// - Assistant, + System, /// /// /// - System, + User, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this ConversationItemRole value) { return value switch { - ConversationItemRole.User => "user", ConversationItemRole.Assistant => "assistant", ConversationItemRole.System => "system", + ConversationItemRole.User => "user", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this ConversationItemRole value) { return value switch { - "user" => ConversationItemRole.User, "assistant" => ConversationItemRole.Assistant, "system" => ConversationItemRole.System, + "user" => ConversationItemRole.User, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemType.g.cs index a9eb81b9..2668e5e9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemType.g.cs @@ -11,15 +11,15 @@ public enum ConversationItemType /// /// /// - Message, + FunctionCall, /// /// /// - FunctionCall, + FunctionCallOutput, /// /// /// - FunctionCallOutput, + Message, } /// @@ -34,9 +34,9 @@ public static string ToValueString(this ConversationItemType value) { return value switch { - ConversationItemType.Message => "message", ConversationItemType.FunctionCall => "function_call", ConversationItemType.FunctionCallOutput => "function_call_output", + ConversationItemType.Message => "message", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -47,9 +47,9 @@ public static string ToValueString(this ConversationItemType value) { return value switch { - "message" => ConversationItemType.Message, "function_call" => ConversationItemType.FunctionCall, "function_call_output" => ConversationItemType.FunctionCallOutput, + "message" => ConversationItemType.Message, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.RateLimitInfoName.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.RateLimitInfoName.g.cs index 7ffc0517..45acb471 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.RateLimitInfoName.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.RateLimitInfoName.g.cs @@ -11,19 +11,19 @@ public enum RateLimitInfoName /// /// /// - Requests, + InputTokens, /// /// /// - Tokens, + OutputTokens, /// /// /// - InputTokens, + Requests, /// /// /// - OutputTokens, + Tokens, } /// @@ -38,10 +38,10 @@ public static string ToValueString(this RateLimitInfoName value) { return value switch { - RateLimitInfoName.Requests => "requests", - RateLimitInfoName.Tokens => "tokens", RateLimitInfoName.InputTokens => "input_tokens", RateLimitInfoName.OutputTokens => "output_tokens", + RateLimitInfoName.Requests => "requests", + RateLimitInfoName.Tokens => "tokens", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -52,10 +52,10 @@ public static string ToValueString(this RateLimitInfoName value) { return value switch { - "requests" => RateLimitInfoName.Requests, - "tokens" => RateLimitInfoName.Tokens, "input_tokens" => RateLimitInfoName.InputTokens, "output_tokens" => RateLimitInfoName.OutputTokens, + "requests" => RateLimitInfoName.Requests, + "tokens" => RateLimitInfoName.Tokens, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ResponseConfigModalitie.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ResponseConfigModalitie.g.cs index 52f82fe0..a4a52184 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ResponseConfigModalitie.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ResponseConfigModalitie.g.cs @@ -11,11 +11,11 @@ public enum ResponseConfigModalitie /// /// /// - Text, + Audio, /// /// /// - Audio, + Text, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this ResponseConfigModalitie value) { return value switch { - ResponseConfigModalitie.Text => "text", ResponseConfigModalitie.Audio => "audio", + ResponseConfigModalitie.Text => "text", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this ResponseConfigModalitie value) { return value switch { - "text" => ResponseConfigModalitie.Text, "audio" => ResponseConfigModalitie.Audio, + "text" => ResponseConfigModalitie.Text, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ResponseStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ResponseStatus.g.cs index 5adcded1..b176934c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ResponseStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ResponseStatus.g.cs @@ -11,19 +11,19 @@ public enum ResponseStatus /// /// /// - Completed, + Cancelled, /// /// /// - InProgress, + Completed, /// /// /// - Cancelled, + Failed, /// /// /// - Failed, + InProgress, /// /// /// @@ -42,10 +42,10 @@ public static string ToValueString(this ResponseStatus value) { return value switch { - ResponseStatus.Completed => "completed", - ResponseStatus.InProgress => "in_progress", ResponseStatus.Cancelled => "cancelled", + ResponseStatus.Completed => "completed", ResponseStatus.Failed => "failed", + ResponseStatus.InProgress => "in_progress", ResponseStatus.Incomplete => "incomplete", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -57,10 +57,10 @@ public static string ToValueString(this ResponseStatus value) { return value switch { - "completed" => ResponseStatus.Completed, - "in_progress" => ResponseStatus.InProgress, "cancelled" => ResponseStatus.Cancelled, + "completed" => ResponseStatus.Completed, "failed" => ResponseStatus.Failed, + "in_progress" => ResponseStatus.InProgress, "incomplete" => ResponseStatus.Incomplete, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ServerEventDiscriminatorType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ServerEventDiscriminatorType.g.cs index 211bf847..e37fee24 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ServerEventDiscriminatorType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ServerEventDiscriminatorType.g.cs @@ -11,23 +11,15 @@ public enum ServerEventDiscriminatorType /// /// /// - Error, - /// - /// - /// - SessionCreated, - /// - /// - /// - SessionUpdated, + ConversationCreated, /// /// /// - ConversationCreated, + ConversationItemCreated, /// /// /// - ConversationItemCreated, + ConversationItemDeleted, /// /// /// @@ -43,15 +35,15 @@ public enum ServerEventDiscriminatorType /// /// /// - ConversationItemDeleted, + Error, /// /// /// - InputAudioBufferCommitted, + InputAudioBufferCleared, /// /// /// - InputAudioBufferCleared, + InputAudioBufferCommitted, /// /// /// @@ -63,19 +55,23 @@ public enum ServerEventDiscriminatorType /// /// /// - ResponseCreated, + RateLimitsUpdated, /// /// /// - ResponseDone, + ResponseAudioDelta, /// /// /// - ResponseOutputItemAdded, + ResponseAudioDone, /// /// /// - ResponseOutputItemDone, + ResponseAudioTranscriptDelta, + /// + /// + /// + ResponseAudioTranscriptDone, /// /// /// @@ -87,39 +83,43 @@ public enum ServerEventDiscriminatorType /// /// /// - ResponseTextDelta, + ResponseCreated, /// /// /// - ResponseTextDone, + ResponseDone, /// /// /// - ResponseAudioTranscriptDelta, + ResponseFunctionCallArgumentsDelta, /// /// /// - ResponseAudioTranscriptDone, + ResponseFunctionCallArgumentsDone, /// /// /// - ResponseAudioDelta, + ResponseOutputItemAdded, /// /// /// - ResponseAudioDone, + ResponseOutputItemDone, /// /// /// - ResponseFunctionCallArgumentsDelta, + ResponseTextDelta, /// /// /// - ResponseFunctionCallArgumentsDone, + ResponseTextDone, /// /// /// - RateLimitsUpdated, + SessionCreated, + /// + /// + /// + SessionUpdated, } /// @@ -134,34 +134,34 @@ public static string ToValueString(this ServerEventDiscriminatorType value) { return value switch { - ServerEventDiscriminatorType.Error => "error", - ServerEventDiscriminatorType.SessionCreated => "session.created", - ServerEventDiscriminatorType.SessionUpdated => "session.updated", ServerEventDiscriminatorType.ConversationCreated => "conversation.created", ServerEventDiscriminatorType.ConversationItemCreated => "conversation.item.created", + ServerEventDiscriminatorType.ConversationItemDeleted => "conversation.item.deleted", ServerEventDiscriminatorType.ConversationItemInputAudioTranscriptionCompleted => "conversation.item.input_audio_transcription.completed", ServerEventDiscriminatorType.ConversationItemInputAudioTranscriptionFailed => "conversation.item.input_audio_transcription.failed", ServerEventDiscriminatorType.ConversationItemTruncated => "conversation.item.truncated", - ServerEventDiscriminatorType.ConversationItemDeleted => "conversation.item.deleted", - ServerEventDiscriminatorType.InputAudioBufferCommitted => "input_audio_buffer.committed", + ServerEventDiscriminatorType.Error => "error", ServerEventDiscriminatorType.InputAudioBufferCleared => "input_audio_buffer.cleared", + ServerEventDiscriminatorType.InputAudioBufferCommitted => "input_audio_buffer.committed", ServerEventDiscriminatorType.InputAudioBufferSpeechStarted => "input_audio_buffer.speech_started", ServerEventDiscriminatorType.InputAudioBufferSpeechStopped => "input_audio_buffer.speech_stopped", + ServerEventDiscriminatorType.RateLimitsUpdated => "rate_limits.updated", + ServerEventDiscriminatorType.ResponseAudioDelta => "response.audio.delta", + ServerEventDiscriminatorType.ResponseAudioDone => "response.audio.done", + ServerEventDiscriminatorType.ResponseAudioTranscriptDelta => "response.audio_transcript.delta", + ServerEventDiscriminatorType.ResponseAudioTranscriptDone => "response.audio_transcript.done", + ServerEventDiscriminatorType.ResponseContentPartAdded => "response.content_part.added", + ServerEventDiscriminatorType.ResponseContentPartDone => "response.content_part.done", ServerEventDiscriminatorType.ResponseCreated => "response.created", ServerEventDiscriminatorType.ResponseDone => "response.done", + ServerEventDiscriminatorType.ResponseFunctionCallArgumentsDelta => "response.function_call_arguments.delta", + ServerEventDiscriminatorType.ResponseFunctionCallArgumentsDone => "response.function_call_arguments.done", ServerEventDiscriminatorType.ResponseOutputItemAdded => "response.output_item.added", ServerEventDiscriminatorType.ResponseOutputItemDone => "response.output_item.done", - ServerEventDiscriminatorType.ResponseContentPartAdded => "response.content_part.added", - ServerEventDiscriminatorType.ResponseContentPartDone => "response.content_part.done", ServerEventDiscriminatorType.ResponseTextDelta => "response.text.delta", ServerEventDiscriminatorType.ResponseTextDone => "response.text.done", - ServerEventDiscriminatorType.ResponseAudioTranscriptDelta => "response.audio_transcript.delta", - ServerEventDiscriminatorType.ResponseAudioTranscriptDone => "response.audio_transcript.done", - ServerEventDiscriminatorType.ResponseAudioDelta => "response.audio.delta", - ServerEventDiscriminatorType.ResponseAudioDone => "response.audio.done", - ServerEventDiscriminatorType.ResponseFunctionCallArgumentsDelta => "response.function_call_arguments.delta", - ServerEventDiscriminatorType.ResponseFunctionCallArgumentsDone => "response.function_call_arguments.done", - ServerEventDiscriminatorType.RateLimitsUpdated => "rate_limits.updated", + ServerEventDiscriminatorType.SessionCreated => "session.created", + ServerEventDiscriminatorType.SessionUpdated => "session.updated", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -172,34 +172,34 @@ public static string ToValueString(this ServerEventDiscriminatorType value) { return value switch { - "error" => ServerEventDiscriminatorType.Error, - "session.created" => ServerEventDiscriminatorType.SessionCreated, - "session.updated" => ServerEventDiscriminatorType.SessionUpdated, "conversation.created" => ServerEventDiscriminatorType.ConversationCreated, "conversation.item.created" => ServerEventDiscriminatorType.ConversationItemCreated, + "conversation.item.deleted" => ServerEventDiscriminatorType.ConversationItemDeleted, "conversation.item.input_audio_transcription.completed" => ServerEventDiscriminatorType.ConversationItemInputAudioTranscriptionCompleted, "conversation.item.input_audio_transcription.failed" => ServerEventDiscriminatorType.ConversationItemInputAudioTranscriptionFailed, "conversation.item.truncated" => ServerEventDiscriminatorType.ConversationItemTruncated, - "conversation.item.deleted" => ServerEventDiscriminatorType.ConversationItemDeleted, - "input_audio_buffer.committed" => ServerEventDiscriminatorType.InputAudioBufferCommitted, + "error" => ServerEventDiscriminatorType.Error, "input_audio_buffer.cleared" => ServerEventDiscriminatorType.InputAudioBufferCleared, + "input_audio_buffer.committed" => ServerEventDiscriminatorType.InputAudioBufferCommitted, "input_audio_buffer.speech_started" => ServerEventDiscriminatorType.InputAudioBufferSpeechStarted, "input_audio_buffer.speech_stopped" => ServerEventDiscriminatorType.InputAudioBufferSpeechStopped, + "rate_limits.updated" => ServerEventDiscriminatorType.RateLimitsUpdated, + "response.audio.delta" => ServerEventDiscriminatorType.ResponseAudioDelta, + "response.audio.done" => ServerEventDiscriminatorType.ResponseAudioDone, + "response.audio_transcript.delta" => ServerEventDiscriminatorType.ResponseAudioTranscriptDelta, + "response.audio_transcript.done" => ServerEventDiscriminatorType.ResponseAudioTranscriptDone, + "response.content_part.added" => ServerEventDiscriminatorType.ResponseContentPartAdded, + "response.content_part.done" => ServerEventDiscriminatorType.ResponseContentPartDone, "response.created" => ServerEventDiscriminatorType.ResponseCreated, "response.done" => ServerEventDiscriminatorType.ResponseDone, + "response.function_call_arguments.delta" => ServerEventDiscriminatorType.ResponseFunctionCallArgumentsDelta, + "response.function_call_arguments.done" => ServerEventDiscriminatorType.ResponseFunctionCallArgumentsDone, "response.output_item.added" => ServerEventDiscriminatorType.ResponseOutputItemAdded, "response.output_item.done" => ServerEventDiscriminatorType.ResponseOutputItemDone, - "response.content_part.added" => ServerEventDiscriminatorType.ResponseContentPartAdded, - "response.content_part.done" => ServerEventDiscriminatorType.ResponseContentPartDone, "response.text.delta" => ServerEventDiscriminatorType.ResponseTextDelta, "response.text.done" => ServerEventDiscriminatorType.ResponseTextDone, - "response.audio_transcript.delta" => ServerEventDiscriminatorType.ResponseAudioTranscriptDelta, - "response.audio_transcript.done" => ServerEventDiscriminatorType.ResponseAudioTranscriptDone, - "response.audio.delta" => ServerEventDiscriminatorType.ResponseAudioDelta, - "response.audio.done" => ServerEventDiscriminatorType.ResponseAudioDone, - "response.function_call_arguments.delta" => ServerEventDiscriminatorType.ResponseFunctionCallArgumentsDelta, - "response.function_call_arguments.done" => ServerEventDiscriminatorType.ResponseFunctionCallArgumentsDone, - "rate_limits.updated" => ServerEventDiscriminatorType.RateLimitsUpdated, + "session.created" => ServerEventDiscriminatorType.SessionCreated, + "session.updated" => ServerEventDiscriminatorType.SessionUpdated, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.SessionTurnDetectionType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.SessionTurnDetectionType.g.cs index 88f0d770..c122c13b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.SessionTurnDetectionType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.SessionTurnDetectionType.g.cs @@ -11,11 +11,11 @@ public enum SessionTurnDetectionType /// /// /// - ServerVad, + None, /// /// /// - None, + ServerVad, } /// @@ -30,8 +30,8 @@ public static string ToValueString(this SessionTurnDetectionType value) { return value switch { - SessionTurnDetectionType.ServerVad => "server_vad", SessionTurnDetectionType.None => "none", + SessionTurnDetectionType.ServerVad => "server_vad", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -42,8 +42,8 @@ public static string ToValueString(this SessionTurnDetectionType value) { return value switch { - "server_vad" => SessionTurnDetectionType.ServerVad, "none" => SessionTurnDetectionType.None, + "server_vad" => SessionTurnDetectionType.ServerVad, _ => null, }; }