mirror of
https://github.com/technovangelist/videoprojects.git
synced 2026-09-10 07:16:19 -04:00
Update readme
Signed-off-by: Matt Williams <m@technovangelist.com>
This commit is contained in:
parent
0ae03eed83
commit
8fef00aa94
|
|
@ -2,12 +2,14 @@
|
|||
|
||||
[](https://youtu.be/GxLoMquHynY)
|
||||
|
||||
1. Get started by installing the requirements: `pip install -r requirements.txt`
|
||||
2. Make sure you have the models listed in config.ini. so for nomic-embed-text, run `ollama pull nomic-embed-text`. Update the config to show whatever models you want to use.
|
||||
3. Then run ChromaDB in a separate terminal: `chroma run --host localhost --port 8000 --path ../vectordb-stores/chromadb`
|
||||
4. Edit the list of docs in `sourcedocs.txt`
|
||||
5. Import the docs: `python3 import.py`
|
||||
6. Perform a search: `python3 search.py <yoursearch>`
|
||||
1. Install the magic tools:
|
||||
- **Debian/Ubuntu**`: `sudo apt-get install libmagic1`
|
||||
- **Windows**: You'll need DLLs for libmagic. @julian-r maintains a pypi package with the DLLs, you can fetch it with: `pip install python-magic-bin`
|
||||
- **Mac**: `brew install libmagic`
|
||||
2. Get started by installing the requirements: `pip install -r requirements.txt`
|
||||
3. Make sure you have the models listed in config.ini. so for nomic-embed-text, run `ollama pull nomic-embed-text`. Update the config to show whatever models you want to use.
|
||||
4. Then run ChromaDB in a separate terminal: `chroma run --host localhost --port 8000 --path ../vectordb-stores/chromadb`
|
||||
5. Edit the list of docs in `sourcedocs.txt`
|
||||
6. Import the docs: `python3 import.py`
|
||||
7. Perform a search: `python3 search.py <yoursearch>`
|
||||
|
||||
|
||||
Some folks on Windows seem to have issues with installing this. I guess the install package names are different there. Try `pip install python-magic-bin` to get the magic stuff working.
|
||||
Loading…
Reference in a new issue