This commit is contained in:
Alexander Svan
2025-04-01 06:47:40 +00:00
parent b0ce430841
commit 14ea92abb9
10 changed files with 188 additions and 52 deletions

View File

@@ -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?"
```