GenerateAnswerRequestContents Property

Required. The content of the current conversation with the Model. For single-turn queries, this is a single question to answer. For multi-turn queries, this is a repeated field that contains conversation history and the last Content in the list containing the question. Note: models.generateAnswer only supports queries in English.

Definition

Namespace: GenerativeAI.Types
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public List<Content> Contents { get; set; }

Property Value

ListContent

Implements

IContentsRequestContents

See Also