All 1 bot messages are in user language (nl), not ...
# 🤝help
m
Hi Guys, I'm new to the community. I am building an assistant for a recruitment company. At the moment I am trying to solve a problem which occurs when the AI pulls information from the knowledge base (see screenshot). The question asked is: "what vacancies are available?" The bot is checking the knowledge base for the open job posts, when it delivers the results, this error is coming up and the conversation is ending: Error executing card "card:" in flow:Main:node:Ai_knowledge All 1 bot messages are in user language (nl), not translating Falling back to Workflow Error I assume something to do with translation, but I am not sure. Tried several things but I can't solve the problem. What can you advise me to do/change? Thanks in advance. Sedat https://cdn.discordapp.com/attachments/1253317457184034876/1253317457389686824/Schermafbeelding_2024-06-20_135534.png?ex=66756a57&is=667418d7&hm=05f9c071b65332919d9d8125f25485e1bd886b460a86182ea1ed15f837a3f201&
c
hello there, can you show your botpress log ?
m
What I want to create is a node (based on AI Task, or just raw input, doesn't matter) which allows the user to ask questions based on the knowledge base.
c
gotcha, for your usecase I would recommend watching some of the Botpress tutorials regarding "knowledge base" retrieval Q&A. You can start with e.g. :

https://www.youtube.com/watch?v=1EVE2jlFgOc

(many different ones on youtube)
instead of one of the "capture card" (with KB enabled) you can use the "Query Knowledge Base card" instead but for that Id recommend you get familiar with variables first
m
Thanks for the video, I'll watch it right away. Regarding the Query Knowledge Base card, I understood that this card is checking the knowledge base but is not showing any response after finding the answer? Or is that something which can be changed or modified? I watched one of your tutorials, where you advise to use the AI Task card to pull information from the knowledge base. It works until I ask the bot the show me a list of the open job posts. Don't you think the Query Knowledge Base card is not useful in this case?
Again, it keeps showing this error:
So it pulls the data, shows it, which is great. After that it gives an error and ends the conversation.
c
can you show us : - the output log - your node-stack (what prompts have you used your KB / AI nodes with ? ) Your right that the QueryKB node does not display any results by itself, you would need to store it inside a variable and display that variable within a text card using {{workflow.variable}} (which displays the contents)