EmbeddingPipelineDeps
@forge/monorepo / backend/src / EmbeddingPipelineDeps
Type Alias: EmbeddingPipelineDeps
EmbeddingPipelineDeps =
object
Defined in: backend/src/knowledge/index.ts:85
Properties
batchSize?
readonlyoptionalbatchSize?:number
Defined in: backend/src/knowledge/index.ts:89
chunking?
readonlyoptionalchunking?:ChunkingLimits
Defined in: backend/src/knowledge/index.ts:88
clock?
readonlyoptionalclock?: () =>string
Defined in: backend/src/knowledge/index.ts:90
Returns
string
embeddings
readonlyembeddings:EmbeddingProvider
Defined in: backend/src/knowledge/index.ts:87
graph?
readonlyoptionalgraph?: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?
readonlyoptionalgraphConcurrency?:number
Defined in: backend/src/knowledge/index.ts:104
Chunks extracted concurrently. See DEFAULT_EXTRACTION_CONCURRENCY — the default is 1, deliberately.
knowledge
readonlyknowledge:KnowledgeStore
Defined in: backend/src/knowledge/index.ts:86
log?
readonlyoptionallog?: (message,detail?) =>void
Defined in: backend/src/knowledge/index.ts:93
Parameters
message
string
detail?
Readonly<Record<string, unknown>>
Returns
void
now?
readonlyoptionalnow?: () =>number
Defined in: backend/src/knowledge/index.ts:92
Injectable so a test measures elapsed time without waiting for it.
Returns
number