API Reference - WebSocket Streaming to Models#
src
#
intentional_websocket
#
Init file for intentional_websocket
.
__about__
#
Package descriptors for intentional-websocket-streaming.
bot_structure
#
Websocket bot structure for Intentional.
WebsocketBotStructure
#
Bases: ContinuousStreamBotStructure
Bot structure implementation for OpenAI's Realtime API and similar direct, continuous streaming LLM APIs.
Source code in plugins/intentional-websocket/src/intentional_websocket/bot_structure.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
|
__init__(config, intent_router)
#
Parameters:
Name | Type | Description | Default |
---|---|---|---|
config
|
Dict[str, Any]
|
The configuration dictionary for the bot structure. |
required |
Source code in plugins/intentional-websocket/src/intentional_websocket/bot_structure.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
|