Documentation
¶
Overview ¶
Command flows is a headless jargo voice backend driven by a conversation flow.
It runs a short, structured coffee order: the assistant greets the caller, moves on once they are ready, asks which drink and what size, records the order with a tool call, confirms it and stops. The conversation graph lives in the flows package; the transitions are driven by the tools the assistant calls, not by branching prompt text.
Like the other voice examples this is a server only: it exposes the WebRTC signaling endpoint POST /offer and no web UI. Point a browser client at it (the nextjs-voicebot example in gojargo/jargo-client-react, with NEXT_PUBLIC_JARGO_URL=http://localhost:8080).
DEEPGRAM_API_KEY=… ANTHROPIC_API_KEY=… ELEVENLABS_API_KEY=… go run ./examples/flows
Directories
¶
| Path | Synopsis |
|---|---|
|
Command food_ordering is a food ordering flow whose conversation paths are decided at run time.
|
Command food_ordering is a food ordering flow whose conversation paths are decided at run time. |
|
Command food_ordering_advanced_functionschema is the food ordering flow with each node function's schema written out by hand.
|
Command food_ordering_advanced_functionschema is the food ordering flow with each node function's schema written out by hand. |
|
Command hello_world is a "Hello world" introduction to conversation flows.
|
Command hello_world is a "Hello world" introduction to conversation flows. |
|
Command multi_worker_handoff composes conversation flows with multiple workers: a free-form LLM router and a structured flow worker.
|
Command multi_worker_handoff composes conversation flows with multiple workers: a free-form LLM router and a structured flow worker. |
|
Package utils holds the helper the flows examples share, which keeps them focused on the flow itself.
|
Package utils holds the helper the flows examples share, which keeps them focused on the flow itself. |
|
yaml
|
|
|
food_ordering
command
Command food_ordering is the food ordering flow, configured from YAML at run time.
|
Command food_ordering is the food ordering flow, configured from YAML at run time. |
|
hello_world
command
Command hello_world is a "Hello world" introduction to conversation flows, with the flow in YAML.
|
Command hello_world is a "Hello world" introduction to conversation flows, with the flow in YAML. |
|
podcast_interview
command
Command podcast_interview is the podcast interview flow, configured from YAML at run time.
|
Command podcast_interview is the podcast interview flow, configured from YAML at run time. |
|
restaurant_reservation
command
Command restaurant_reservation is the restaurant reservation flow, configured from YAML at run time.
|
Command restaurant_reservation is the restaurant reservation flow, configured from YAML at run time. |