chunkId
@forge/monorepo / backend/src / chunkId
Function: chunkId()
chunkId(
sourceType,sourceId,index):string
Defined in: backend/src/knowledge/index.ts:108
Deterministic chunk id, so re-indexing the same source overwrites its own rows rather than duplicating.
Parameters
sourceType
string
sourceId
string
index
number
Returns
string