Skip to content

Latest commit

 

History

History
81 lines (50 loc) · 1.53 KB

GenerateMessageResponse.md

File metadata and controls

81 lines (50 loc) · 1.53 KB

google.generativeai.protos.GenerateMessageResponse

View source on GitHub

The response from the model.

This includes candidate messages and conversation history in the form of chronologically-ordered messages.

Attributes

candidates

MutableSequence[google.ai.generativelanguage.Message]

Candidate response messages from the model.

messages

MutableSequence[google.ai.generativelanguage.Message]

The conversation history used by the model.

filters

MutableSequence[google.ai.generativelanguage.ContentFilter]

A set of content filtering metadata for the prompt and response text.

This indicates which SafetyCategory\ (s) blocked a candidate from this response, the lowest HarmProbability that triggered a block, and the HarmThreshold setting for that category.