-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How would you implement RAG / Document chat? #36
Comments
A classic RAG system consist of a vector database + a generative model. With wllama, this can be archived by:
Another idea that is only possible if your document is short and predefined, is to construct a session and reuse it later (via |
For a small embedding model good for this case, I can recommend this one: |
Ah nice. I tried nomic-embed-text before but it doesn't work very well. But maybe because I used Albert Einstein wiki page as the example, which is a very hard one. Maybe you can give it a try? Some questions that I tried but no success:
|
In your readme you mention:
I've been looking into a way to allow users to 'chat with their documents'. A popular concept. Specifically I was looking into 'Fully local PDF chatbot'. It seems.. complicated.
So I was wondering: if one wanted to implement this feature using Wllama, what are the 'components' of such a solution?
Would it be something like...
What would the steps actually be?
The text was updated successfully, but these errors were encountered: