LiteRTContent

sealed class LiteRTContent(source)

Content value exchanged with a LiteRTConversation.

Host bridges should map their engine's text, local file, inline media, and tool-response representations to these values. Remote media URLs are not fetched by the LiteRT adapter; callers must pass inline bytes or local file paths.

Since

0.3.0-beta01

Inheritors

Types

Link copied to clipboard

Inline audio bytes plus optional media type.

Link copied to clipboard

Absolute local audio path plus optional media type.

Link copied to clipboard

Inline image bytes plus optional media type.

Link copied to clipboard

Absolute local image path plus optional media type.

Link copied to clipboard

Plain text content.

Link copied to clipboard

Tool response content sent back to LiteRT-LM.