From 7ad000bd9ffa48b07b1253e24606045e3f15df51 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 29 Aug 2024 01:13:33 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...enaiChatCompletionsV1OpenaiChatCompletionsPost.g.cs | 2 +- ...raApi.OpenaiCompletionsV1OpenaiCompletionsPost.g.cs | 2 +- ...nfraApi.OpenaiEmbeddingsV1OpenaiEmbeddingsPost.g.cs | 2 +- .../DeepInfra.Models.ChatCompletionUserMessage.g.cs | 2 +- .../DeepInfra.Models.OpenAIChatCompletionsIn.g.cs | 2 +- .../DeepInfra.Models.OpenAICompletionsIn.g.cs | 2 +- .../Generated/DeepInfra.Models.OpenAIEmbeddingsIn.g.cs | 2 +- .../Generated/DeepInfra.Models.ValidationError.g.cs | 2 +- .../Generated/JsonSerializerContextTypes.g.cs | 10 +++++----- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletionsV1OpenaiChatCompletionsPost.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletionsV1OpenaiChatCompletionsPost.g.cs index 27b2e94..f65cd3c 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletionsV1OpenaiChatCompletionsPost.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletionsV1OpenaiChatCompletionsPost.g.cs @@ -190,7 +190,7 @@ partial void ProcessOpenaiChatCompletionsV1OpenaiChatCompletionsPostResponseCont double topP = 1, int topK = 0, int maxTokens = 512, - global::System.AnyOf>? stop = default, + global::System.AnyOf>? stop = default, int n = 1, double presencePenalty = 0, double frequencyPenalty = 0, diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletionsV1OpenaiCompletionsPost.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletionsV1OpenaiCompletionsPost.g.cs index f8e2bab..c41aa29 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletionsV1OpenaiCompletionsPost.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletionsV1OpenaiCompletionsPost.g.cs @@ -193,7 +193,7 @@ partial void ProcessOpenaiCompletionsV1OpenaiCompletionsPostResponseContent( bool stream = false, int logprobs = default, bool echo = default, - global::System.AnyOf>? stop = default, + global::System.AnyOf>? stop = default, double presencePenalty = 0, double frequencyPenalty = 0, global::System.AllOf? responseFormat = default, diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiEmbeddingsV1OpenaiEmbeddingsPost.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiEmbeddingsV1OpenaiEmbeddingsPost.g.cs index c6249f3..74533db 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiEmbeddingsV1OpenaiEmbeddingsPost.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiEmbeddingsV1OpenaiEmbeddingsPost.g.cs @@ -138,7 +138,7 @@ partial void ProcessOpenaiEmbeddingsV1OpenaiEmbeddingsPostResponseContent( /// public async global::System.Threading.Tasks.Task OpenaiEmbeddingsV1OpenaiEmbeddingsPostAsync( string model, - global::System.AnyOf, string?> input, + global::System.AnyOf, string> input, bool useCache = true, string? xDeepinfraSource = default, string? userAgent = default, diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionUserMessage.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionUserMessage.g.cs index 98bac42..91c5111 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionUserMessage.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionUserMessage.g.cs @@ -24,7 +24,7 @@ public sealed partial class ChatCompletionUserMessage [global::System.Text.Json.Serialization.JsonPropertyName("content")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AnyOf>> Content { get; set; } + public required global::System.AnyOf>> Content { get; set; } /// /// diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIChatCompletionsIn.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIChatCompletionsIn.g.cs index 78652a8..bd3d9e8 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIChatCompletionsIn.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIChatCompletionsIn.g.cs @@ -65,7 +65,7 @@ public sealed partial class OpenAIChatCompletionsIn /// [global::System.Text.Json.Serialization.JsonPropertyName("stop")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))] - public global::System.AnyOf>? Stop { get; set; } + public global::System.AnyOf>? Stop { get; set; } /// /// number of sequences to return. n != 1 incompatible with streaming
diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAICompletionsIn.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAICompletionsIn.g.cs index 4271f6b..bd12bf6 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAICompletionsIn.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAICompletionsIn.g.cs @@ -84,7 +84,7 @@ public sealed partial class OpenAICompletionsIn ///
[global::System.Text.Json.Serialization.JsonPropertyName("stop")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))] - public global::System.AnyOf>? Stop { get; set; } + public global::System.AnyOf>? Stop { get; set; } /// /// Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIEmbeddingsIn.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIEmbeddingsIn.g.cs index 6d718c4..e69edf9 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIEmbeddingsIn.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIEmbeddingsIn.g.cs @@ -25,7 +25,7 @@ public sealed partial class OpenAIEmbeddingsIn [global::System.Text.Json.Serialization.JsonPropertyName("input")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AnyOf, string?> Input { get; set; } + public required global::System.AnyOf, string> Input { get; set; } /// /// format used when encoding
diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ValidationError.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ValidationError.g.cs index 80834aa..f500725 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ValidationError.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ValidationError.g.cs @@ -15,7 +15,7 @@ public sealed partial class ValidationError ///
[global::System.Text.Json.Serialization.JsonPropertyName("loc")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> Loc { get; set; } + public required global::System.Collections.Generic.IList> Loc { get; set; } /// /// diff --git a/src/libs/DeepInfra/Generated/JsonSerializerContextTypes.g.cs b/src/libs/DeepInfra/Generated/JsonSerializerContextTypes.g.cs index fac3795..62e8b14 100644 --- a/src/libs/DeepInfra/Generated/JsonSerializerContextTypes.g.cs +++ b/src/libs/DeepInfra/Generated/JsonSerializerContextTypes.g.cs @@ -69,11 +69,11 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.IList>? Type14 { get; set; } + public global::System.Collections.Generic.IList>? Type14 { get; set; } /// /// /// - public global::System.AnyOf? Type15 { get; set; } + public global::System.AnyOf? Type15 { get; set; } /// /// /// @@ -193,7 +193,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.AnyOf>>? Type45 { get; set; } + public global::System.AnyOf>>? Type45 { get; set; } /// /// /// @@ -577,7 +577,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.AnyOf>? Type141 { get; set; } + public global::System.AnyOf>? Type141 { get; set; } /// /// /// @@ -605,7 +605,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.AnyOf, string?>? Type148 { get; set; } + public global::System.AnyOf, string>? Type148 { get; set; } /// /// ///