Is there an API to start a chat session based on a specific notebook?
Hi! I’ve successfully installed the project and everything is working correctly.
I’d like to know if there is an API available to start a new chat session based on a specific notebook, send questions, and receive answers in the context of that notebook and session.
My goal would be something like:
Select or create a specific notebook
Start a new chat session attached to it
Send questions programmatically via API
Receive responses in the context of that notebook
Does this functionality already exist, or is it planned for the future?
Thanks in advance!
It's been built as we speak for new front-end. How do you envision selecting documents for context? Let the LLM decide or specify doc ids?
Hi lfnovo, I think the context/knowledge base to the API asked for FelipeVeiga will be all the docs of the notebook selected. I was trying to do a "multitenancy" interface (each group of users can access only a notebook) and this will be fantastic if implemented.