Package com.google.cloud.vertexai.generativeai (1.15.0)

GitHub Repository

Classes

Class Description
com.google.cloud.vertexai.generativeai.AutomaticFunctionCallingResponder A responder that automatically calls functions when requested by the GenAI model.
com.google.cloud.vertexai.generativeai.ChatSession Represents a conversation between the user and the model.

Note: this class is NOT thread-safe.

com.google.cloud.vertexai.generativeai.Constants A class that holds all constants for vertexai/generativeai.
com.google.cloud.vertexai.generativeai.ContentMaker Helper class to create content.
com.google.cloud.vertexai.generativeai.ContentMaker.ContentMakerForRole Helper class to create content for a given role. Instantiated by ContentMaker.forRole("role").
com.google.cloud.vertexai.generativeai.FunctionDeclarationMaker Helper class to create com.google.cloud.vertexai.api.FunctionDeclaration
com.google.cloud.vertexai.generativeai.GenerativeModel This class holds a generative model that can complete what you provided. This class is thread-safe.

Note: The instances of ChatSession returned by GenerativeModel#startChat() are

com.google.cloud.vertexai.generativeai.GenerativeModel.Builder Builder class for GenerativeModel.
com.google.cloud.vertexai.generativeai.PartMaker Helper class to create com.google.cloud.vertexai.api.Part
com.google.cloud.vertexai.generativeai.ResponseHandler Helper class to post-process GenerateContentResponse.
com.google.cloud.vertexai.generativeai.ResponseStream An iterable of GenerateContentResponse.
com.google.cloud.vertexai.generativeai.ResponseStreamIteratorWithHistory Iterator of the ResponseStream that holds the response chunks.
com.google.cloud.vertexai.generativeai.SchemaMaker Helper class to create com.google.cloud.vertexai.api.Schema