Documentation / @agentick/shared / ContentCitation
Interface: ContentCitation ​
Defined in: streaming.ts:45
Citation - normalized reference to source material.
Adapters map provider-specific citation formats to this normalized structure.
- Anthropic: citations with source info
- Google: grounding sources/chunks
- OpenAI: annotations with file citations
Properties ​
endIndex? ​
optionalendIndex:number
Defined in: streaming.ts:55
End index in the content this citation applies to
startIndex? ​
optionalstartIndex:number
Defined in: streaming.ts:53
Start index in the content this citation applies to
text ​
text:
string
Defined in: streaming.ts:47
Citation text shown in the response
title? ​
optionaltitle:string
Defined in: streaming.ts:51
Source title/name
url? ​
optionalurl:string
Defined in: streaming.ts:49
Source URL if available