You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the CLI tools for managing collections are tucked away in llm embed-db:
llm embed-db --help
Usage: llm embed-db [OPTIONS] COMMAND [ARGS]...
Manage the embeddings database
Options:
--help Show this message and exit.
Commands:
collections Output the path to the embeddings database
delete-collection Delete the specified collection
path Output the path to the embeddings database
I think collections deserve to be a top-level concern in the CLI tool, so you can do this:
# View collections
llm collections
# Delete a collection
llm collections delete my-collection
# View items in a collection
llm collections show my-collection
Not completely happy with that last command. Some options:
llm collections my-collection - uses up the namespace that I want to use for llm collections delete and suchlike
llm collections list my-collection - confusing since llm collections is presumably a default alias of llm collections list same as how llm aliases list and llm templates list and llm models list work.
The text was updated successfully, but these errors were encountered:
Currently the CLI tools for managing collections are tucked away in
llm embed-db
:I think collections deserve to be a top-level concern in the CLI tool, so you can do this:
Not completely happy with that last command. Some options:
llm collections my-collection
- uses up the namespace that I want to use forllm collections delete
and suchlikellm collections list my-collection
- confusing sincellm collections
is presumably a default alias ofllm collections list
same as howllm aliases list
andllm templates list
andllm models list
work.The text was updated successfully, but these errors were encountered: