30 lines
447 B
Markdown
30 lines
447 B
Markdown
|
|
# Vector Database POC
|
|
|
|
## Getting started
|
|
|
|
Download some models
|
|
|
|
```bash
|
|
ollama pull mxbai-embed-large # Used for embeddings
|
|
ollama pull gemma3 # Used as LLM
|
|
```
|
|
|
|
Download python depedencies
|
|
|
|
```bash
|
|
pip install -r requirements.txt
|
|
```
|
|
## Run
|
|
|
|
First you need to seed the database with a few documents
|
|
|
|
```bash
|
|
python script.py seed
|
|
```
|
|
|
|
And then you can do your search
|
|
|
|
```bash
|
|
python script.py search --query "How does AI change industries?"
|
|
``` |