sitegpt knowledge. For how sync and scan work, see Keep your content up to date.
Before you start
- Plan: the Growth plan or above for CLI access. See Plans and limits.
-
Access: a CLI login with these scopes.
sitegpt loginwith no--scopeincludes them all.conversations:writelets you send the test message at the end. -
Input: the chatbot ID. Save it for the commands below:
Steps
1
Check content health
2
Resync failed or old documents
Pick one selector:
3
Remove page noise, if needed
If a page picked up menus or footers, change how SiteGPT reads it. Then resync it.
4
Set sync and scan schedules
- Sync works only for website, sitemap, and GitHub jobs. It does not delete pages.
- Scan works only for sitemap jobs. It adds new URLs and deletes pages whose URLs left the sitemap.
- If sync and scan use the same frequency, only the sync runs on that schedule.
- If the plan does not include a frequency, SiteGPT sets it to
NEVERand returns a warning.
5
Add new website content
Use a sitemap if the site has one:Otherwise, crawl the site:To add a few exact pages, add links:
6
Update connected apps
List the source connections:To pick more files from an app that uses a file picker, authorize again, list the selected files, and ingest them:To ingest only some files, pass their IDs:For GitHub:For Confluence:Only GitHub sources accept a
--sync schedule. For other apps, refresh the documents with knowledge documents resync.7
Replace the text snippet
Each chatbot has one text snippet. The command replaces the whole snippet. Read the current text first:Then write the new text:
8
Update custom responses
List the custom responses that have no approved answer yet:Add, update, or delete answers:
9
Delete old documents
Find the documents first:Delete them by exact ID, or delete only failed documents:Do not use
--all --yes unless the user asked for a broad delete.Check that it works
Hand back to the human
Report:- The content you added or updated.
- The documents that still fail.
- The sync jobs you changed, and any frequency that SiteGPT set to
NEVER. - The documents and custom responses you deleted.
- Follow-up work that needs the user’s approval.