ChatSessionLastResponseContent Property
Gets the content of the last response received in the current chat session,
providing access to the most recently generated reply or output from the model.
This property is updated each time a response is successfully received within the session.
Namespace: GenerativeAIAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public Content? LastResponseContent { get; }
Property Value
Content
The value of this property is `null` if no response has been received or if the session
was reset by assigning a new history to the
History property.