Skip to content

Documentation / @agentick/shared / ContentAnnotation

Interface: ContentAnnotation ​

Defined in: streaming.ts:63

Annotation - model-provided note about the content.

Adapters map provider-specific annotation formats to this normalized structure.

Properties ​

data? ​

optional data: Record<string, unknown>

Defined in: streaming.ts:73

Additional annotation-specific data


endIndex? ​

optional endIndex: number

Defined in: streaming.ts:71

End index in the content


startIndex? ​

optional startIndex: number

Defined in: streaming.ts:69

Start index in the content


text ​

text: string

Defined in: streaming.ts:67

Annotation content/text


type ​

type: string

Defined in: streaming.ts:65

Annotation type (e.g., "file_citation", "note", "highlight")

Released under the ISC License.