Module gemini

Module gemini 

Source
Expand description

Handles the text interaction with the API

Modules§

request
The request format follows the following structure:
response
The response format follows the following structure:
safety
The safety data for HarmCategory, HarmBlockThreshold and HarmProbability

Structs§

Content
ModelInformation
Captures the information for a specific Google generative AI model.
ModelInformationList
Lists the available models for the Gemini API.
Part

Enums§

Model
ResponseType
Defines the type of response expected from the API. Used at the end of the API URL for the Gemini API.
Role