Content

class Content


Represents a single content item for embedding.

Holds a list of Part instances, supporting text and multimodal inputs.

Summary

Public constructors

Content(parts: List<Part>)

Public properties

List<Part>

The non-empty list of Part instances (such as TextPart and ImagePart) making up this content.

Public constructors

Content

Content(parts: List<Part>)

Public properties

parts

val parts: List<Part>

The non-empty list of Part instances (such as TextPart and ImagePart) making up this content.