Content interface

Content type for both prompts and response candidates.

Signature:

export interface Content 

Properties

Property Type Description
parts Part[]
role Role

Content.parts

Signature:

parts: Part[];

Content.role

Signature:

role: Role;