How to use Content Assistant March 12, 2024 12:24 Updated Index: Introduction Consult Content Assistant in the flow Introduction You can customize responses provided by your chatbot using the trained Artificial Intelligence model. Here's how it works: for each custom response, you can register combinations of intents and entities. When they are identified, Blip fills a variable with the content of the response. Then, just place the variable in the corresponding block! But before that, it's important to validate a few points: 1. Connect the provider 2. Create intents and entities 4. Train and test the model 6. Publish the model There you go! Now you ensure that it's connected and functioning. 😀 Now we can use the content assistant because once your model is correct, certainly the combinations of the Content Assistant can be too. For this, you should follow the steps below: 1. Click on Artificial Intelligence > Content Assistant > New Content: 2. Your content needs a title and a response; 3. Create at least one combination for the corresponding response; Remember to save it! 4. Test the return of your combination: 4.1 Go to the Publishing screen: 4.2 With your model already trained and published, click on “Test AI Model”: 4.3 Send a sentence that matches the intention and entity registered in the combination you want to verify the return. The title and answer registered when creating the combination (step 2) will return just below the entities. Now, it’s time to make your chatbot flow display this response when requested. Assistant Content Consultant in the flow The action Consult Content Assistant will be greatly useful for cases where it is desirable to handle the user's message before sending it for AI analysis. Follow the steps below: In the Builder actions, select the option “Consult Content Assistant”; On the action screen, we will have 3 fields: Variable (mandatory): variable with the content to be sent for analysis, remembering that variables need to be inserted between two curly brackets, for example: {{variable}}. Variable for the return value (mandatory): variable to store the return of the analysis. AI Reliability (optional): minimum score configuration to be considered for displaying a response. If the field is left blank, the value specified in the general settings of the bot will be used in the query. After the analysis, the return will be in the following structure: js{"HasCombination": {{has_combination}}, //bool that says if has combination"Value":{{response_content}}, //found response content"Intent": {{intent_found_name}}, //name of found intent"Entities": [] //list of found entities} To display the response, simply use the variable in the corresponding block: If you have correctly configured the content assistant as per the above guidance and responses are not being returned, check the following information: 1. Is your model correct? 2. Is the registered combination present? 3. What is the NLP reliability percentage? For more information, visit the discussion on this topic in our community or watch the videos on our channel. 😃 Related articles Setting up your AI model in the Chatbot Creating entities and intents How to import/export a knowledge base How to improve my AI model How to verify the AI provider settings