deepgram.clients.agent.v1

 1# Copyright 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
 5# common websocket
 6from ...common import (
 7    OpenResponse,
 8    CloseResponse,
 9    UnhandledResponse,
10    ErrorResponse,
11)
12
13# websocket
14from .websocket import AgentWebSocketClient, AsyncAgentWebSocketClient
15
16from .websocket import (
17    #### common websocket response
18    BaseResponse,
19    OpenResponse,
20    CloseResponse,
21    ErrorResponse,
22    UnhandledResponse,
23    #### unique
24    WelcomeResponse,
25    SettingsAppliedResponse,
26    ConversationTextResponse,
27    UserStartedSpeakingResponse,
28    AgentThinkingResponse,
29    FunctionCalling,
30    FunctionCallRequest,
31    AgentStartedSpeakingResponse,
32    AgentAudioDoneResponse,
33    InjectionRefusedResponse,
34)
35
36from .websocket import (
37    # top level
38    SettingsConfigurationOptions,
39    UpdateInstructionsOptions,
40    UpdateSpeakOptions,
41    InjectAgentMessageOptions,
42    FunctionCallResponse,
43    AgentKeepAlive,
44    # sub level
45    Listen,
46    Speak,
47    Header,
48    Item,
49    Properties,
50    Parameters,
51    Function,
52    Provider,
53    Think,
54    Agent,
55    Input,
56    Output,
57    Audio,
58    Context,
59)