Gemini
Represents a client for interacting with the Gemini API, providing methods to extract content, embed content, and retrieve model information.
Functions
Embeds contents in batch using the embedding-001 model.
Counts the number of tokens in the provided text using a specified model.
Creates a new cached content entry in the system.
Deletes a specific cached content entry by name.
Sends a DELETE request to the specified URL to delete content.
Embeds content using the embedding-001 model.
Generates content based on the provided input JSON using a specified model.
Fetches cached content by name.
Performs a POST request to the specified URL string with the given input JSON payload.
Retrieves a collection of models available in the Gemini API.
Retrieves a list of cached content entries.