knowledge_graph.auto_build on) every ingestion chains a graph
build, until the graph corpus reaches the deployment’s
kg.auto_build.max_corpus_files limit. A build is billable and long-running;
turn auto_build off to build only on request. An explicit build runs either
way, past the limit too.
The graph is not a separate question tool. Once it is built, automatic search
(both routes) and QA use it on their own. See
Choose the right tool.
- Python
- TypeScript
- curl
PATCH knowledge_graph
PATCH /v1/workspaces/{id} replaces the knowledge_graph block whole.
Read the current block first and send exclusions back with auto_build
changed — sending auto_build alone resets exclude_path_prefixes and
exclude_categories to empty.
See Workspaces.