Can I include two knowledge bases on my chatbot?
# 🤝help
r
I want to include two knowledge bases each with a different language, the problem I am having is that the answer retrieved is in the other language format
f
Hey there, You can turn on the translator agent, which will translate every message to the desired language
r
I already updated two knowledge bases with two different languages based on the user's earlier selection so I need each knowledge base to be accessed exclusively through its flow logic
f
You can pick a specific KB to query on the card
r
I have did it but at certain questions it replies from the other knowledge base eventhough I have selected only one data base to look the question
f
How do you know that it answers from the other KB?
r
Because it answers in the other language
f
An LLM is generating the answer. That is most likely why its answering in another language. That is why the Translator agent is recommended. You can also try to use the "Query Knowledge Bases" card with a custom query
r
I tried to use the query knowledge base, in the node i started with a question card and stored it in a variable then an always transition, then query knowledge base with the stored question variable, then stored the answer, and at the last added text card with the answer variable, it didn't work and it sounds I built it stupid
f
The Translator agent would fix this issue and its built for just translating messages, which makes it perfect!
r
Thanks alot
f
You are very welcome!
10 Views