MCPcopy
hub / github.com/microsoft/data-formulator / KnowledgeItem

Interface KnowledgeItem

src/api/knowledgeApi.ts:19–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17export type KnowledgeCategory = 'rules' | 'experiences';
18
19export interface KnowledgeItem {
20 title: string;
21 tags: string[];
22 path: string;
23 source: string;
24 created: string;
25 /** Rules only: short one-line description (max 100 chars). */
26 description?: string;
27 /** Rules only: if true the rule is always injected into the agent prompt. */
28 alwaysApply?: boolean;
29 /**
30 * Experiences only: workspace id this experience was distilled from.
31 * Set by the session-scoped distillation flow (design-docs/24); used
32 * by the KnowledgePanel to find the existing session experience.
33 */
34 sourceWorkspaceId?: string;
35 /** Experiences only: workspace display name at distillation time. */
36 sourceWorkspaceName?: string;
37}
38
39export interface KnowledgeLimits {
40 rule_description_max: number;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected