KB and AI Loop Workflow
I feel like I'm probably missing something basic but after watching multiple KB and AI Task Videos I am still running into issues and running out of ideas of how to make it work.
The idea:
Have the user be able to chat with the bot but have the bot check the KB for answers before dropping down to the AI Task
My Layout
How I have it:
1. User Inputs Raw text
2. Bot checks if knowledge base can answer the raw input or not
3a. If it can be answered by Knowledge base it goes to KB_Answer_Found node
3.b If an answer is not found in Knowledge base it goes to the No_KB_Found_Ask_AI node
4. Then the one (3a or 3b who has the answer) loops back to the beginning to continue the conversation the variable worflow.aiResponse.
Everything works well until step 4 the Loopback to allow user to continue the chat then responses start doubling