You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit df2ed0c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: content/docs/references/ai/knowledge-source.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ const result = KnowledgeRefreshPolicySchema.parse(data);
54
54
|**id**|`never`| optional |[REMOVED]`knowledge_source.id` was removed in @objectstack/spec 19.0.0 (ADR-0161 K6) — a knowledge source is a metadata item, and an item is identified by `name`; use `name`. Rename the key; the value is unchanged, so the source's index is found again and is not rebuilt. Run `os migrate meta --from 18` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. |
55
55
|**label**|`string`| ✅ ||
56
56
|**description**|`string`| optional ||
57
-
|**adapter**|`string`|✅| Adapter id |
57
+
|**adapter**|`string`|optional| Adapter id; omitted means the deployment's store (pgvector on PostgreSQL, turso otherwise), else the only adapter registered|
58
58
|**adapterConfig**|`never`| optional |[REMOVED]`knowledge_source.adapterConfig` was removed in @objectstack/spec 19.0.0 (ADR-0161 K6) — no adapter read it: its one reader was the retired RAGFlow adapter. Delete the key. An adapter takes its settings as options of the plugin that mounts it. Run `os migrate meta --from 18` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. |
|**embedding**|`never`| optional |[REMOVED]`knowledge_source.embedding` was removed in @objectstack/spec 19.0.0 (ADR-0161 K6) — it was never read: no service and no adapter chose a model from it. Delete the key. The embedder is configured once for the deployment, and every source is embedded by it. Run `os migrate meta --from 18` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. |
Copy file name to clipboardExpand all lines: content/docs/references/api/package-api-assembled.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,7 +139,7 @@ Installed package row whose manifest is the assembled package body
139
139
|**tools**|`{ name: string; label: string; description: string; parameters: Record<string, any>; … }[]`| optional | AI Tool metadata records — optional refinement layer, never required: the default path is skills referencing platform tools or materialised action_`<name>` tools (ADR-0109) |
140
140
|**skills**|`{ name: string; label: string; description?: string; surface?: Enum<'ask' \| 'build' \| 'both'>; … }[]`| optional | AI Skills (reusable capability bundles — the third-party AI extension primitive, ADR-0063) |
141
141
|**aiContexts**|`{ name: string; label: string; object: string; fields?: string[]; … }[]`| optional | AI context packs — the material of one record handed to a model, read as the caller by get_record_context (ADR-0160). A host serves that tool only when it mounts the record-context service: the CLI mounts it where `requires` includes `record-context`, and a host that composes its own kernel lists `RecordContextServicePlugin` in `plugins`|
142
-
|**knowledgeSources**|`{ name: string; label: string; description?: string; adapter: string; … }[]`| optional | Knowledge sources — which object's records the knowledge service indexes, which fields are sent to the embedder as content, and which adapter holds the index (ADR-0161 K4). A host indexes them only when it mounts the knowledge service: the CLI mounts itwhere `requires` includes `knowledge`, and a host that composes its own kernel lists `KnowledgeServicePlugin` in `plugins`|
142
+
|**knowledgeSources**|`{ name: string; label: string; description?: string; adapter?: string; … }[]`| optional | Knowledge sources — which object's records the knowledge service indexes, which fields are sent to the embedder as content, and which adapter holds the index (ADR-0161 K4). A host indexes them only when it mounts the knowledge service: the CLI mounts it, with the deployment's store, where the stack holds a source or`requires` includes `knowledge`, and a host that composes its own kernel lists `KnowledgeServicePlugin` in `plugins`|
@@ -392,7 +392,7 @@ This schema accepts one of the following structures:
392
392
|**tools**|`{ name: string; label: string; description: string; parameters: Record<string, any>; … }[]`| optional | AI Tool metadata records — optional refinement layer, never required: the default path is skills referencing platform tools or materialised action_`<name>` tools (ADR-0109) |
393
393
|**skills**|`{ name: string; label: string; description?: string; surface?: Enum<'ask' \| 'build' \| 'both'>; … }[]`| optional | AI Skills (reusable capability bundles — the third-party AI extension primitive, ADR-0063) |
394
394
|**aiContexts**|`{ name: string; label: string; object: string; fields?: string[]; … }[]`| optional | AI context packs — the material of one record handed to a model, read as the caller by get_record_context (ADR-0160). A host serves that tool only when it mounts the record-context service: the CLI mounts it where `requires` includes `record-context`, and a host that composes its own kernel lists `RecordContextServicePlugin` in `plugins`|
395
-
|**knowledgeSources**|`{ name: string; label: string; description?: string; adapter: string; … }[]`| optional | Knowledge sources — which object's records the knowledge service indexes, which fields are sent to the embedder as content, and which adapter holds the index (ADR-0161 K4). A host indexes them only when it mounts the knowledge service: the CLI mounts itwhere `requires` includes `knowledge`, and a host that composes its own kernel lists `KnowledgeServicePlugin` in `plugins`|
395
+
|**knowledgeSources**|`{ name: string; label: string; description?: string; adapter?: string; … }[]`| optional | Knowledge sources — which object's records the knowledge service indexes, which fields are sent to the embedder as content, and which adapter holds the index (ADR-0161 K4). A host indexes them only when it mounts the knowledge service: the CLI mounts it, with the deployment's store, where the stack holds a source or`requires` includes `knowledge`, and a host that composes its own kernel lists `KnowledgeServicePlugin` in `plugins`|
0 commit comments