LLM Flows
LLM Enabled Bot Actions
bot say something like $text
Trigger a bot utterance similar to given text
Example:
LLM Utilities
polling llm request response $interval=1.0
Start response polling for all LLM related calls to receive the LLM responses and act on that
Example:
Interaction Continuation
Flow that will continue the current interaction for unhandled user actions/intents or undefined flows.
llm continuation
Activate all LLM based interaction continuations
Example:
generating user intent for unhandled user utterance
Generate a user intent event (finish flow event) for unhandled user utterance
Example:
unhandled user intent -> $intent
Wait for the end of a user intent flow
Example:
continuation on unhandled user intent
Generate and start new flow to continue the interaction for an unhandled user intent
Example:
continuation on undefined flow
Generate and start a new flow to continue the interaction for the start of an undefined flow
Example:
llm continue interaction
Generate and continue with a suitable interaction
Example:
More Advanced Flows
This section describes more advanced flows defined in the llm.co library. When you get started with Colang, you most
likely will not need to directly use these flows. These flows exist to support more advanced use cases.
Advanced Interaction Continuation
Flows with more advanced LLM-based continuations
Interaction History Logging
Flows to log interaction history to create required context for LLM prompts.
State Tracking Flows
These are flows that track bot and user states in global variables.