What are Intents?
Intents help the chatbot understand user intentions and actions. Each intent corresponds to a specific task or response the chatbot can handle. For instance, if a user asks, “What’s the weather like today?” the chatbot recognizes the intent as “asking about the weather” and responds accordingly.
Step-by-Step Process to Create and Use Intents
Step 1: Access the Intents Section
Open the Studio: Launch YourGPT Chatbot Studio.
Navigate to the Model Page: Locate the Intents option in the sidebar and click on it.
Add Intent: Click the Add Intent button.
Step 2: Create a New Intent
Name Your Intent: In the popup, enter a clear, descriptive name for your intent that captures the user’s task or intention. For example, order_status or book_appointment.
Describe Your Intent: Write a concise description that serves as instructions for the AI. This description should specify when the intent should trigger. For example, for the book_appointment intent, you could write: “When a user wants to book an appointment.”
Step 3: Add Entities (Optional)
You can add relevant entities to your intent, such as email, name, etc. For more information on entities, refer to the Entities Documentation.
Step 5: Create the Intent
Finalize Your Intent: Click Create Intent. Your intent is now ready for use.
Review Existing Intents:
Familiarize yourself with the default intents listed here. Reviewing their names and descriptions will give you a better understanding of how intents function.
Step 6: Use the Intent in a Scenario
Access Scenarios: Go to your scenarios within the Studio.
Drag and Drop the Intent Node: Place the intent node onto the canvas.
Assign the Created Intent: Click on the intent node and select the book_appointment intent you created.
Step 7: Connect Further Nodes
Now that you have an entry point for your intent, you can connect additional nodes to this entry point as needed to create a complete flow.
Step 8: Test Your Intent
Use the emulator to test your intent. Refine its description to ensure it works as intended based on user interactions.
Additional Resources:
For more information on structuring effective intents, check out the video guide below or visit the Intents Documentation.
Related Articles
How to Debug Flows and View Execution Logs in Chatbot Studio?
Learn how to debug your flows, check flow execution logs, and view logs within the Chatbot Studio
Flow : Scenarios, Blocks, Steps & Connections
This article fully details how steps/nodes and blocks work, how to configure them, create paths and connections.
How to make API calls with dynamic parameters.
This guide explains how to use the API Call node in the Chatbot Studio, including handling dynamic API parameters using flow variables.
How do I make my Flow or Studio changes live?
This article provides a complete guide on how to publish your flows live to your chatbot.
How to capture and store a user’s response?
This article provides a complete guide on capturing user responses, such as name, email, and more, and shows how to store and utilize them in your chatbot to create personalized and engaging experiences.
How to use Actions in Chatbot Studio?
This guide explains how actions work in YourGPT Chatbot Studio, how to trigger them within your flows, and what actions are available.