Cool poc
This commit is contained in:
24
README.md
24
README.md
@@ -3,8 +3,28 @@
|
||||
|
||||
## Getting started
|
||||
|
||||
Start a developer console in NixOS with all need dependencies
|
||||
Download some models
|
||||
|
||||
```bash
|
||||
nix develop
|
||||
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?"
|
||||
```
|
||||
Reference in New Issue
Block a user