Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ partial void ProcessCreateAccessTokenResponseContent(
/// -H "Content-Type: application/json" \<br/>
/// -d '{"ttl_seconds": 300}'<br/>
/// ```<br/>
/// See the [Authentication guide](/models/api-reference/token-based-authentication)<br/>
/// See the [Authentication guide](/api-reference/token-based-authentication)<br/>
/// for the end-to-end server and client flow.
/// </summary>
/// <param name="request"></param>
Expand Down Expand Up @@ -119,7 +119,7 @@ partial void ProcessCreateAccessTokenResponseContent(
/// -H "Content-Type: application/json" \<br/>
/// -d '{"ttl_seconds": 300}'<br/>
/// ```<br/>
/// See the [Authentication guide](/models/api-reference/token-based-authentication)<br/>
/// See the [Authentication guide](/api-reference/token-based-authentication)<br/>
/// for the end-to-end server and client flow.
/// </summary>
/// <param name="request"></param>
Expand Down Expand Up @@ -700,7 +700,7 @@ partial void ProcessCreateAccessTokenResponseContent(
/// -H "Content-Type: application/json" \<br/>
/// -d '{"ttl_seconds": 300}'<br/>
/// ```<br/>
/// See the [Authentication guide](/models/api-reference/token-based-authentication)<br/>
/// See the [Authentication guide](/api-reference/token-based-authentication)<br/>
/// for the end-to-end server and client flow.
/// </summary>
/// <param name="ttlSeconds">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ partial void ProcessCompleteResponseContent(
/// Tool calling follows OpenAI's `tools` array convention. When you<br/>
/// provide a voice-agent-style system prompt, Electron emits a short<br/>
/// filler phrase in the assistant message `content` field alongside<br/>
/// `tool_calls` — see the [Tool Calling guide](/models/documentation/llm-electron/tool-function-calling)<br/>
/// `tool_calls` — see the [Tool Calling guide](/models/llm/tool-function-calling)<br/>
/// for the voice-agent pattern.<br/>
/// ## Examples<br/>
/// **cURL**<br/>
Expand Down Expand Up @@ -150,7 +150,7 @@ partial void ProcessCompleteResponseContent(
/// Tool calling follows OpenAI's `tools` array convention. When you<br/>
/// provide a voice-agent-style system prompt, Electron emits a short<br/>
/// filler phrase in the assistant message `content` field alongside<br/>
/// `tool_calls` — see the [Tool Calling guide](/models/documentation/llm-electron/tool-function-calling)<br/>
/// `tool_calls` — see the [Tool Calling guide](/models/llm/tool-function-calling)<br/>
/// for the voice-agent pattern.<br/>
/// ## Examples<br/>
/// **cURL**<br/>
Expand Down Expand Up @@ -596,7 +596,7 @@ partial void ProcessCompleteResponseContent(
h => h.Key,
h => h.Value));
}
// Rate limit (RPM) or concurrency cap hit. See [Concurrency and Limits](/models/api-reference/concurrency-and-limits).
// Rate limit (RPM) or concurrency cap hit. See [Concurrency and Limits](/api-reference/concurrency-and-limits).
if ((int)__response.StatusCode == 429)
{
string? __content_429 = null;
Expand Down Expand Up @@ -815,7 +815,7 @@ partial void ProcessCompleteResponseContent(
/// Tool calling follows OpenAI's `tools` array convention. When you<br/>
/// provide a voice-agent-style system prompt, Electron emits a short<br/>
/// filler phrase in the assistant message `content` field alongside<br/>
/// `tool_calls` — see the [Tool Calling guide](/models/documentation/llm-electron/tool-function-calling)<br/>
/// `tool_calls` — see the [Tool Calling guide](/models/llm/tool-function-calling)<br/>
/// for the voice-agent pattern.<br/>
/// ## Examples<br/>
/// **cURL**<br/>
Expand Down Expand Up @@ -901,7 +901,7 @@ partial void ProcessCompleteResponseContent(
/// </param>
/// <param name="stream">
/// When true, response is `text/event-stream`. See the<br/>
/// [Streaming guide](/models/documentation/llm-electron/streaming).<br/>
/// [Streaming guide](/models/llm/streaming).<br/>
/// Default Value: false
/// </param>
/// <param name="streamOptions"></param>
Expand All @@ -911,7 +911,7 @@ partial void ProcessCompleteResponseContent(
/// (`{type: "function", function: {name, description, parameters}}`)<br/>
/// is the recommended form and is what the examples below use.<br/>
/// The wire schema is permissive (`array&lt;object&gt;`) — any tools payload<br/>
/// the upstream accepts will work. See [Tool Calling](/models/documentation/llm-electron/tool-function-calling)<br/>
/// the upstream accepts will work. See [Tool Calling](/models/llm/tool-function-calling)<br/>
/// for details.
/// </param>
/// <param name="toolChoice"></param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public partial interface IAuthClient
/// -H "Content-Type: application/json" \<br/>
/// -d '{"ttl_seconds": 300}'<br/>
/// ```<br/>
/// See the [Authentication guide](/models/api-reference/token-based-authentication)<br/>
/// See the [Authentication guide](/api-reference/token-based-authentication)<br/>
/// for the end-to-end server and client flow.
/// </summary>
/// <param name="request"></param>
Expand Down Expand Up @@ -72,7 +72,7 @@ public partial interface IAuthClient
/// -H "Content-Type: application/json" \<br/>
/// -d '{"ttl_seconds": 300}'<br/>
/// ```<br/>
/// See the [Authentication guide](/models/api-reference/token-based-authentication)<br/>
/// See the [Authentication guide](/api-reference/token-based-authentication)<br/>
/// for the end-to-end server and client flow.
/// </summary>
/// <param name="request"></param>
Expand Down Expand Up @@ -112,7 +112,7 @@ public partial interface IAuthClient
/// -H "Content-Type: application/json" \<br/>
/// -d '{"ttl_seconds": 300}'<br/>
/// ```<br/>
/// See the [Authentication guide](/models/api-reference/token-based-authentication)<br/>
/// See the [Authentication guide](/api-reference/token-based-authentication)<br/>
/// for the end-to-end server and client flow.
/// </summary>
/// <param name="ttlSeconds">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public partial interface IElectronClient
/// Tool calling follows OpenAI's `tools` array convention. When you<br/>
/// provide a voice-agent-style system prompt, Electron emits a short<br/>
/// filler phrase in the assistant message `content` field alongside<br/>
/// `tool_calls` — see the [Tool Calling guide](/models/documentation/llm-electron/tool-function-calling)<br/>
/// `tool_calls` — see the [Tool Calling guide](/models/llm/tool-function-calling)<br/>
/// for the voice-agent pattern.<br/>
/// ## Examples<br/>
/// **cURL**<br/>
Expand Down Expand Up @@ -103,7 +103,7 @@ public partial interface IElectronClient
/// Tool calling follows OpenAI's `tools` array convention. When you<br/>
/// provide a voice-agent-style system prompt, Electron emits a short<br/>
/// filler phrase in the assistant message `content` field alongside<br/>
/// `tool_calls` — see the [Tool Calling guide](/models/documentation/llm-electron/tool-function-calling)<br/>
/// `tool_calls` — see the [Tool Calling guide](/models/llm/tool-function-calling)<br/>
/// for the voice-agent pattern.<br/>
/// ## Examples<br/>
/// **cURL**<br/>
Expand Down Expand Up @@ -190,7 +190,7 @@ public partial interface IElectronClient
/// Tool calling follows OpenAI's `tools` array convention. When you<br/>
/// provide a voice-agent-style system prompt, Electron emits a short<br/>
/// filler phrase in the assistant message `content` field alongside<br/>
/// `tool_calls` — see the [Tool Calling guide](/models/documentation/llm-electron/tool-function-calling)<br/>
/// `tool_calls` — see the [Tool Calling guide](/models/llm/tool-function-calling)<br/>
/// for the voice-agent pattern.<br/>
/// ## Examples<br/>
/// **cURL**<br/>
Expand Down Expand Up @@ -276,7 +276,7 @@ public partial interface IElectronClient
/// </param>
/// <param name="stream">
/// When true, response is `text/event-stream`. See the<br/>
/// [Streaming guide](/models/documentation/llm-electron/streaming).<br/>
/// [Streaming guide](/models/llm/streaming).<br/>
/// Default Value: false
/// </param>
/// <param name="streamOptions"></param>
Expand All @@ -286,7 +286,7 @@ public partial interface IElectronClient
/// (`{type: "function", function: {name, description, parameters}}`)<br/>
/// is the recommended form and is what the examples below use.<br/>
/// The wire schema is permissive (`array&lt;object&gt;`) — any tools payload<br/>
/// the upstream accepts will work. See [Tool Calling](/models/documentation/llm-electron/tool-function-calling)<br/>
/// the upstream accepts will work. See [Tool Calling](/models/llm/tool-function-calling)<br/>
/// for details.
/// </param>
/// <param name="toolChoice"></param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ public partial interface ISpeechToTextClient
/// Transcribe (Pre-recorded)<br/>
/// Transcribe an audio file. The model is chosen via `?model=`:<br/>
/// - `?model=pulse-pro`: English-only, leaderboard-ranked accuracy. Raw bytes only; pass `webhook_url` to receive transcription asynchronously on long files.<br/>
/// - `?model=pulse`: multilingual transcription (21 streaming + 26 pre-recorded languages), supports both raw bytes and audio-by-URL.<br/>
/// - `?model=pulse`: multilingual transcription (21 streaming + 12 pre-recorded languages), supports both raw bytes and audio-by-URL.<br/>
/// ## When to use this<br/>
/// Use this endpoint when you have a complete audio file (call recording, voicemail, podcast episode) and want the transcript back in one response. For live transcription as audio arrives, use the realtime WebSocket endpoint (`WS /waves/v1/stt/live`) instead.<br/>
/// Pulse Pro has no streaming worker today; calls to `WS /waves/v1/stt/live?model=pulse-pro` return `400` before the WebSocket upgrades.<br/>
/// Use this endpoint when you have a complete audio file (call recording, voicemail, podcast episode) and want the transcript back in one response. For live transcription as audio arrives, use the realtime WebSocket endpoint (`WS /waves/v1/stt/live?model=pulse`).<br/>
/// Pulse Pro is HTTP-only.<br/>
/// ## Input methods<br/>
/// - **Raw bytes**: `Content-Type: application/octet-stream` with the audio in the body. All knobs are query parameters.<br/>
/// - **URL (`?model=pulse` only)**: `Content-Type: application/json` with `{"url": "..."}` in the body.<br/>
Expand Down Expand Up @@ -66,9 +66,8 @@ public partial interface ISpeechToTextClient
/// ```<br/>
/// ## Common gotchas<br/>
/// - **`model` is required.** Missing or invalid values return `400` with an enum-validation error.<br/>
/// - **Pulse Pro is English only.** Pass `language=en`. Other language codes are accepted at the wire level but produce unpredictable output.<br/>
/// - **Pulse Pro does not support audio-by-URL.** Send raw bytes or use `?model=pulse` for the URL flow.<br/>
/// - **Max payload 250 MB.** Larger requests return `413`. Compress to mono 16 kHz PCM if you are close to the limit; quality is unaffected.
/// - **Pulse Pro is English only.** Pass `language=en`. Any other value returns `400 invalid_enum_value` (`Expected 'en', received '&lt;x&gt;'`).<br/>
/// - **Pulse Pro does not support audio-by-URL.** Send raw bytes or use `?model=pulse` for the URL flow.
/// </summary>
/// <param name="model"></param>
/// <param name="language"></param>
Expand Down Expand Up @@ -103,11 +102,11 @@ public partial interface ISpeechToTextClient
/// <exception cref="global::SmallestAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::SmallestAI.SpeechToTextTranscribeResponse200> TranscribeAsync(
global::SmallestAI.WavesV1SttPostParametersModel model,
global::SmallestAI.WavesV1SttPostParametersLanguage language,

byte[] request,
bool? wordTimestamps = default,
bool? diarize = default,
global::SmallestAI.WavesV1SttPostParametersLanguage? language = default,
global::SmallestAI.WavesV1SttPostParametersWordTimestamps? wordTimestamps = default,
global::SmallestAI.WavesV1SttPostParametersDiarize? diarize = default,
string? keywords = default,
string? webhookUrl = default,
global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod = default,
Expand All @@ -123,10 +122,10 @@ public partial interface ISpeechToTextClient
/// Transcribe (Pre-recorded)<br/>
/// Transcribe an audio file. The model is chosen via `?model=`:<br/>
/// - `?model=pulse-pro`: English-only, leaderboard-ranked accuracy. Raw bytes only; pass `webhook_url` to receive transcription asynchronously on long files.<br/>
/// - `?model=pulse`: multilingual transcription (21 streaming + 26 pre-recorded languages), supports both raw bytes and audio-by-URL.<br/>
/// - `?model=pulse`: multilingual transcription (21 streaming + 12 pre-recorded languages), supports both raw bytes and audio-by-URL.<br/>
/// ## When to use this<br/>
/// Use this endpoint when you have a complete audio file (call recording, voicemail, podcast episode) and want the transcript back in one response. For live transcription as audio arrives, use the realtime WebSocket endpoint (`WS /waves/v1/stt/live`) instead.<br/>
/// Pulse Pro has no streaming worker today; calls to `WS /waves/v1/stt/live?model=pulse-pro` return `400` before the WebSocket upgrades.<br/>
/// Use this endpoint when you have a complete audio file (call recording, voicemail, podcast episode) and want the transcript back in one response. For live transcription as audio arrives, use the realtime WebSocket endpoint (`WS /waves/v1/stt/live?model=pulse`).<br/>
/// Pulse Pro is HTTP-only.<br/>
/// ## Input methods<br/>
/// - **Raw bytes**: `Content-Type: application/octet-stream` with the audio in the body. All knobs are query parameters.<br/>
/// - **URL (`?model=pulse` only)**: `Content-Type: application/json` with `{"url": "..."}` in the body.<br/>
Expand Down Expand Up @@ -181,9 +180,8 @@ public partial interface ISpeechToTextClient
/// ```<br/>
/// ## Common gotchas<br/>
/// - **`model` is required.** Missing or invalid values return `400` with an enum-validation error.<br/>
/// - **Pulse Pro is English only.** Pass `language=en`. Other language codes are accepted at the wire level but produce unpredictable output.<br/>
/// - **Pulse Pro does not support audio-by-URL.** Send raw bytes or use `?model=pulse` for the URL flow.<br/>
/// - **Max payload 250 MB.** Larger requests return `413`. Compress to mono 16 kHz PCM if you are close to the limit; quality is unaffected.
/// - **Pulse Pro is English only.** Pass `language=en`. Any other value returns `400 invalid_enum_value` (`Expected 'en', received '&lt;x&gt;'`).<br/>
/// - **Pulse Pro does not support audio-by-URL.** Send raw bytes or use `?model=pulse` for the URL flow.
/// </summary>
/// <param name="model"></param>
/// <param name="language"></param>
Expand Down Expand Up @@ -218,11 +216,11 @@ public partial interface ISpeechToTextClient
/// <exception cref="global::SmallestAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::SmallestAI.AutoSDKHttpResponse<global::SmallestAI.SpeechToTextTranscribeResponse200>> TranscribeAsResponseAsync(
global::SmallestAI.WavesV1SttPostParametersModel model,
global::SmallestAI.WavesV1SttPostParametersLanguage language,

byte[] request,
bool? wordTimestamps = default,
bool? diarize = default,
global::SmallestAI.WavesV1SttPostParametersLanguage? language = default,
global::SmallestAI.WavesV1SttPostParametersWordTimestamps? wordTimestamps = default,
global::SmallestAI.WavesV1SttPostParametersDiarize? diarize = default,
string? keywords = default,
string? webhookUrl = default,
global::SmallestAI.WavesV1SttPostParametersWebhookMethod? webhookMethod = default,
Expand Down
Loading
Loading