Home Explore Blog Models CI



ragit

docs/commands/model.txt
853cb56954994b3a351294ebdff3c045efa8df505df7bd51000000030000051b
rag-model(1)
==========

NAME
----
rag-model - Manage local AI models

SYNOPSIS
--------
[verse]
'rag model --remove' --all | -a | <model>
'rag model --search' [--name-only | --stat-only] [--json | -j] <model>
            [--remote <url=https://ragit.baehyunsol.com>]
'rag model --fetch' --all | -a | <model> [--existing-only] [--quiet | -q]
            [--remote <url=https://ragit.baehyunsol.com>]

DESCRIPTION
-----------
You can remove AI models in local `models.json` file, or fetch new models from
remote to local.

You can remove models in `.ragit/models.json` with `rag model --remove` command.
You can either remove a model by name, or all models with `--all` option.

`rag model --search` is like `rag ls-models`, but it lists models in the
remote, not in local `models.json`. You have to set `--remote` to a working
ragithub. If you're not sure just keep it blank.

If you find a nice model with `rag model --search` command and want to use it,
you can use `rag model --fetch` command. If you run `rag model --fetch --all`,
it will download all the models in the remote and write it to local
`models.json`. Sometimes, you don't want to download new models, but keep your
local models up to date. In that case, you can run
`rag model --fetch --existing-only --all` to keep your models up to date.

Chunks
eea01c64 (1st chunk of `docs/commands/model.txt`)
Title: Rag Model Command Reference
Summary
The rag-model command manages local AI models, allowing users to remove, search, and fetch models from remote repositories, with various options for customization and updating local models, including removing specific models or all models, searching for models in remote repositories, and fetching new or existing models to keep them up to date.