Interface IContentsRequest
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Represents a request containing a collection of contents.
public interface IContentsRequest
- Extension Methods
Remarks
This interface defines a property for managing multiple instances of Content. Implementations of this interface can be used to interact with and manipulate content-related requests.
Properties
Contents
Represents a collection of content items within an object that implements the IContentsRequest interface.
List<Content> Contents { get; set; }
Property Value
Examples
This property can be used to store and manipulate a collection of content items, such as messages or data associated with requests or responses.