LLMHelper
Helper for interacting with an LLM service.
Types
Functions
Link copied to clipboard
fun appendToMessages(message: LLMContextMessage, runImmediately: Boolean = false): Future<Unit, VoiceError>
Append a new message to the LLM context.
Link copied to clipboard
Returns the bot's current LLM context. Bot must be in the ready state.
Link copied to clipboard
Returns a list of message types supported by this helper. Messages received from the backend which have these types will be passed to handleMessage.
Link copied to clipboard
Handle a message received from the backend.
Link copied to clipboard
Update the bot's LLM context.