Module async_gemini::models::generate_content::response
source · Structs§
- A response candidate generated from the model.
- Safety rating for a piece of content. The safety rating contains the category of harm and the harm probability level in that category for a piece of content. Content is classified for safety across a number of harm categories and the probability of the harm classification is included here.
Enums§
- Defines the reason why the model stopped generating tokens.
- The probability that a piece of content is harmful. The classification system gives the probability of the content being unsafe. This does not indicate the severity of harm for a piece of content.