View Source HipcallDeepgram (HipcallDeepgram v0.4.0)

Provides API wrappers for Deepgram API

See https://developers.deepgram.com/reference/deepgram-api-overview for further info on REST endpoints

Summary

Functions

Link to this function

listen(audio_url, options, config \\ %Config{})

View Source
@spec listen(
  audio_url :: binary(),
  options :: keyword(),
  config :: map()
) :: {:ok, map()} | {:error, map()} | {:error, any()}

Listen endpoint

For more information https://developers.deepgram.com/reference/listen-file

Examples

iex> audio_url = "https://static.deepgram.com/examples/Bueller-Life-moves-pretty-fast.wav"
iex> option = [model: "base", language: "tr"]
iex> HipcallDeepgram.listen(audio_url, option)

Arguments

  • audio_url
  • options
  • config

Options

Raises

Returns

  • {:ok, Finch.Response.t()}

  • {:error, Exception.t()}