Exploration and readily discarded repo to explore things relative to RAG and its adjacent.
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:
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 versionWe're also using mage so either installing it by running
go install github.com/magefile/mage@latestor with various other ways we can check on its website.
Assuming now we have mage. We can do:
git clone https://github.com/mashingan/rag-go
cd rag-go
mage init
mage example_w2v # to see our setup is complete
mage downloadModel