Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Addition of Chatbot to Website [Idea]
This PR adds a documentation-assist chatbot to the website with LLM + RAG. It is intended to help users; especially those new to programming with barrier in heavy API docs to navigate the docs more easily. The chatbot also supports multilingual queries which can be helpful.
DEMO
Setup Instructions (Demo-Ready)
A working demo is available with minimal setup. To try it locally:
API Keys
Get free-tier API keys for: Groq and Pinecone
Add these keys to both
infer_api.py
andpc_upcert.py
.Pinecone Index Setup:
qutip-shrody
(If you change the name, update the references in the code.)384
Documentation Data: Download the QuTiP documentation in PDF format. I used QuTiP 5.1.1 docs only.
Install Dependencies under ./backend
Run the Uploader:
Start Inference Server:
Host the Website as earlier, or can use the new Dockerfile
Further Imporvement
This is a basic integration and can be expanded with:
llama 3.3 70b
worked the best till now.