This is a proof of concept repo for vectorstore loader orchestration Ⓒ. It combines LangChain with Dagster.
- Install dependencies:
pip install -r requirements.txt
- Run
dagit -f run.py
and navigate to http://127.0.0.1:3000/overview/jobs to view the dag jobs you have created. - By for testing I have set up two dags in the dag folder that leverage common loading logic. To add a new loader run simply create a new file with a dagster job and add to the run.py folder. i. You can use any Langchain Document Loaders to load your own data into a vectorstore.
This can be used to replace the manual run of ingest.sh
in ChatLangChain to provide scheduled updates of vectorstores as well as handling and managing inputs from various sources.