Skip to main content
Version: 0.13.0

Function: knowledgePromptSection()

function knowledgePromptSection(
projectDir,
knowledgeDir,
sourcesDir?
): string;

Defined in: core/knowledge.ts:27

The "Knowledge base" section appended to the system prompt: the layout and the working rules. The exact page templates live in the knowledge-pages skill, to keep this short.

Parameters​

ParameterType
projectDirstring
knowledgeDirstring
sourcesDir?string

Returns​

string