mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 03:13:41 +08:00
Entity extraction previously constrained entity types but let the model freely invent any relation between entities, producing noise that diluted the entities a knowledge base actually cares about. Adds an optional per-KB relation schema (subjectType/predicate/ objectType triples): when set, the extraction prompt is scoped to only those relations, and a hard filter drops anything that slips through before it is persisted. Empty/unset keeps the existing open-vocabulary behaviour. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| test | ||
| .npmrc | ||
| eslint.config.mjs | ||
| index.html | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| TEST_CASES.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||