https://github.com/simoncw/ollama-rag-rs
Experimenting with LLMs through Ollama and retrieval augmented generation (RAG) in Rust
https://github.com/simoncw/ollama-rag-rs
Last synced: 7 months ago
JSON representation
Experimenting with LLMs through Ollama and retrieval augmented generation (RAG) in Rust
- Host: GitHub
- URL: https://github.com/simoncw/ollama-rag-rs
- Owner: SimonCW
- License: apache-2.0
- Created: 2024-01-12T12:06:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-23T15:20:17.000Z (about 2 years ago)
- Last Synced: 2025-03-01T14:23:15.973Z (over 1 year ago)
- Language: Rust
- Size: 1.03 MB
- Stars: 16
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE20
Awesome Lists containing this project
README
# Retrieval Augmented Generation with Llamafile, LanceDB in Rust
Note, this is WIP. I try to avoid building abstractions too early.
## Useful Commands
Start Ollama in the background and log outputs.
```bash
nohup ollama serve > ~/Repos/rag-rs/logs/ollama_serve.log 2>&1 &
```
## Install protobuf for LanceDB
```bash
brew install protobuf
```
## License Notice
The Rust Book is licensed under MIT and Apache License 2.0. The Rust Book was
downloaded as pdf from here: https://doc.rust-lang.org/book/print.html and
converted to txt via:
```bash
# brew install poppler
pdftotext .data/2024-02-13_the_rust_book.pdf knowledge/2024-02-13_the_rust_book.txt
```