A knowledge base can have multiple files. Where we can give tag to individual file.
This knowledge base is attached to an assistant using Tools option. The tool option allows filtering option from knowledge base, so that only subset of files would be used when providing context to model.
I have created web-bot from this assistant and everything is working good.
Problem 1: I am not able to change this filter option dynamically based on user who is interacting the website’s chatbot. Is there a way like using API?
Suppose knowledge base has 3 files one for each user and model should consider using only respective file for each user. Is this possible? Because in assistant’s tool option the filter option has been set as seen in image and can’t be changed dynamically. So every user would get same answer from file.
Problem 2: https://support.flowxo.com/article/325-updating-a-knowledge-base-via-api from this API endpoint how can I change these files’ filter or add new?