For the complete documentation index, see llms.txt. This page is also available as Markdown.

iai collections

Knowledge bases (searchable tables of chunks) inside a pgvector database

Synopsis

Manage collections within a database.

A collection is a table of chunks (rows) — each chunk is text plus its vector embedding(s) — that you search by meaning or keyword; it's what backs a knowledge base. It lives inside an existing pgvector database, so every command requires --database. Use 'iai databases create' first to provision the database.

Run 'iai collections schema' to see the body format for every --file command.

Options

  -h, --help   help for collections

Options inherited from parent commands

      --api-key string               API key for authentication
      --cfg-file string              Path to YAML config file with organization, project, and optional service definitions
      --deployment-hostname string   Hostname for the deployment API (default "https://deployment.interactive.ai")
      --hostname string              Hostname for the API (default "https://app.interactive.ai")

SEE ALSO

Last updated

Was this helpful?