deepgram.clients.agent

 1# Copyright 2023-2024 Deepgram SDK contributors. All Rights Reserved.
 2# Use of this source code is governed by a MIT license that can be found in the LICENSE file.
 3# SPDX-License-Identifier: MIT
 4
 5from .enums import AgentWebSocketEvents
 6
 7# websocket
 8from .client import (
 9    AgentWebSocketClient,
10    AsyncAgentWebSocketClient,
11)
12
13from .client import (
14    #### common websocket response
15    OpenResponse,
16    CloseResponse,
17    ErrorResponse,
18    UnhandledResponse,
19    #### unique
20    WelcomeResponse,
21    SettingsAppliedResponse,
22    ConversationTextResponse,
23    UserStartedSpeakingResponse,
24    AgentThinkingResponse,
25    FunctionCalling,
26    FunctionCallRequest,
27    AgentStartedSpeakingResponse,
28    AgentAudioDoneResponse,
29    InjectionRefusedResponse,
30)
31
32from .client import (
33    # top level
34    SettingsConfigurationOptions,
35    UpdateInstructionsOptions,
36    UpdateSpeakOptions,
37    InjectAgentMessageOptions,
38    FunctionCallResponse,
39    AgentKeepAlive,
40    # sub level
41    Listen,
42    Speak,
43    Header,
44    Item,
45    Properties,
46    Parameters,
47    Function,
48    Provider,
49    Think,
50    Agent,
51    Input,
52    Output,
53    Audio,
54    Context,
55)