CLI reference · Commands

talos library

Your documents: import, search, read, export, find duplicates, reference them in a conversation.

Reference for TALOS CLI 0.6.18 generated from the npm package · released

<id> is the id talos library list shows.

OperationWhat it does
listdefault Lists the documents.
search Searches the documents.
read Prints a document.
preview Prints a short preview of a document.
duplicates Lists the documents with the same content (same SHA-256).
context-ref Prepares a reference to the document that a conversation can use as context.
import Imports a file into the library.
export Writes a document to a file.
rename Renames a document.
delete Deletes a document.
versions Not yet described.
restore Not yet described.

Without an operation, talos library runs list.

Lists the documents.

talos library list

Searches the documents.

talos library search <query>

Arguments

query
Text to find.

Prints a document.

talos library read <id>

Arguments

id
The id talos library list shows.

Prints a short preview of a document.

talos library preview <id>

Arguments

id
The id talos library list shows.

Lists the documents with the same content (same SHA-256).

talos library duplicates <id>

Arguments

id
The id talos library list shows.

Prepares a reference to the document that a conversation can use as context.

talos library context-ref <id>

Arguments

id
The id talos library list shows.

Imports a file into the library.

talos library import <file>

Arguments

file
The path of the file.

Writes a document to a file.

talos library export <id> --out <file>

Arguments

id
The id talos library list shows.

Options

--out <value>
The file to write (required).
Exit codes and errors1
CodeExitMeaning
LIBRARY_EXPORT_OUT_REQUIRED 2 The command or the configuration is not valid. Check the command, its options and the configuration.

Renames a document.

talos library rename <id> <name>

Arguments

id
The id talos library list shows.
name
The name, as the list shows it.

Deletes a document.

talos library delete <id>

Arguments

id
The id talos library list shows.

Not yet described in this reference: the arguments, options and errors below are read from the release.

talos library versions <id>

Arguments

id
—
Exit codes and errors1
CodeExitMeaning
LIBRARY_EXTRA_ARGUMENT 70 The command got more words than it takes, so nothing was changed. Write it as talos library versions <id>, or talos library restore <id> <version>.

Not yet described in this reference: the arguments, options and errors below are read from the release.

talos library restore <id> <version>

Arguments

id
—
version
—
Exit codes and errors2
CodeExitMeaning
LIBRARY_EXTRA_ARGUMENT 70 The command got more words than it takes, so nothing was changed. Write it as talos library versions <id>, or talos library restore <id> <version>.
LIBRARY_VERSION_INVALID 2 The version is not a number of this entry. See the numbers with talos library versions <id>, then restore one of them.

Type to search the guides.

    Ask the docs

    Ask in plain words. A small model finds the passage of the guides that answers it, on this device: the question never leaves it.

    all-MiniLM-L6-v2 (Apache-2.0) and the ONNX runtime, served by talos-code.com and kept in your browser’s cache. It finds passages; it does not write answers.

    Loading the model