|
1 | 1 | ---
|
2 | 2 | title: AI Conditions
|
3 |
| -subtitle: Dynamic AI-driven branching in workflows |
| 3 | +subtitle: Smart workflow branching powered by AI |
4 | 4 | slug: /workflows/edges/ai-conditions
|
5 | 5 | ---
|
6 | 6 |
|
7 | 7 | ## Overview
|
8 | 8 |
|
9 |
| -The **AI Conditions** feature leverages artificial intelligence to determine the next step in your workflow based on conversation context. Unlike traditional logical conditions—which rely on explicit rules—AI Conditions allow your voice agent to evaluate complex or ambiguous scenarios, making branching decisions dynamically. |
| 9 | +AI Conditions use artificial intelligence to decide the next step in your workflow based on the conversation. Instead of using fixed rules, they can understand complex situations and make smart decisions in real-time. |
10 | 10 |
|
11 | 11 | ## How It Works
|
12 | 12 |
|
13 |
| -- **Contextual Evaluation:** The AI considers data from previous steps (e.g., user input, API responses) to gauge the conversation context. |
14 |
| -- **Adaptive Decision-Making:** It uses its judgment to choose the most appropriate branch without relying solely on fixed comparisons. |
15 |
| -- **Seamless Integration:** AI Conditions can complement existing logical conditions, offering a balance between predictable rules and adaptive behavior. |
| 13 | +1. The AI looks at the conversation history and context |
| 14 | +2. It makes a smart decision about which path to take, based on variables collected from Gather verbs and data returned from API requests. |
| 15 | +3. Works alongside your existing rules for maximum flexibility |
16 | 16 |
|
17 |
| -## Configuration |
18 | 17 |
|
19 |
| -- **Activation:** Enable AI Conditions on a condition node where you want the AI to drive the branching logic. |
20 |
| -- **Context Input:** The AI will utilize variables collected from Gather verbs and data returned from API requests. |
21 |
| -- **Decision Logic:** No manual rules are required—the AI interprets context in real time to select the optimal branch. |
22 |
| -- **Fallback:** You can combine AI Conditions with traditional logical conditions for added control. |
| 18 | +## Configuration |
| 19 | +- **Condition Node:** Start by inserting a condition node into your workflow. |
| 20 | +- **Branch Setup:** Attach one or more nodes to the condition node. |
| 21 | +- **AI Tag:** Click on the connecting edge and choose `AI` from the `Condition Type` dropdown |
| 22 | +- **AI Condition** Use the input to define when the chosen branch should be taken. |
23 | 23 |
|
24 | 24 | ## Usage
|
25 | 25 |
|
26 |
| -Deploy AI Conditions when your workflow requires flexibility and context-sensitive decision-making, such as: |
27 |
| - |
28 |
| -- Handling ambiguous or multi-faceted user responses. |
29 |
| -- Addressing scenarios where strict rules may not capture the conversation's nuances. |
30 |
| -- Enhancing the user experience by providing more natural, human-like interactions. |
31 |
| - |
32 |
| -For detailed configuration instructions and best practices, please refer to our dedicated documentation on AI-driven workflows. |
| 26 | +Use AI Conditions when you need: |
| 27 | +- To handle unclear or complex user responses |
| 28 | +- More flexibility than traditional rules can provide |
| 29 | +- More natural, human-like conversations |
0 commit comments