Deepgram.Client (Deepgram v0.1.0)
View SourceMain client for interacting with the Deepgram API.
This module provides the main client interface and delegates to specific service modules for different API endpoints.
Summary
Functions
Returns the Agent service module for AI agent operations.
Returns the configuration for the client.
Returns the Listen service module for speech-to-text operations.
Returns the Manage service module for project and key management.
Creates a new Deepgram client.
Returns the Read service module for text intelligence operations.
Returns the Speak service module for text-to-speech operations.
Types
Functions
Returns the Agent service module for AI agent operations.
@spec config(t()) :: Deepgram.Config.t()
Returns the configuration for the client.
Returns the Listen service module for speech-to-text operations.
Returns the Manage service module for project and key management.
@spec new(Deepgram.Config.t()) :: t()
Creates a new Deepgram client.
Parameters
config
- ADeepgram.Config
struct containing configuration options.
Examples
iex> config = Deepgram.Config.new(api_key: "your-api-key")
iex> client = Deepgram.Client.new(config)
%Deepgram.Client{...}
Returns the Read service module for text intelligence operations.
Returns the Speak service module for text-to-speech operations.