Simple RAG implementation.
- Embedding: BAAI/bge-small-zh-v1.5
- Reranker: BAAI/bge-large-zh-v1.5
- Generator: Qwen2.5-7B-Instruct-1M
- Index: Faiss
- Make sure uv is installed, then run:
uv sync- Put the context file in data/context.txt, then run:
uv run main.py