Skip to main content

MAX_DESCRIPTION_CHARS

@forge/monorepo


@forge/monorepo / backend/src / MAX_DESCRIPTION_CHARS

Variable: MAX_DESCRIPTION_CHARS

const MAX_DESCRIPTION_CHARS: 480 = 480

Defined in: backend/src/knowledge/graph.ts:158

How long a description may be before it is a chunk rather than a description.

A model asked for a short description sometimes returns the paragraph. Truncating rather than refusing keeps the entity — the name and the edges are the valuable part — and stops one verbose extraction from dominating the storage of a whole corpus.