Skip to main content

GraphSettings

@forge/monorepo


@forge/monorepo / backend/src / GraphSettings

Type Alias: GraphSettings

GraphSettings = object

Defined in: backend/src/persistence/index.ts:1660

Whether this tenant uses the graph at all, and which of its sources do.

Two levels, because the cost is per chunk and paid at index time. A tenant switch alone would mean enabling the feature silently multiplies every tenant's indexing bill — including for the ad-hoc PDF somebody attached to one conversation. A per-source flag alone would leave no single place to say "this deployment does not use GraphRAG", which is the guarantee AC-1 rests on.

A source flag is stored and honoured independently of the tenant switch, so a deployment can mark its handbook today and enable the tenant next week without re-marking anything.

Properties

enabled

readonly enabled: boolean

Defined in: backend/src/persistence/index.ts:1661


updatedAt

readonly updatedAt: string

Defined in: backend/src/persistence/index.ts:1663

When it was last changed, for an operator wondering why a bill moved.