add readme

Signed-off-by: Matt Williams <m@technovangelist.com>
This commit is contained in:
Matt Williams 2024-04-05 07:16:02 -07:00
parent f17504d30b
commit 4c301a5fba
2 changed files with 13 additions and 1 deletions

5
.gitignore vendored
View file

@ -1,2 +1,5 @@
.DS_Store
node_modules
node_modules
vectordb-stores
chroma.log
__pycache__

View file

@ -0,0 +1,9 @@
# Build RAG with Python
[![Watch the video](https://img.youtube.com/vi/GxLoMquHynY/maxresdefault.jpg)](https://youtu.be/GxLoMquHynY)
1. Get started by installing the requirements: `pip install -f requirements.txt`
2. Then run ChromaDB in a separate terminal: `chroma run --host localhost --port 8000 --path ../../vectordb-stores/chromadb`
3. Edit the list of docs in `sourcedocs.txt`
4. Import the docs: `python3 import.py`
5. Perform a search: `python3 search.py <yoursearch>`