Knowledge Source — declarative metadata describing what to index and which adapter to use.
Knowledge Source — declarative metadata describing what to index and
which adapter to use.
A KnowledgeSource is the metadata-level equivalent of an
IDataEngine driver binding: it pairs a logical source description
(object/file/http) with the id of an IKnowledgeAdapter plugin
that will actually do the work. The adapter resolves the id at
runtime via IKnowledgeService.registerAdapter.
See content/docs/protocol/knowledge.mdx for the full design.
Cron-dialect expression for a periodic full reindex. A bare string is shorthand for { dialect: 'cron', source }; the parse enforces a non-empty string or an expression envelope and normalizes to the envelope — cron syntax is not checked here, and no engine evaluates this slot: the verdict belongs to whatever external scheduler you hand the value to. service-knowledge does not schedule it: the value is surfaced so an automation flow / external scheduler can trigger reindexSource.
Refresh / sync configuration; omitted parses to {} (the runtime default — the published input-shape JSON Schema cannot state it beside cron's transform).
Cron-dialect expression for a periodic full reindex. A bare string is shorthand for { dialect: 'cron', source }; the parse enforces a non-empty string or an expression envelope and normalizes to the envelope — cron syntax is not checked here, and no engine evaluates this slot: the verdict belongs to whatever external scheduler you hand the value to. service-knowledge does not schedule it: the value is surfaced so an automation flow / external scheduler can trigger reindexSource.