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 collectionsOptions 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
iai - InteractiveAI's CLI
iai collections chunks - Manage the chunks (rows) in a collection
iai collections create - Create a collection from a config file
iai collections delete - Delete a collection and all its data
iai collections describe - Describe a collection's configuration
iai collections documents - Inspect documents (chunks grouped by documentId)
iai collections list - List collections in a database
iai collections patch - Update a collection's mutable config from a file
iai collections schema - Show the file schemas for the --file-based collection commands
iai collections search - Search a collection (single-lane vector search)
iai collections slots - Manage a collection's vector slots and their indexes
iai collections stats - Show a collection's chunk count, size, and index status
Last updated
Was this helpful?

