An open API service indexing awesome lists of open source software.

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

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