From 066d9dfea28946df319d47c4a71cfa01a2d79e65 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 18 Sep 2026 23:00:24 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../SmallestAI.ISpeechToTextClient.Transcribe.g.cs | 4 ++++ ...stAI.ISpeechToTextClient.TranscribeWithJson.g.cs | 6 ++++++ .../SmallestAI.SpeechToTextClient.Transcribe.g.cs | 10 ++++++++++ ...estAI.SpeechToTextClient.TranscribeWithJson.g.cs | 13 +++++++++++++ src/libs/SmallestAI/openapi.yaml | 9 +++++++++ 5 files changed, 42 insertions(+) diff --git a/src/libs/SmallestAI/Generated/SmallestAI.ISpeechToTextClient.Transcribe.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.ISpeechToTextClient.Transcribe.g.cs index 4026c46..8b281e0 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.ISpeechToTextClient.Transcribe.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.ISpeechToTextClient.Transcribe.g.cs @@ -78,6 +78,7 @@ public partial interface ISpeechToTextClient /// /// Default Value: false /// + /// /// /// /// Default Value: POST @@ -107,6 +108,7 @@ public partial interface ISpeechToTextClient byte[] request, bool? wordTimestamps = default, bool? diarize = default, + string? keywords = default, string? webhookUrl = default, global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod = default, string? webhookExtra = default, @@ -191,6 +193,7 @@ public partial interface ISpeechToTextClient /// /// Default Value: false /// + /// /// /// /// Default Value: POST @@ -220,6 +223,7 @@ public partial interface ISpeechToTextClient byte[] request, bool? wordTimestamps = default, bool? diarize = default, + string? keywords = default, string? webhookUrl = default, global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod = default, string? webhookExtra = default, diff --git a/src/libs/SmallestAI/Generated/SmallestAI.ISpeechToTextClient.TranscribeWithJson.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.ISpeechToTextClient.TranscribeWithJson.g.cs index 008f901..74c467c 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.ISpeechToTextClient.TranscribeWithJson.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.ISpeechToTextClient.TranscribeWithJson.g.cs @@ -78,6 +78,7 @@ public partial interface ISpeechToTextClient /// /// Default Value: false /// + /// /// /// /// Default Value: POST @@ -107,6 +108,7 @@ public partial interface ISpeechToTextClient global::SmallestAI.TranscriptionUrlRequest request, bool? wordTimestamps = default, bool? diarize = default, + string? keywords = default, string? webhookUrl = default, global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod = default, string? webhookExtra = default, @@ -191,6 +193,7 @@ public partial interface ISpeechToTextClient /// /// Default Value: false /// + /// /// /// /// Default Value: POST @@ -220,6 +223,7 @@ public partial interface ISpeechToTextClient global::SmallestAI.TranscriptionUrlRequest request, bool? wordTimestamps = default, bool? diarize = default, + string? keywords = default, string? webhookUrl = default, global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod = default, string? webhookExtra = default, @@ -304,6 +308,7 @@ public partial interface ISpeechToTextClient /// /// Default Value: false /// + /// /// /// /// Default Value: POST @@ -334,6 +339,7 @@ public partial interface ISpeechToTextClient string url, bool? wordTimestamps = default, bool? diarize = default, + string? keywords = default, string? webhookUrl = default, global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod = default, string? webhookExtra = default, diff --git a/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.Transcribe.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.Transcribe.g.cs index 437fe60..6a424d2 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.Transcribe.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.Transcribe.g.cs @@ -31,6 +31,7 @@ partial void PrepareTranscribeArguments( ref global::SmallestAI.WavesV1SttPostParametersLanguage language, ref bool? wordTimestamps, ref bool? diarize, + ref string? keywords, ref string? webhookUrl, ref global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod, ref string? webhookExtra, @@ -47,6 +48,7 @@ partial void PrepareTranscribeRequest( global::SmallestAI.WavesV1SttPostParametersLanguage language, bool? wordTimestamps, bool? diarize, + string? keywords, string? webhookUrl, global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod, string? webhookExtra, @@ -139,6 +141,7 @@ partial void ProcessTranscribeResponseContent( /// /// Default Value: false /// + /// /// /// /// Default Value: POST @@ -168,6 +171,7 @@ partial void ProcessTranscribeResponseContent( byte[] request, bool? wordTimestamps = default, bool? diarize = default, + string? keywords = default, string? webhookUrl = default, global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod = default, string? webhookExtra = default, @@ -186,6 +190,7 @@ partial void ProcessTranscribeResponseContent( request: request, wordTimestamps: wordTimestamps, diarize: diarize, + keywords: keywords, webhookUrl: webhookUrl, webhookMethod: webhookMethod, webhookExtra: webhookExtra, @@ -274,6 +279,7 @@ partial void ProcessTranscribeResponseContent( /// /// Default Value: false /// + /// /// /// /// Default Value: POST @@ -303,6 +309,7 @@ partial void ProcessTranscribeResponseContent( byte[] request, bool? wordTimestamps = default, bool? diarize = default, + string? keywords = default, string? webhookUrl = default, global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod = default, string? webhookExtra = default, @@ -324,6 +331,7 @@ partial void ProcessTranscribeResponseContent( language: ref language, wordTimestamps: ref wordTimestamps, diarize: ref diarize, + keywords: ref keywords, webhookUrl: ref webhookUrl, webhookMethod: ref webhookMethod, webhookExtra: ref webhookExtra, @@ -365,6 +373,7 @@ partial void ProcessTranscribeResponseContent( .AddRequiredParameter("language", language.ToValueString()) .AddOptionalParameter("word_timestamps", wordTimestamps?.ToString().ToLowerInvariant()) .AddOptionalParameter("diarize", diarize?.ToString().ToLowerInvariant()) + .AddOptionalParameter("keywords", keywords) .AddOptionalParameter("webhook_url", webhookUrl) .AddOptionalParameter("webhook_method", webhookMethod?.ToValueString()) .AddOptionalParameter("webhook_extra", webhookExtra) @@ -427,6 +436,7 @@ partial void ProcessTranscribeResponseContent( language: language!, wordTimestamps: wordTimestamps, diarize: diarize, + keywords: keywords, webhookUrl: webhookUrl, webhookMethod: webhookMethod, webhookExtra: webhookExtra, diff --git a/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.TranscribeWithJson.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.TranscribeWithJson.g.cs index 6254d06..4899328 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.TranscribeWithJson.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.TranscribeWithJson.g.cs @@ -31,6 +31,7 @@ partial void PrepareTranscribeWithJsonArguments( ref global::SmallestAI.WavesV1SttPostParametersLanguage language, ref bool? wordTimestamps, ref bool? diarize, + ref string? keywords, ref string? webhookUrl, ref global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod, ref string? webhookExtra, @@ -47,6 +48,7 @@ partial void PrepareTranscribeWithJsonRequest( global::SmallestAI.WavesV1SttPostParametersLanguage language, bool? wordTimestamps, bool? diarize, + string? keywords, string? webhookUrl, global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod, string? webhookExtra, @@ -139,6 +141,7 @@ partial void ProcessTranscribeWithJsonResponseContent( /// /// Default Value: false /// + /// /// /// /// Default Value: POST @@ -168,6 +171,7 @@ partial void ProcessTranscribeWithJsonResponseContent( global::SmallestAI.TranscriptionUrlRequest request, bool? wordTimestamps = default, bool? diarize = default, + string? keywords = default, string? webhookUrl = default, global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod = default, string? webhookExtra = default, @@ -186,6 +190,7 @@ partial void ProcessTranscribeWithJsonResponseContent( request: request, wordTimestamps: wordTimestamps, diarize: diarize, + keywords: keywords, webhookUrl: webhookUrl, webhookMethod: webhookMethod, webhookExtra: webhookExtra, @@ -274,6 +279,7 @@ partial void ProcessTranscribeWithJsonResponseContent( /// /// Default Value: false /// + /// /// /// /// Default Value: POST @@ -303,6 +309,7 @@ partial void ProcessTranscribeWithJsonResponseContent( global::SmallestAI.TranscriptionUrlRequest request, bool? wordTimestamps = default, bool? diarize = default, + string? keywords = default, string? webhookUrl = default, global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod = default, string? webhookExtra = default, @@ -324,6 +331,7 @@ partial void ProcessTranscribeWithJsonResponseContent( language: ref language, wordTimestamps: ref wordTimestamps, diarize: ref diarize, + keywords: ref keywords, webhookUrl: ref webhookUrl, webhookMethod: ref webhookMethod, webhookExtra: ref webhookExtra, @@ -365,6 +373,7 @@ partial void ProcessTranscribeWithJsonResponseContent( .AddRequiredParameter("language", language.ToValueString()) .AddOptionalParameter("word_timestamps", wordTimestamps?.ToString().ToLowerInvariant()) .AddOptionalParameter("diarize", diarize?.ToString().ToLowerInvariant()) + .AddOptionalParameter("keywords", keywords) .AddOptionalParameter("webhook_url", webhookUrl) .AddOptionalParameter("webhook_method", webhookMethod?.ToValueString()) .AddOptionalParameter("webhook_extra", webhookExtra) @@ -429,6 +438,7 @@ partial void ProcessTranscribeWithJsonResponseContent( language: language!, wordTimestamps: wordTimestamps, diarize: diarize, + keywords: keywords, webhookUrl: webhookUrl, webhookMethod: webhookMethod, webhookExtra: webhookExtra, @@ -1008,6 +1018,7 @@ partial void ProcessTranscribeWithJsonResponseContent( /// /// Default Value: false /// + /// /// /// /// Default Value: POST @@ -1038,6 +1049,7 @@ partial void ProcessTranscribeWithJsonResponseContent( string url, bool? wordTimestamps = default, bool? diarize = default, + string? keywords = default, string? webhookUrl = default, global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod = default, string? webhookExtra = default, @@ -1059,6 +1071,7 @@ partial void ProcessTranscribeWithJsonResponseContent( language: language, wordTimestamps: wordTimestamps, diarize: diarize, + keywords: keywords, webhookUrl: webhookUrl, webhookMethod: webhookMethod, webhookExtra: webhookExtra, diff --git a/src/libs/SmallestAI/openapi.yaml b/src/libs/SmallestAI/openapi.yaml index c646b88..e286e90 100644 --- a/src/libs/SmallestAI/openapi.yaml +++ b/src/libs/SmallestAI/openapi.yaml @@ -670,6 +670,15 @@ "default": false } }, + { + "name": "keywords", + "in": "query", + "description": "Pulse only. Boost recognition of specific words or phrases for\nthis request. The same parameter works on the realtime WebSocket\nendpoint.\n\n**Entry format:** `KEYWORD` or `KEYWORD:INTENSIFIER`, where\n`INTENSIFIER` is a number that defaults to `1`. Example:\n`Blackwell:2,Jensen Huang:2`. Matching is case-sensitive.\nDuplicates: last-wins (`NVIDIA:1,NVIDIA:5` is equivalent to\n`NVIDIA:5`). Max 100 keywords per request; sending more returns\n`400` with `keywords too large (max 100)` in `errors[]`.\n\n**Encodings.** Comma-string (recommended), repeated key\n(`keywords=a&keywords=b`), and bracketed array (`keywords[]=a`)\nare all accepted. A JSON-array literal (`[\"a\",\"b\"]`) does not\nboost. Pass the raw string.\n\n**Intensifier.** Default `1`, recommended `1` to `3`. Above\n`10` is not recommended: higher values increase the chance\nof hallucinating the keyword when it was not spoken. Reuse\nthe same keyword list across requests when the vocabulary\nis stable.\n\nSee [Keyword Boosting](/models/documentation/speech-to-text-pulse/features/keyword-boosting)\nfor the full contract and worked examples.\n", + "required": false, + "schema": { + "type": "string" + } + }, { "name": "webhook_url", "in": "query",