https://github.com/mashingan/rag-go
Scratch experimental and explorations
https://github.com/mashingan/rag-go
Last synced: 3 months ago
JSON representation
Scratch experimental and explorations
- Host: GitHub
- URL: https://github.com/mashingan/rag-go
- Owner: mashingan
- Created: 2026-02-10T19:08:33.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2026-02-18T03:23:32.000Z (3 months ago)
- Last Synced: 2026-02-18T07:59:03.433Z (3 months ago)
- Language: Go
- Size: 25.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# rag-go
Exploration and readily discarded repo to explore things relative to RAG
and its adjacent.
## Instructions
The repo we're using is requiring `go1.25.7` hence we need to ensure
our `go version` is higher than that. In case it's lower, we can do:
```bash
go install golang.org/dl/go1.25.7@latest
go1.25.7 download
# on unix
alias go=go1.25.7
# on powershell
set-alias go=go1.25.7
go version # confirming it's targeted version
```
We're also using [`mage`][mgweb] so either installing it by running
```bash
go install github.com/magefile/mage@latest
```
or with various other ways we can check on its [website][mgweb].
Assuming now we have `mage`. We can do:
```bash
git clone https://github.com/mashingan/rag-go
cd rag-go
mage init
mage example_w2v # to see our setup is complete
mage downloadModel
```
[mgweb]: https://magefile.org