citationFromRetrieval
@forge/monorepo / backend/src / citationFromRetrieval
Function: citationFromRetrieval()
citationFromRetrieval(
input):CitationCandidate
Defined in: backend/src/citations/index.ts:69
A citation built from a retrieval hit. The passage fields come from the hit, so they cannot disagree.
Parameters
input
charRange?
{ end: number; start: number; }
charRange.end
number
charRange.start
number
hit
retrievedAt
string
supports
readonly MessagePartId[]