how can I give access for AI cards to directly rea...
# 🤝help
b
how can I give access for AI cards to directly read info from KBs, without prepared answer from KBs. I have problem with directed answer for users question using KBs, and there I can't set prompt(personality) for this answer and it gives some issues with that answer. And another way how I wanted to do it, by using query knowledge base, but unfortunately it also gives ready answer without prompting(in prompt I store instructions about length of answer, and when it takes ready answer from KBs it just rewrites it). Then I found {{turn.KnowledgeAgent.citations}} feature, it gives me needed documents where stored answer for question, and when I use it AI card can't read the stored data in document.
f
The only cards that can do RAG are the Query Knowledge Bases card and the Capture Information cards. You can give the result from one of them to the AI cards, but it is not possible to connect them to the KB. If you have a very small KB you can give the AI cards the text in your KB.
b
And there is no way to set pre prompt for answers from KBs? I mean for answer first of all comes prompt and then info from KBs, and then it stores answer with my prompt.
f
You can make a custom query with the Query Knowledge Bases card, but you can't edit the settings like chunk size, amount of chunks etc. You can't change the prompt to the LLM that is generating a response based on the chunks and the query.
b
Okay, thanks for explaining, appreciate it
f
You are very welcome
2 Views