refactor: remove default instruction for LlmFactExtractor
This commit is contained in:
@@ -6,9 +6,6 @@ import type {
|
|||||||
|
|
||||||
const DEFAULT_INSTRUCTIONS = [
|
const DEFAULT_INSTRUCTIONS = [
|
||||||
"Extract structured facts from the user input.",
|
"Extract structured facts from the user input.",
|
||||||
"Return a JSON array of fact objects. Do not include markdown, explanations, or prose outside the JSON array.",
|
|
||||||
'Each fact object must have a "statement", "summary", "source", "confidence", and "topics" array.',
|
|
||||||
'Each topic in "topics" must have a "name", and may include "category", "granularity", and "role".',
|
|
||||||
"Only include topics that are explicitly in the input.",
|
"Only include topics that are explicitly in the input.",
|
||||||
"If the input contains multiple distinct facts, return them as separate objects in the array.",
|
"If the input contains multiple distinct facts, return them as separate objects in the array.",
|
||||||
].join("\n");
|
].join("\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user