This repository contains a complete example of how to ingest documents to be used later for RAG. Upload a file to an S3 bucket (minio in this demo) and see it appear in a vector database.
This demo:
- Shows how to use restate a reliable and resilient recipient of webhooks
- How to use LangChain with restate
- Using restate's workflows in Python.
mkdir ollama/
docker-compose pull
docker-compose build
docker-compose up
From a separate terminal, download the embedding model.
We are using mxbai-embed-large
curl http://localhost:11434/api/pull -d '{ "name": "mxbai-embed-large" }'
- Upload any
.txt
/.pdf
file into the docs bucket - Watch new vectors appear at docs collection
docker-compose down --remove-orphans
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt