Skip to content
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

Every time you have to reload the PDF file? #35

Open
wenzhao98 opened this issue Aug 15, 2023 · 2 comments
Open

Every time you have to reload the PDF file? #35

wenzhao98 opened this issue Aug 15, 2023 · 2 comments

Comments

@wenzhao98
Copy link

It should remember what has been loaded/embedded already.

@vbalko
Copy link

vbalko commented Aug 16, 2023

This can be solved by persisting database with those data. It would require rework a data model a little bit, but should work - AFAIK.

@amrishsharma
Copy link

one option is to use Chroma vector database

vectorstore = Chroma.from_documents(text_chunks, embeddings,persist_directory='./chroma_db')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants