Skip to content

patrikduch/langchain-pdf-chroma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

langchain-pdf-chroma

Dependencies

python-jose passlib PyJWT

Project startup

Prepare virtualenv

python -m venv myvenv  

in case of compatibility issues

py -3.12 -m venv myvenv

Go to virtualevn

On Windows:

myvenv\Scripts\activate

On macOS and Linux:

source myvenv/bin/activate

Install the dependencies

pip install -r requirements.txt

Export local dependencies

pip freeze > requirements.txt

Run the application

uvicorn main:app --reload

uvicorn main:app --reload --log-level debug

For PDF pip install pymupdf pip install chromadb pip install

OPENAI

pip install langchain-openai openai==1.59.8

About

A lightweight and extensible pipeline for loading PDF documents, generating text embeddings using OpenAI, and storing them in a Chroma vector database for semantic search and retrieval-augmented generation (RAG) with Langchain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors