Index
All Classes and Interfaces|All Packages
A
- ANY - Enum constant in enum class dev.langchain4j.model.vertexai.ToolCallingMode
-
Gemini must ask only for a specified set of function calls (defined by the allowedFunctionNames() method)
- AUTO - Enum constant in enum class dev.langchain4j.model.vertexai.ToolCallingMode
-
Lets Gemini decide if it needs to request a function call
B
- BLOCK_LOW_AND_ABOVE - Enum constant in enum class dev.langchain4j.model.vertexai.SafetyThreshold
- BLOCK_MEDIUM_AND_ABOVE - Enum constant in enum class dev.langchain4j.model.vertexai.SafetyThreshold
- BLOCK_NONE - Enum constant in enum class dev.langchain4j.model.vertexai.SafetyThreshold
- BLOCK_ONLY_HIGH - Enum constant in enum class dev.langchain4j.model.vertexai.SafetyThreshold
- builder() - Static method in class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
- builder() - Static method in class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel
C
- close() - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
- close() - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel
D
- dev.langchain4j.model.vertexai - package dev.langchain4j.model.vertexai
- dev.langchain4j.model.vertexai.spi - package dev.langchain4j.model.vertexai.spi
F
- from(JsonSchemaElement) - Static method in class dev.langchain4j.model.vertexai.SchemaHelper
- fromClass(Class<?>) - Static method in class dev.langchain4j.model.vertexai.SchemaHelper
-
Create an instance of
Schemafrom a class by reflection on its fields. - fromJsonSchema(String) - Static method in class dev.langchain4j.model.vertexai.SchemaHelper
-
Create an instance of
Schemafrom a JSON schema string.
G
- generate(List<ChatMessage>) - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
- generate(List<ChatMessage>, ToolSpecification) - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
- generate(List<ChatMessage>, ToolSpecification, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel
- generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel
- generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
- generate(List<ChatMessage>, List<ToolSpecification>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel
H
- HARM_BLOCK_THRESHOLD_UNSPECIFIED - Enum constant in enum class dev.langchain4j.model.vertexai.SafetyThreshold
- HARM_CATEGORY_DANGEROUS_CONTENT - Enum constant in enum class dev.langchain4j.model.vertexai.HarmCategory
- HARM_CATEGORY_HARASSMENT - Enum constant in enum class dev.langchain4j.model.vertexai.HarmCategory
- HARM_CATEGORY_HATE_SPEECH - Enum constant in enum class dev.langchain4j.model.vertexai.HarmCategory
- HARM_CATEGORY_SEXUALLY_EXPLICIT - Enum constant in enum class dev.langchain4j.model.vertexai.HarmCategory
- HARM_CATEGORY_UNSPECIFIED - Enum constant in enum class dev.langchain4j.model.vertexai.HarmCategory
- HarmCategory - Enum Class in dev.langchain4j.model.vertexai
-
Possible harm categories for the generation of responses that have been blocked by the model.
N
- NONE - Enum constant in enum class dev.langchain4j.model.vertexai.ToolCallingMode
-
Gemini shouldn't request to make any function call
S
- SafetyThreshold - Enum Class in dev.langchain4j.model.vertexai
-
Safety thresholds, for the harm categories for the generation of responses that have been blocked by the model.
- SchemaHelper - Class in dev.langchain4j.model.vertexai
-
Helper class to create a
com.google.cloud.vertexai.api.Schemafrom a JSON schema string, or from a class by reflection on its public fields. - SchemaHelper() - Constructor for class dev.langchain4j.model.vertexai.SchemaHelper
T
- ToolCallingMode - Enum Class in dev.langchain4j.model.vertexai
-
Tool calling mode, to instruct Gemini whether it can request calls to any functions, to just a subset of the available functions, or to none at all.
U
- UNRECOGNIZED - Enum constant in enum class dev.langchain4j.model.vertexai.HarmCategory
- UNRECOGNIZED - Enum constant in enum class dev.langchain4j.model.vertexai.SafetyThreshold
V
- valueOf(String) - Static method in enum class dev.langchain4j.model.vertexai.HarmCategory
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.model.vertexai.SafetyThreshold
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.model.vertexai.ToolCallingMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.langchain4j.model.vertexai.HarmCategory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.langchain4j.model.vertexai.SafetyThreshold
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.langchain4j.model.vertexai.ToolCallingMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VertexAiGeminiChatModel - Class in dev.langchain4j.model.vertexai
-
Represents a Google Vertex AI Gemini language model with a chat completion interface, such as gemini-pro.
- VertexAiGeminiChatModel(GenerativeModel, GenerationConfig) - Constructor for class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
- VertexAiGeminiChatModel(GenerativeModel, GenerationConfig, Integer) - Constructor for class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
- VertexAiGeminiChatModel(String, String, String, Float, Integer, Integer, Float, Integer, Integer, String, Schema, Map<HarmCategory, SafetyThreshold>, Boolean, String, ToolCallingMode, List<String>, Boolean, Boolean, List<ChatModelListener>) - Constructor for class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
- VertexAiGeminiChatModel.VertexAiGeminiChatModelBuilder - Class in dev.langchain4j.model.vertexai
- VertexAiGeminiChatModelBuilder() - Constructor for class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel.VertexAiGeminiChatModelBuilder
- VertexAiGeminiChatModelBuilderFactory - Interface in dev.langchain4j.model.vertexai.spi
-
A factory for building
VertexAiGeminiChatModel.VertexAiGeminiChatModelBuilderinstances. - VertexAiGeminiStreamingChatModel - Class in dev.langchain4j.model.vertexai
-
Represents a Google Vertex AI Gemini language model with a stream chat completion interface, such as gemini-pro.
- VertexAiGeminiStreamingChatModel(GenerativeModel, GenerationConfig) - Constructor for class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel
- VertexAiGeminiStreamingChatModel(String, String, String, Float, Integer, Integer, Float, String, Schema, Map<HarmCategory, SafetyThreshold>, Boolean, String, ToolCallingMode, List<String>, Boolean, Boolean, List<ChatModelListener>) - Constructor for class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel
- VertexAiGeminiStreamingChatModel.VertexAiGeminiStreamingChatModelBuilder - Class in dev.langchain4j.model.vertexai
- VertexAiGeminiStreamingChatModelBuilder() - Constructor for class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel.VertexAiGeminiStreamingChatModelBuilder
- VertexAiGeminiStreamingChatModelBuilderFactory - Interface in dev.langchain4j.model.vertexai.spi
-
A factory for building
VertexAiGeminiStreamingChatModel.VertexAiGeminiStreamingChatModelBuilderinstances.
All Classes and Interfaces|All Packages