Conversation flow agent allows you to create multiple nodes to handle different scenarios in the conversation. It provides more fine-grained control over the conversation flow compared to single / multi prompt agent, which unlocks the ability to handle more complex scenarios.

Components

  • Global Settings: Global settings are settings that apply to the entire conversation. For example, you can set the global prompt, default voice, language, and other agent related settings here.
  • Node: A node is a basic unit of conversation flow. There’s multiple types of nodes. A node can define how to interact with user, how to make function calls, and many other settings.
  • Edge: An edge is a connection between two nodes. It defines the conditions for transitioning from one node to another.
  • Functions: Define functions used by this agent, and select them in individual function nodes.

How it Works

Every node defines a small set of logic, and the transition condition is used to determine which node to transition to. Once the condition is met when checked, the agent will transition to the next node. There are also finetune examples on nodes that can help you further improve the performance. It might take longer to set up, as you want to cover all the scenarios, but after that it’s much easier to maintain and the performance is more stable and predictable.

Quickstart

Head to the Dashboard, create a new conversation flow agent and select a pre-built template to get started. You can view all options available to the agent within the Dashboard, with details of the options and any lantency implications listed there. You can also view the estimated latency and cost of the agent. Modify the template to your needs, all changes are auto saved.

Pricing

Since the choice of model can be overriden within individual nodes, the pricing for each call is calculated based on how many seconds spent within each node * the model price per second for that node, and aggregated across all nodes.