Skip to main content

GraphIndexResult

@retinue/monorepo


@retinue/monorepo / backend/src / GraphIndexResult

Type Alias: GraphIndexResult

GraphIndexResult = object

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

What indexing a source into the graph cost and produced — AC-9.

Properties​

elapsedMs​

readonly elapsedMs: number

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


entities​

readonly entities: number

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


extractionCalls​

readonly extractionCalls: number

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

Model calls made. The number an operator needs before enabling this on a large corpus.


inputTokens​

readonly inputTokens: number

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


outputTokens​

readonly outputTokens: number

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


pruned​

readonly pruned: number

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


ran​

readonly ran: boolean

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

false when GraphRAG is off for the tenant or the source is not flagged. Nothing was called.


relationships​

readonly relationships: number

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


unusableChunks​

readonly unusableChunks: number

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

Chunks whose extraction was unusable. Nonzero is a signal about the extractor, not a failure.