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
- Model
Information - Captures the information for a specific Google generative AI model.
- Model
Information List - Lists the available models for the Gemini API.
- Part
Enums§
- Model
- Response
Type - Defines the type of response expected from the API. Used at the end of the API URL for the Gemini API.
- Role