From c4df1cbb5c6bc72f577d5b8a310432cfd77db734 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 24 Oct 2024 18:23:29 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...DeepInfra.DeepInfraApi.DeepstartApply.g.cs | 2 +- ...eepInfra.DeepInfraApi.DeployCreateLlm.g.cs | 4 ++-- ...nfra.DeepInfraApi.DeployDetailedStats.g.cs | 2 +- .../DeepInfra.DeepInfraApi.DeployStats.g.cs | 2 +- ...nfra.DeepInfraApi.DeploymentLogsQuery.g.cs | 2 +- ...eepInfra.DeepInfraApi.InferenceDeploy.g.cs | 2 +- .../DeepInfra.DeepInfraApi.LogsQuery.g.cs | 2 +- ...pInfra.DeepInfraApi.OpenaiAudioSpeech.g.cs | 6 ++--- ...ra.DeepInfraApi.OpenaiChatCompletions.g.cs | 22 ++++++++--------- ...pInfra.DeepInfraApi.OpenaiCompletions.g.cs | 24 +++++++++---------- ...epInfra.DeepInfraApi.OpenaiEmbeddings.g.cs | 6 ++--- .../DeepInfra.DeepInfraApi.OpenaiFiles.g.cs | 6 ++--- .../DeepInfra.DeepInfraApi.TextToSpeech.g.cs | 4 ++-- ...eepInfra.IDeepInfraApi.DeepstartApply.g.cs | 2 +- ...epInfra.IDeepInfraApi.DeployCreateLlm.g.cs | 4 ++-- ...fra.IDeepInfraApi.DeployDetailedStats.g.cs | 2 +- .../DeepInfra.IDeepInfraApi.DeployStats.g.cs | 2 +- ...fra.IDeepInfraApi.DeploymentLogsQuery.g.cs | 2 +- ...epInfra.IDeepInfraApi.InferenceDeploy.g.cs | 2 +- .../DeepInfra.IDeepInfraApi.LogsQuery.g.cs | 2 +- ...Infra.IDeepInfraApi.OpenaiAudioSpeech.g.cs | 6 ++--- ...a.IDeepInfraApi.OpenaiChatCompletions.g.cs | 22 ++++++++--------- ...Infra.IDeepInfraApi.OpenaiCompletions.g.cs | 24 +++++++++---------- ...pInfra.IDeepInfraApi.OpenaiEmbeddings.g.cs | 6 ++--- .../DeepInfra.IDeepInfraApi.OpenaiFiles.g.cs | 4 ++-- .../DeepInfra.IDeepInfraApi.TextToSpeech.g.cs | 4 ++-- ...Models.ChatCompletionAssistantMessage.g.cs | 2 +- ...ra.Models.ChatCompletionSystemMessage.g.cs | 2 +- ...nfra.Models.ChatCompletionToolMessage.g.cs | 2 +- ...nfra.Models.ChatCompletionUserMessage.g.cs | 2 +- .../Generated/DeepInfra.Models.ChatTools.g.cs | 2 +- .../Generated/DeepInfra.Models.Checklist.g.cs | 12 +++++----- ...epInfra.Models.DeepStartApplicationIn.g.cs | 2 +- ...pInfra.Models.DeepStartApplicationOut.g.cs | 2 +- .../DeepInfra.Models.DeployLLMIn.g.cs | 4 ++-- ...Infra.Models.ElevenLabsTextToSpeechIn.g.cs | 4 ++-- .../Generated/DeepInfra.Models.ImageURL.g.cs | 2 +- .../DeepInfra.Models.ModelInfoOut.g.cs | 2 +- ...epInfra.Models.ModelPricingImageUnits.g.cs | 2 +- ...dels.ModelPricingInputCharacterLength.g.cs | 2 +- ...pInfra.Models.ModelPricingInputLength.g.cs | 2 +- ...pInfra.Models.ModelPricingInputTokens.g.cs | 2 +- .../DeepInfra.Models.ModelPricingTime.g.cs | 2 +- .../DeepInfra.Models.ModelPricingTokens.g.cs | 2 +- .../DeepInfra.Models.ModelPricingUptime.g.cs | 2 +- ...pInfra.Models.OpenAIChatCompletionsIn.g.cs | 18 +++++++------- .../DeepInfra.Models.OpenAICompletionsIn.g.cs | 20 ++++++++-------- .../DeepInfra.Models.OpenAIEmbeddingsIn.g.cs | 2 +- .../DeepInfra.Models.OpenAIModelOut.g.cs | 2 +- .../DeepInfra.Models.OpenAIModelsOut.g.cs | 2 +- ...DeepInfra.Models.OpenAITextToSpeechIn.g.cs | 2 +- .../DeepInfra.Models.ResponseFormat.g.cs | 2 +- .../DeepInfra.Models.ScaleSettings.g.cs | 4 ++-- .../DeepInfra.Models.TimeInterval.g.cs | 4 ++-- .../DeepInfra.Models.UsageMonth.g.cs | 2 +- 55 files changed, 138 insertions(+), 138 deletions(-) diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeepstartApply.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeepstartApply.g.cs index a7d70ff..108e633 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeepstartApply.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeepstartApply.g.cs @@ -148,7 +148,7 @@ partial void ProcessDeepstartApplyResponseContent( string? id = default, string? uid = default, int? createdAt = default, - string? status = "pending", + string? status = default, string? deal = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreateLlm.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreateLlm.g.cs index a4cac5b..3da8df3 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreateLlm.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreateLlm.g.cs @@ -138,8 +138,8 @@ partial void ProcessDeployCreateLlmResponseContent( public async global::System.Threading.Tasks.Task DeployCreateLlmAsync( string modelName, global::DeepInfra.DeployGPUs gpu, - int? numGpus = 1, - int? maxBatchSize = 96, + int? numGpus = default, + int? maxBatchSize = default, global::DeepInfra.HFWeights? hf = default, global::DeepInfra.ScaleSettings? settings = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployDetailedStats.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployDetailedStats.g.cs index c0888ab..bb2f20c 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployDetailedStats.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployDetailedStats.g.cs @@ -41,7 +41,7 @@ partial void ProcessDeployDetailedStatsResponseContent( public async global::System.Threading.Tasks.Task DeployDetailedStatsAsync( string deployId, string from, - string? to = "now", + string? to = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployStats.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployStats.g.cs index 606787f..a3f44f3 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployStats.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployStats.g.cs @@ -41,7 +41,7 @@ partial void ProcessDeployStatsResponseContent( public async global::System.Threading.Tasks.Task DeployStatsAsync( string deployId, string from, - string? to = "now", + string? to = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeploymentLogsQuery.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeploymentLogsQuery.g.cs index 86a0bd9..d3c31fc 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeploymentLogsQuery.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeploymentLogsQuery.g.cs @@ -61,7 +61,7 @@ partial void ProcessDeploymentLogsQueryResponseContent( string? podName = default, string? from = default, string? to = default, - int? limit = 100, + int? limit = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.InferenceDeploy.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.InferenceDeploy.g.cs index 4c0e0f8..c13e60b 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.InferenceDeploy.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.InferenceDeploy.g.cs @@ -40,7 +40,7 @@ partial void ProcessInferenceDeployResponseContent( /// public async global::System.Threading.Tasks.Task InferenceDeployAsync( string deployId, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, string? userAgent = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.LogsQuery.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.LogsQuery.g.cs index 534b437..e6d50fd 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.LogsQuery.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.LogsQuery.g.cs @@ -55,7 +55,7 @@ partial void ProcessLogsQueryResponseContent( string deployId, string? from = default, string? to = default, - int? limit = 100, + int? limit = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioSpeech.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioSpeech.g.cs index 6a92e69..bb28c2b 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioSpeech.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioSpeech.g.cs @@ -37,7 +37,7 @@ partial void ProcessOpenaiAudioSpeechResponseContent( /// public async global::System.Threading.Tasks.Task OpenaiAudioSpeechAsync( global::DeepInfra.OpenAITextToSpeechIn request, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -168,11 +168,11 @@ partial void ProcessOpenaiAudioSpeechResponseContent( public async global::System.Threading.Tasks.Task OpenaiAudioSpeechAsync( string model, string input, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, global::DeepInfra.TtsVoice? voice = default, global::DeepInfra.TtsResponseFormat? responseFormat = default, - double? speed = 1, + double? speed = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::DeepInfra.OpenAITextToSpeechIn diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletions.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletions.g.cs index 304cbf9..ea9047a 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletions.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletions.g.cs @@ -40,7 +40,7 @@ partial void ProcessOpenaiChatCompletionsResponseContent( /// public async global::System.Threading.Tasks.Task OpenaiChatCompletionsAsync( global::DeepInfra.OpenAIChatCompletionsIn request, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, string? userAgent = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -223,23 +223,23 @@ partial void ProcessOpenaiChatCompletionsResponseContent( public async global::System.Threading.Tasks.Task OpenaiChatCompletionsAsync( string model, global::System.Collections.Generic.IList> messages, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, string? userAgent = default, - bool? stream = false, - double? temperature = 1, - double? topP = 1, - double? minP = 0, - int? topK = 0, + bool? stream = default, + double? temperature = default, + double? topP = default, + double? minP = default, + int? topK = default, int? maxTokens = default, global::DeepInfra.AnyOf>? stop = default, - int? n = 1, - double? presencePenalty = 0, - double? frequencyPenalty = 0, + int? n = default, + double? presencePenalty = default, + double? frequencyPenalty = default, global::System.Collections.Generic.IList? tools = default, string? toolChoice = default, global::DeepInfra.ResponseFormat? responseFormat = default, - double? repetitionPenalty = 1, + double? repetitionPenalty = default, string? user = default, int? seed = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletions.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletions.g.cs index d086377..af306f2 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletions.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletions.g.cs @@ -40,7 +40,7 @@ partial void ProcessOpenaiCompletionsResponseContent( /// public async global::System.Threading.Tasks.Task OpenaiCompletionsAsync( global::DeepInfra.OpenAICompletionsIn request, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, string? userAgent = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -224,23 +224,23 @@ partial void ProcessOpenaiCompletionsResponseContent( public async global::System.Threading.Tasks.Task OpenaiCompletionsAsync( string model, string prompt, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, string? userAgent = default, - int? maxTokens = 512, - double? temperature = 1, - double? topP = 1, - double? minP = 0, - int? topK = 0, - int? n = 1, - bool? stream = false, + int? maxTokens = default, + double? temperature = default, + double? topP = default, + double? minP = default, + int? topK = default, + int? n = default, + bool? stream = default, int? logprobs = default, bool? echo = default, global::DeepInfra.AnyOf>? stop = default, - double? presencePenalty = 0, - double? frequencyPenalty = 0, + double? presencePenalty = default, + double? frequencyPenalty = default, global::DeepInfra.ResponseFormat? responseFormat = default, - double? repetitionPenalty = 1, + double? repetitionPenalty = default, string? user = default, int? seed = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiEmbeddings.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiEmbeddings.g.cs index 86976b2..30af770 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiEmbeddings.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiEmbeddings.g.cs @@ -40,7 +40,7 @@ partial void ProcessOpenaiEmbeddingsResponseContent( /// public async global::System.Threading.Tasks.Task OpenaiEmbeddingsAsync( global::DeepInfra.OpenAIEmbeddingsIn request, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, string? userAgent = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -170,10 +170,10 @@ partial void ProcessOpenaiEmbeddingsResponseContent( public async global::System.Threading.Tasks.Task OpenaiEmbeddingsAsync( string model, global::DeepInfra.AnyOf, string> input, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, string? userAgent = default, - global::DeepInfra.OpenAIEmbeddingsInEncodingFormat? encodingFormat = global::DeepInfra.OpenAIEmbeddingsInEncodingFormat.Float, + global::DeepInfra.OpenAIEmbeddingsInEncodingFormat? encodingFormat = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::DeepInfra.OpenAIEmbeddingsIn diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiFiles.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiFiles.g.cs index 2203b4e..e48d553 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiFiles.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiFiles.g.cs @@ -34,7 +34,7 @@ partial void ProcessOpenaiFilesResponseContent( /// public async global::System.Threading.Tasks.Task OpenaiFilesAsync( global::DeepInfra.BodyOpenaiFilesV1OpenaiFilesPost request, - bool? useCache = true, + bool? useCache = default, global::System.Threading.CancellationToken cancellationToken = default) { request = request ?? throw new global::System.ArgumentNullException(nameof(request)); @@ -73,7 +73,7 @@ partial void ProcessOpenaiFilesResponseContent( } } using var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent(); - if (useCache != true) + if (useCache != default) { __httpRequestContent.Add( content: new global::System.Net.Http.StringContent($"{useCache}"), @@ -144,7 +144,7 @@ partial void ProcessOpenaiFilesResponseContent( public async global::System.Threading.Tasks.Task OpenaiFilesAsync( string purpose, global::System.Collections.Generic.IList file, - bool? useCache = true, + bool? useCache = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::DeepInfra.BodyOpenaiFilesV1OpenaiFilesPost diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.TextToSpeech.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.TextToSpeech.g.cs index 31e81ea..547e1c1 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.TextToSpeech.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.TextToSpeech.g.cs @@ -171,8 +171,8 @@ partial void ProcessTextToSpeechResponseContent( string text, string? xDeepinfraSource = default, string? xiApiKey = default, - string? modelId = "deepinfra/tts", - global::DeepInfra.TtsResponseFormat? outputFormat = global::DeepInfra.TtsResponseFormat.Wav, + string? modelId = default, + global::DeepInfra.TtsResponseFormat? outputFormat = default, string? languageCode = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeepstartApply.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeepstartApply.g.cs index 221a445..bdb80a9 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeepstartApply.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeepstartApply.g.cs @@ -44,7 +44,7 @@ public partial interface IDeepInfraApi string? id = default, string? uid = default, int? createdAt = default, - string? status = "pending", + string? status = default, string? deal = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeployCreateLlm.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeployCreateLlm.g.cs index aed1fa4..b9eb2e8 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeployCreateLlm.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeployCreateLlm.g.cs @@ -38,8 +38,8 @@ public partial interface IDeepInfraApi global::System.Threading.Tasks.Task DeployCreateLlmAsync( string modelName, global::DeepInfra.DeployGPUs gpu, - int? numGpus = 1, - int? maxBatchSize = 96, + int? numGpus = default, + int? maxBatchSize = default, global::DeepInfra.HFWeights? hf = default, global::DeepInfra.ScaleSettings? settings = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeployDetailedStats.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeployDetailedStats.g.cs index 0eed211..411cf58 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeployDetailedStats.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeployDetailedStats.g.cs @@ -20,7 +20,7 @@ public partial interface IDeepInfraApi global::System.Threading.Tasks.Task DeployDetailedStatsAsync( string deployId, string from, - string? to = "now", + string? to = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeployStats.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeployStats.g.cs index a36741b..9596a79 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeployStats.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeployStats.g.cs @@ -20,7 +20,7 @@ public partial interface IDeepInfraApi global::System.Threading.Tasks.Task DeployStatsAsync( string deployId, string from, - string? to = "now", + string? to = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeploymentLogsQuery.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeploymentLogsQuery.g.cs index 7eb0eab..b1aa6fa 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeploymentLogsQuery.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.DeploymentLogsQuery.g.cs @@ -36,7 +36,7 @@ public partial interface IDeepInfraApi string? podName = default, string? from = default, string? to = default, - int? limit = 100, + int? limit = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.InferenceDeploy.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.InferenceDeploy.g.cs index f2807fe..c8b65db 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.InferenceDeploy.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.InferenceDeploy.g.cs @@ -17,7 +17,7 @@ public partial interface IDeepInfraApi /// global::System.Threading.Tasks.Task InferenceDeployAsync( string deployId, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, string? userAgent = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.LogsQuery.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.LogsQuery.g.cs index 8836da3..3eb52ac 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.LogsQuery.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.LogsQuery.g.cs @@ -32,7 +32,7 @@ public partial interface IDeepInfraApi string deployId, string? from = default, string? to = default, - int? limit = 100, + int? limit = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiAudioSpeech.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiAudioSpeech.g.cs index ef65012..a8e35e3 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiAudioSpeech.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiAudioSpeech.g.cs @@ -16,7 +16,7 @@ public partial interface IDeepInfraApi /// global::System.Threading.Tasks.Task OpenaiAudioSpeechAsync( global::DeepInfra.OpenAITextToSpeechIn request, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -53,11 +53,11 @@ public partial interface IDeepInfraApi global::System.Threading.Tasks.Task OpenaiAudioSpeechAsync( string model, string input, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, global::DeepInfra.TtsVoice? voice = default, global::DeepInfra.TtsResponseFormat? responseFormat = default, - double? speed = 1, + double? speed = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiChatCompletions.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiChatCompletions.g.cs index 2f16ae8..8b11c8f 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiChatCompletions.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiChatCompletions.g.cs @@ -17,7 +17,7 @@ public partial interface IDeepInfraApi /// global::System.Threading.Tasks.Task OpenaiChatCompletionsAsync( global::DeepInfra.OpenAIChatCompletionsIn request, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, string? userAgent = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -100,23 +100,23 @@ public partial interface IDeepInfraApi global::System.Threading.Tasks.Task OpenaiChatCompletionsAsync( string model, global::System.Collections.Generic.IList> messages, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, string? userAgent = default, - bool? stream = false, - double? temperature = 1, - double? topP = 1, - double? minP = 0, - int? topK = 0, + bool? stream = default, + double? temperature = default, + double? topP = default, + double? minP = default, + int? topK = default, int? maxTokens = default, global::DeepInfra.AnyOf>? stop = default, - int? n = 1, - double? presencePenalty = 0, - double? frequencyPenalty = 0, + int? n = default, + double? presencePenalty = default, + double? frequencyPenalty = default, global::System.Collections.Generic.IList? tools = default, string? toolChoice = default, global::DeepInfra.ResponseFormat? responseFormat = default, - double? repetitionPenalty = 1, + double? repetitionPenalty = default, string? user = default, int? seed = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiCompletions.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiCompletions.g.cs index b5a114c..1143d76 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiCompletions.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiCompletions.g.cs @@ -17,7 +17,7 @@ public partial interface IDeepInfraApi /// global::System.Threading.Tasks.Task OpenaiCompletionsAsync( global::DeepInfra.OpenAICompletionsIn request, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, string? userAgent = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -101,23 +101,23 @@ public partial interface IDeepInfraApi global::System.Threading.Tasks.Task OpenaiCompletionsAsync( string model, string prompt, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, string? userAgent = default, - int? maxTokens = 512, - double? temperature = 1, - double? topP = 1, - double? minP = 0, - int? topK = 0, - int? n = 1, - bool? stream = false, + int? maxTokens = default, + double? temperature = default, + double? topP = default, + double? minP = default, + int? topK = default, + int? n = default, + bool? stream = default, int? logprobs = default, bool? echo = default, global::DeepInfra.AnyOf>? stop = default, - double? presencePenalty = 0, - double? frequencyPenalty = 0, + double? presencePenalty = default, + double? frequencyPenalty = default, global::DeepInfra.ResponseFormat? responseFormat = default, - double? repetitionPenalty = 1, + double? repetitionPenalty = default, string? user = default, int? seed = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiEmbeddings.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiEmbeddings.g.cs index 0860df5..819eb72 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiEmbeddings.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiEmbeddings.g.cs @@ -17,7 +17,7 @@ public partial interface IDeepInfraApi /// global::System.Threading.Tasks.Task OpenaiEmbeddingsAsync( global::DeepInfra.OpenAIEmbeddingsIn request, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, string? userAgent = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -47,10 +47,10 @@ public partial interface IDeepInfraApi global::System.Threading.Tasks.Task OpenaiEmbeddingsAsync( string model, global::DeepInfra.AnyOf, string> input, - bool? useCache = true, + bool? useCache = default, string? xDeepinfraSource = default, string? userAgent = default, - global::DeepInfra.OpenAIEmbeddingsInEncodingFormat? encodingFormat = global::DeepInfra.OpenAIEmbeddingsInEncodingFormat.Float, + global::DeepInfra.OpenAIEmbeddingsInEncodingFormat? encodingFormat = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiFiles.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiFiles.g.cs index 5f85d46..5daa444 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiFiles.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.OpenaiFiles.g.cs @@ -15,7 +15,7 @@ public partial interface IDeepInfraApi /// global::System.Threading.Tasks.Task OpenaiFilesAsync( global::DeepInfra.BodyOpenaiFilesV1OpenaiFilesPost request, - bool? useCache = true, + bool? useCache = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IDeepInfraApi global::System.Threading.Tasks.Task OpenaiFilesAsync( string purpose, global::System.Collections.Generic.IList file, - bool? useCache = true, + bool? useCache = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.TextToSpeech.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.TextToSpeech.g.cs index 135c088..aaf8263 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.TextToSpeech.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.TextToSpeech.g.cs @@ -51,8 +51,8 @@ public partial interface IDeepInfraApi string text, string? xDeepinfraSource = default, string? xiApiKey = default, - string? modelId = "deepinfra/tts", - global::DeepInfra.TtsResponseFormat? outputFormat = global::DeepInfra.TtsResponseFormat.Wav, + string? modelId = default, + global::DeepInfra.TtsResponseFormat? outputFormat = default, string? languageCode = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionAssistantMessage.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionAssistantMessage.g.cs index 1e72c77..736e1c1 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionAssistantMessage.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionAssistantMessage.g.cs @@ -14,7 +14,7 @@ public sealed partial class ChatCompletionAssistantMessage /// [global::System.Text.Json.Serialization.JsonPropertyName("role")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::DeepInfra.JsonConverters.ChatCompletionAssistantMessageRoleJsonConverter))] - public global::DeepInfra.ChatCompletionAssistantMessageRole? Role { get; set; } = global::DeepInfra.ChatCompletionAssistantMessageRole.Assistant; + public global::DeepInfra.ChatCompletionAssistantMessageRole? Role { get; set; } /// /// the message content diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionSystemMessage.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionSystemMessage.g.cs index 2c56e3c..82b9358 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionSystemMessage.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionSystemMessage.g.cs @@ -14,7 +14,7 @@ public sealed partial class ChatCompletionSystemMessage /// [global::System.Text.Json.Serialization.JsonPropertyName("role")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::DeepInfra.JsonConverters.ChatCompletionSystemMessageRoleJsonConverter))] - public global::DeepInfra.ChatCompletionSystemMessageRole? Role { get; set; } = global::DeepInfra.ChatCompletionSystemMessageRole.System; + public global::DeepInfra.ChatCompletionSystemMessageRole? Role { get; set; } /// /// the message content diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionToolMessage.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionToolMessage.g.cs index 7020d02..6ab45a9 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionToolMessage.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionToolMessage.g.cs @@ -14,7 +14,7 @@ public sealed partial class ChatCompletionToolMessage /// [global::System.Text.Json.Serialization.JsonPropertyName("role")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::DeepInfra.JsonConverters.ChatCompletionToolMessageRoleJsonConverter))] - public global::DeepInfra.ChatCompletionToolMessageRole? Role { get; set; } = global::DeepInfra.ChatCompletionToolMessageRole.Tool; + public global::DeepInfra.ChatCompletionToolMessageRole? Role { get; set; } /// /// the message content diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionUserMessage.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionUserMessage.g.cs index 6c0ed60..78eb56d 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionUserMessage.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatCompletionUserMessage.g.cs @@ -16,7 +16,7 @@ public sealed partial class ChatCompletionUserMessage /// [global::System.Text.Json.Serialization.JsonPropertyName("role")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::DeepInfra.JsonConverters.ChatCompletionUserMessageRoleJsonConverter))] - public global::DeepInfra.ChatCompletionUserMessageRole? Role { get; set; } = global::DeepInfra.ChatCompletionUserMessageRole.User; + public global::DeepInfra.ChatCompletionUserMessageRole? Role { get; set; } /// /// the message content diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatTools.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatTools.g.cs index 7b4b694..d1c22f1 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatTools.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ChatTools.g.cs @@ -12,7 +12,7 @@ public sealed partial class ChatTools /// Default Value: function /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } = "function"; + public string? Type { get; set; } /// /// diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.Checklist.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.Checklist.g.cs index 88470a6..142a145 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.Checklist.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.Checklist.g.cs @@ -12,37 +12,37 @@ public sealed partial class Checklist /// Default Value: false /// [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public bool? Email { get; set; } = false; + public bool? Email { get; set; } /// /// Default Value: false /// [global::System.Text.Json.Serialization.JsonPropertyName("billing_address")] - public bool? BillingAddress { get; set; } = false; + public bool? BillingAddress { get; set; } /// /// Default Value: false /// [global::System.Text.Json.Serialization.JsonPropertyName("payment_method")] - public bool? PaymentMethod { get; set; } = false; + public bool? PaymentMethod { get; set; } /// /// Default Value: false /// [global::System.Text.Json.Serialization.JsonPropertyName("suspended")] - public bool? Suspended { get; set; } = false; + public bool? Suspended { get; set; } /// /// Default Value: 0 /// [global::System.Text.Json.Serialization.JsonPropertyName("overdue_invoices")] - public double? OverdueInvoices { get; set; } = 0; + public double? OverdueInvoices { get; set; } /// /// Default Value: 0 /// [global::System.Text.Json.Serialization.JsonPropertyName("last_checked")] - public int? LastChecked { get; set; } = 0; + public int? LastChecked { get; set; } /// /// Negative value indicates funds ready-to-spend. Positive value indicates money owed diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.DeepStartApplicationIn.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.DeepStartApplicationIn.g.cs index cffa2aa..38076fd 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.DeepStartApplicationIn.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.DeepStartApplicationIn.g.cs @@ -65,7 +65,7 @@ public sealed partial class DeepStartApplicationIn /// Default Value: pending /// [global::System.Text.Json.Serialization.JsonPropertyName("status")] - public string? Status { get; set; } = "pending"; + public string? Status { get; set; } /// /// diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.DeepStartApplicationOut.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.DeepStartApplicationOut.g.cs index e1d9811..6ea1524 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.DeepStartApplicationOut.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.DeepStartApplicationOut.g.cs @@ -65,7 +65,7 @@ public sealed partial class DeepStartApplicationOut /// Default Value: pending /// [global::System.Text.Json.Serialization.JsonPropertyName("status")] - public string? Status { get; set; } = "pending"; + public string? Status { get; set; } /// /// diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.DeployLLMIn.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.DeployLLMIn.g.cs index 39708cf..e11d52e 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.DeployLLMIn.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.DeployLLMIn.g.cs @@ -28,14 +28,14 @@ public sealed partial class DeployLLMIn /// Default Value: 1 /// [global::System.Text.Json.Serialization.JsonPropertyName("num_gpus")] - public int? NumGpus { get; set; } = 1; + public int? NumGpus { get; set; } /// /// Maximum number of concurrent requests
/// Default Value: 96 ///
[global::System.Text.Json.Serialization.JsonPropertyName("max_batch_size")] - public int? MaxBatchSize { get; set; } = 96; + public int? MaxBatchSize { get; set; } /// /// diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ElevenLabsTextToSpeechIn.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ElevenLabsTextToSpeechIn.g.cs index 7bd2686..e60d5ca 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ElevenLabsTextToSpeechIn.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ElevenLabsTextToSpeechIn.g.cs @@ -24,7 +24,7 @@ public sealed partial class ElevenLabsTextToSpeechIn /// Default Value: deepinfra/tts /// [global::System.Text.Json.Serialization.JsonPropertyName("model_id")] - public string? ModelId { get; set; } = "deepinfra/tts"; + public string? ModelId { get; set; } /// /// Output format for the speech
@@ -32,7 +32,7 @@ public sealed partial class ElevenLabsTextToSpeechIn ///
[global::System.Text.Json.Serialization.JsonPropertyName("output_format")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::DeepInfra.JsonConverters.TtsResponseFormatJsonConverter))] - public global::DeepInfra.TtsResponseFormat? OutputFormat { get; set; } = global::DeepInfra.TtsResponseFormat.Wav; + public global::DeepInfra.TtsResponseFormat? OutputFormat { get; set; } /// /// ISO 639-1, 2 letter language code diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ImageURL.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ImageURL.g.cs index 8be07d7..4179c5f 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ImageURL.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ImageURL.g.cs @@ -20,7 +20,7 @@ public sealed partial class ImageURL /// [global::System.Text.Json.Serialization.JsonPropertyName("detail")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::DeepInfra.JsonConverters.ImageURLDetailJsonConverter))] - public global::DeepInfra.ImageURLDetail? Detail { get; set; } = global::DeepInfra.ImageURLDetail.Auto; + public global::DeepInfra.ImageURLDetail? Detail { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelInfoOut.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelInfoOut.g.cs index ff456ec..c35518f 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelInfoOut.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelInfoOut.g.cs @@ -62,7 +62,7 @@ public sealed partial class ModelInfoOut /// Default Value: false /// [global::System.Text.Json.Serialization.JsonPropertyName("owner")] - public bool? Owner { get; set; } = false; + public bool? Owner { get; set; } /// /// diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingImageUnits.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingImageUnits.g.cs index 139f331..1cd6dbe 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingImageUnits.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingImageUnits.g.cs @@ -40,7 +40,7 @@ public sealed partial class ModelPricingImageUnits /// Default Value: image_units /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } = "image_units"; + public string? Type { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingInputCharacterLength.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingInputCharacterLength.g.cs index f1b9b40..59c2a0c 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingInputCharacterLength.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingInputCharacterLength.g.cs @@ -19,7 +19,7 @@ public sealed partial class ModelPricingInputCharacterLength /// Default Value: input_character_length /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } = "input_character_length"; + public string? Type { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingInputLength.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingInputLength.g.cs index 5f2e6ea..07474c4 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingInputLength.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingInputLength.g.cs @@ -19,7 +19,7 @@ public sealed partial class ModelPricingInputLength /// Default Value: input_length /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } = "input_length"; + public string? Type { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingInputTokens.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingInputTokens.g.cs index 71dbd36..ca9e795 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingInputTokens.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingInputTokens.g.cs @@ -19,7 +19,7 @@ public sealed partial class ModelPricingInputTokens /// Default Value: input_tokens /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } = "input_tokens"; + public string? Type { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingTime.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingTime.g.cs index 11718fe..cdcde25 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingTime.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingTime.g.cs @@ -19,7 +19,7 @@ public sealed partial class ModelPricingTime /// Default Value: time /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } = "time"; + public string? Type { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingTokens.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingTokens.g.cs index 33e6eac..3e284fe 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingTokens.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingTokens.g.cs @@ -26,7 +26,7 @@ public sealed partial class ModelPricingTokens /// Default Value: tokens /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } = "tokens"; + public string? Type { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingUptime.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingUptime.g.cs index 6d40120..7ae0e67 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingUptime.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelPricingUptime.g.cs @@ -19,7 +19,7 @@ public sealed partial class ModelPricingUptime /// Default Value: uptime /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } = "uptime"; + public string? Type { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIChatCompletionsIn.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIChatCompletionsIn.g.cs index 842bfc3..f60bf41 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIChatCompletionsIn.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIChatCompletionsIn.g.cs @@ -30,35 +30,35 @@ public sealed partial class OpenAIChatCompletionsIn /// Default Value: false /// [global::System.Text.Json.Serialization.JsonPropertyName("stream")] - public bool? Stream { get; set; } = false; + public bool? Stream { get; set; } /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic
/// Default Value: 1 ///
[global::System.Text.Json.Serialization.JsonPropertyName("temperature")] - public double? Temperature { get; set; } = 1; + public double? Temperature { get; set; } /// /// An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.
/// Default Value: 1 ///
[global::System.Text.Json.Serialization.JsonPropertyName("top_p")] - public double? TopP { get; set; } = 1; + public double? TopP { get; set; } /// /// Float that represents the minimum probability for a token to be considered, relative to the probability of the most likely token. Must be in [0, 1]. Set to 0 to disable this.
/// Default Value: 0 ///
[global::System.Text.Json.Serialization.JsonPropertyName("min_p")] - public double? MinP { get; set; } = 0; + public double? MinP { get; set; } /// /// Sample from the best k (number of) tokens. 0 means off
/// Default Value: 0 ///
[global::System.Text.Json.Serialization.JsonPropertyName("top_k")] - public int? TopK { get; set; } = 0; + public int? TopK { get; set; } /// /// The maximum number of tokens to generate in the chat completion.
@@ -79,21 +79,21 @@ public sealed partial class OpenAIChatCompletionsIn /// Default Value: 1 ///
[global::System.Text.Json.Serialization.JsonPropertyName("n")] - public int? N { get; set; } = 1; + public int? N { 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.
/// Default Value: 0 ///
[global::System.Text.Json.Serialization.JsonPropertyName("presence_penalty")] - public double? PresencePenalty { get; set; } = 0; + public double? PresencePenalty { get; set; } /// /// Positive values penalize new tokens based on how many times they appear in the text so far, increasing the model's likelihood to talk about new topics.
/// Default Value: 0 ///
[global::System.Text.Json.Serialization.JsonPropertyName("frequency_penalty")] - public double? FrequencyPenalty { get; set; } = 0; + public double? FrequencyPenalty { get; set; } /// /// A list of tools the model may call. Currently, only functions are supported as a tool. @@ -118,7 +118,7 @@ public sealed partial class OpenAIChatCompletionsIn /// Default Value: 1 /// [global::System.Text.Json.Serialization.JsonPropertyName("repetition_penalty")] - public double? RepetitionPenalty { get; set; } = 1; + public double? RepetitionPenalty { get; set; } /// /// A unique identifier representing your end-user, which can help monitor and detect abuse. Avoid sending us any identifying information. We recommend hashing user identifiers. diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAICompletionsIn.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAICompletionsIn.g.cs index 0a23bb6..5f6da0b 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAICompletionsIn.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAICompletionsIn.g.cs @@ -31,49 +31,49 @@ public sealed partial class OpenAICompletionsIn /// Default Value: 512 /// [global::System.Text.Json.Serialization.JsonPropertyName("max_tokens")] - public int? MaxTokens { get; set; } = 512; + public int? MaxTokens { get; set; } /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic
/// Default Value: 1 ///
[global::System.Text.Json.Serialization.JsonPropertyName("temperature")] - public double? Temperature { get; set; } = 1; + public double? Temperature { get; set; } /// /// An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.
/// Default Value: 1 ///
[global::System.Text.Json.Serialization.JsonPropertyName("top_p")] - public double? TopP { get; set; } = 1; + public double? TopP { get; set; } /// /// Float that represents the minimum probability for a token to be considered, relative to the probability of the most likely token. Must be in [0, 1]. Set to 0 to disable this.
/// Default Value: 0 ///
[global::System.Text.Json.Serialization.JsonPropertyName("min_p")] - public double? MinP { get; set; } = 0; + public double? MinP { get; set; } /// /// Sample from the best k (number of) tokens. 0 means off
/// Default Value: 0 ///
[global::System.Text.Json.Serialization.JsonPropertyName("top_k")] - public int? TopK { get; set; } = 0; + public int? TopK { get; set; } /// /// number of sequences to return. n != 1 incompatible with streaming
/// Default Value: 1 ///
[global::System.Text.Json.Serialization.JsonPropertyName("n")] - public int? N { get; set; } = 1; + public int? N { get; set; } /// /// whether to stream the output via SSE or return the full response
/// Default Value: false ///
[global::System.Text.Json.Serialization.JsonPropertyName("stream")] - public bool? Stream { get; set; } = false; + public bool? Stream { get; set; } /// /// return top tokens and their log-probabilities @@ -99,14 +99,14 @@ public sealed partial class OpenAICompletionsIn /// Default Value: 0 /// [global::System.Text.Json.Serialization.JsonPropertyName("presence_penalty")] - public double? PresencePenalty { get; set; } = 0; + public double? PresencePenalty { get; set; } /// /// Positive values penalize new tokens based on how many times they appear in the text so far, increasing the model's likelihood to talk about new topics.
/// Default Value: 0 ///
[global::System.Text.Json.Serialization.JsonPropertyName("frequency_penalty")] - public double? FrequencyPenalty { get; set; } = 0; + public double? FrequencyPenalty { get; set; } /// /// The format of the response. Currently, only json is supported. @@ -119,7 +119,7 @@ public sealed partial class OpenAICompletionsIn /// Default Value: 1 /// [global::System.Text.Json.Serialization.JsonPropertyName("repetition_penalty")] - public double? RepetitionPenalty { get; set; } = 1; + public double? RepetitionPenalty { get; set; } /// /// A unique identifier representing your end-user, which can help monitor and detect abuse. Avoid sending us any identifying information. We recommend hashing user identifiers. diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIEmbeddingsIn.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIEmbeddingsIn.g.cs index 33a1387..dc89967 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIEmbeddingsIn.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIEmbeddingsIn.g.cs @@ -33,7 +33,7 @@ public sealed partial class OpenAIEmbeddingsIn /// [global::System.Text.Json.Serialization.JsonPropertyName("encoding_format")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::DeepInfra.JsonConverters.OpenAIEmbeddingsInEncodingFormatJsonConverter))] - public global::DeepInfra.OpenAIEmbeddingsInEncodingFormat? EncodingFormat { get; set; } = global::DeepInfra.OpenAIEmbeddingsInEncodingFormat.Float; + public global::DeepInfra.OpenAIEmbeddingsInEncodingFormat? EncodingFormat { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIModelOut.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIModelOut.g.cs index 3820630..ebe46b0 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIModelOut.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIModelOut.g.cs @@ -19,7 +19,7 @@ public sealed partial class OpenAIModelOut /// Default Value: model /// [global::System.Text.Json.Serialization.JsonPropertyName("object")] - public string? Object { get; set; } = "model"; + public string? Object { get; set; } /// /// diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIModelsOut.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIModelsOut.g.cs index abd9dd5..8ea61ac 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIModelsOut.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIModelsOut.g.cs @@ -12,7 +12,7 @@ public sealed partial class OpenAIModelsOut /// Default Value: list /// [global::System.Text.Json.Serialization.JsonPropertyName("object")] - public string? Object { get; set; } = "list"; + public string? Object { get; set; } /// /// diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAITextToSpeechIn.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAITextToSpeechIn.g.cs index 562975a..b239f06 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAITextToSpeechIn.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAITextToSpeechIn.g.cs @@ -46,7 +46,7 @@ public sealed partial class OpenAITextToSpeechIn /// Default Value: 1 /// [global::System.Text.Json.Serialization.JsonPropertyName("speed")] - public double? Speed { get; set; } = 1; + public double? Speed { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ResponseFormat.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ResponseFormat.g.cs index 21a4c67..7bbe008 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ResponseFormat.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ResponseFormat.g.cs @@ -15,7 +15,7 @@ public sealed partial class ResponseFormat /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::DeepInfra.JsonConverters.ResponseFormatTypeJsonConverter))] - public global::DeepInfra.ResponseFormatType? Type { get; set; } = global::DeepInfra.ResponseFormatType.Text; + public global::DeepInfra.ResponseFormatType? Type { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ScaleSettings.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ScaleSettings.g.cs index c4cc224..6ebe8b2 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ScaleSettings.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ScaleSettings.g.cs @@ -13,14 +13,14 @@ public sealed partial class ScaleSettings /// Default Value: 1 /// [global::System.Text.Json.Serialization.JsonPropertyName("min_instances")] - public int? MinInstances { get; set; } = 1; + public int? MinInstances { get; set; } /// /// Maximum number of model instances to run
/// Default Value: 1 ///
[global::System.Text.Json.Serialization.JsonPropertyName("max_instances")] - public int? MaxInstances { get; set; } = 1; + public int? MaxInstances { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.TimeInterval.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.TimeInterval.g.cs index 481b4f0..cd62788 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.TimeInterval.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.TimeInterval.g.cs @@ -12,13 +12,13 @@ public sealed partial class TimeInterval /// Default Value: 0 /// [global::System.Text.Json.Serialization.JsonPropertyName("fr")] - public int? Fr { get; set; } = 0; + public int? Fr { get; set; } /// /// Default Value: 4000000000000L /// [global::System.Text.Json.Serialization.JsonPropertyName("to")] - public long? To { get; set; } = 4000000000000L; + public long? To { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.UsageMonth.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.UsageMonth.g.cs index d0ef87f..f3996d0 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.UsageMonth.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.UsageMonth.g.cs @@ -41,7 +41,7 @@ public sealed partial class UsageMonth /// Default Value: NOT_FINAL /// [global::System.Text.Json.Serialization.JsonPropertyName("invoice_id")] - public string? InvoiceId { get; set; } = "NOT_FINAL"; + public string? InvoiceId { get; set; } /// /// Additional properties that are not explicitly defined in the schema