Rust client for Deepgram pre-recorded audio transcription API.
// Source: https://github.com/deepgram/deepgram-rust-sdk | License: MIT | Copyright 2022 Deepgram
// Provided via justclaw.it.com; keep this notice with the code.
//! Types used for pre-recorded audio transcription.
//!
//! See the [Deepgram API Reference][api] for more info.
//!
//! [api]: https://developers.deepgram.com/api-reference/#transcription-prerecorded
use reqwest::RequestBuilder;
use url::Url;
use crate::common::audio_source::AudioSource;
use crate::{send_and_translate_response, Transcription};
use crate::common::batch_response::{CallbackResponse, Response};
use crate::common::options::{Options, SerializableOptions};
static DEEPGRAM_API_URL_LISTEN: &str = "v1/listen";
impl Transcription<'_> {
/// Sends a request to Deepgram to transcribe pre-recorded audio.
/// If y
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key