Skip to main content
Knowledge commands manage the content SiteGPT uses to answer questions. Run this first when exploring:

Knowledge resources

Add knowledge

Use this when you know the exact pages to train:

Crawl a website

Use this when you have a starting URL and want SiteGPT to discover pages:
Website options:

Add a sitemap

Prefer sitemap ingestion when the website exposes a sitemap:
Sitemap options:
Sync and scan frequencies are plan-gated. Unsupported requests may be downgraded by the API with warnings.

Add YouTube videos

Upload local files

The CLI reads local files and uploads them. Pass file paths, not remote URLs.

Add or update text knowledge

text update creates or replaces the chatbot’s text knowledge document:
text add is accepted as an alias, but text update is clearer because the text block is replaced.

Scrape options

These options work with links, website, sitemap, and document config updates: Example:

Documents

Documents are individual trained, pending, failed, or queued knowledge items.

List documents

knowledge docs is accepted as an alias for knowledge documents. Filters: Allowed source values:
Allowed status values:
Allowed type values:

Get document details

--content includes raw and parsed text when available. Use --max-content-chars <1-500000> to limit included text.

Edit document content

documents update is accepted as an alias for documents edit.

Resync documents

Delete documents

documents remove is an alias for documents delete. Bulk selector options:

Update document config

Document stats

Sync jobs

Sync jobs are recurring maintenance jobs. Auto-sync refreshes known content. Sitemap auto-scan discovers URL additions/deletions.
Aliases:
  • knowledge jobsknowledge sync-jobs
  • knowledge sync-jobs disableknowledge sync-jobs delete
List filters: Deleting a sync job disables recurring sync/scan. It does not delete existing knowledge documents.

Custom responses

Custom Responses are manual question-and-answer overrides in the Knowledge section.
Filters: Fields:

Full reference