2 Commits

Author SHA1 Message Date
7b305da2de v0.5.1
All checks were successful
npm release / verify (push) Successful in 15s
npm release / publish to npm (push) Successful in 13s
2026-05-31 23:51:21 +09:00
b80e838038 refactor: remove default instruction for LlmFactExtractor 2026-05-31 23:50:37 +09:00
2 changed files with 1 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "identitydb", "name": "identitydb",
"version": "0.5.0", "version": "0.5.1",
"description": "TypeScript memory graph database wrapper for topics, facts, and AI-assisted ingestion.", "description": "TypeScript memory graph database wrapper for topics, facts, and AI-assisted ingestion.",
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",

View File

@@ -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");