IContentsRequestContents Property
Represents a collection of content items within an object that implements the IContentsRequest interface.
Namespace: GenerativeAI.TypesAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
List<Content> Contents { get; set; }
Property Value
ListContent
The
Contents property provides access to a list of
Content objects.
Each
Content represents multi-part content with a specified role and data parts.
This property can be used to store and manipulate a collection of content items,
such as messages or data associated with requests or responses.