groundedPartIds
@forge/monorepo / backend/src / groundedPartIds
Function: groundedPartIds()
groundedPartIds(
parts):ReadonlySet<string>
Defined in: backend/src/citations/index.ts:206
The parts a message's citations ground — AC-3.
Derived from the citation graph, so there is one source of truth. A caller renders a text part differently when its id is in this set; nothing has to inspect the prose.
Parameters
parts
readonly MessagePart[]
Returns
ReadonlySet<string>