LLM Flows (llm.co)#
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 an 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
# Generate a flow that continues the current interaction
flow llm generate interaction continuation flow -> $flow_name
Interaction History Logging
Flows to log interaction history to created required context for LLM prompts.
# Activate all automated user and bot intent flows logging based on flow naming
flow automating intent detection
# Marking user intent flows using only naming convention
flow marking user intent flows
# Generate user intent logging for marked flows that finish by themselves
flow logging marked user intent flows
# Marking bot intent flows using only naming convention
flow marking bot intent flows
# Generate user intent logging for marked flows that finish by themselves
flow logging marked bot intent flows
State Tracking Flows
These are flows that track bot and user states in global variables.
# Track most recent unhandled user intent state in global variable $user_intent_state
flow tracking unhandled user intent state