Skip to main content

EmbeddingPipelineDeps

@retinue/monorepo


@retinue/monorepo / backend/src / EmbeddingPipelineDeps

Type Alias: EmbeddingPipelineDeps

EmbeddingPipelineDeps = object

Defined in: backend/src/knowledge/index.ts:85

Properties​

batchSize?​

readonly optional batchSize?: number

Defined in: backend/src/knowledge/index.ts:89


chunking?​

readonly optional chunking?: ChunkingLimits

Defined in: backend/src/knowledge/index.ts:88


clock?​

readonly optional clock?: () => string

Defined in: backend/src/knowledge/index.ts:90

Returns​

string


embeddings​

readonly embeddings: EmbeddingProvider

Defined in: backend/src/knowledge/index.ts:87


graph?​

readonly optional graph?: GraphIndexer

Defined in: backend/src/knowledge/index.ts:102

The graph indexer — REQ-064 (#270). Absent means GraphRAG cannot run at all.

Optional at the type level rather than switched at run time, so a deployment that never enables it supplies no EntityExtractor and therefore configures no language model to index a document. That is the outermost of the three gates behind AC-4's "off costs nothing": absent here, off for the tenant, unflagged for the source. The first is free, and the second costs one settings read.


graphConcurrency?​

readonly optional graphConcurrency?: number

Defined in: backend/src/knowledge/index.ts:104

Chunks extracted concurrently. See DEFAULT_EXTRACTION_CONCURRENCY — the default is 1, deliberately.


knowledge​

readonly knowledge: KnowledgeStore

Defined in: backend/src/knowledge/index.ts:86


log?​

readonly optional log?: (message, detail?) => void

Defined in: backend/src/knowledge/index.ts:93

Parameters​

message​

string

detail?​

Readonly<Record<string, unknown>>

Returns​

void


now?​

readonly optional now?: () => number

Defined in: backend/src/knowledge/index.ts:92

Injectable so a test measures elapsed time without waiting for it.

Returns​

number