RealtimeClientProtocolName | Description |
---|---|
*args | |
**kwargs |
Name | Description |
---|---|
llm_config | The config for the client. Type: LLMConfig | dict[str, typing.Any] |
logger | The logger to use for logging events. Type: logging.Logger |
**kwargs | Additional arguments. Type: Any |
Type | Description |
---|---|
Callable[[], RealtimeClientProtocol] | None | RealtimeClientProtocol: The Realtime API client is returned if the model matches the pattern |
Name | Description |
---|---|
audio | The audio to send. Type: str |
Name | Description |
---|---|
call_id | The ID of the function call. Type: str |
result | The result of the function call. Type: str |
Name | Description |
---|---|
role | The role of the message. Type: Literal[‘user’, ‘assistant’, ‘system’] |
text | The text of the message. Type: str |
Name | Description |
---|---|
session_options | The session options to update. Type: dict[str, typing.Any] |
Name | Description |
---|---|
audio_end_ms | The end of the audio to truncate. Type: int |
content_index | The index of the content to truncate. Type: int |
item_id | The ID of the item to truncate. Type: str |