Package dev.langchain4j.model.vertexai
package dev.langchain4j.model.vertexai
-
ClassDescriptionPossible harm categories for the generation of responses that have been blocked by the model.Safety thresholds, for the harm categories for the generation of responses that have been blocked by the model.Helper class to create a
com.google.cloud.vertexai.api.Schema
from a JSON schema string, or from a class by reflection on its public fields.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.Deprecated, for removal: This API element is subject to removal in a future version.The "Bison" models have been discontinued by Google.Represents a Google Vertex AI embedding model, such as textembedding-gecko.Represents a Google Vertex AI Gemini language model with a chat completion interface, such as gemini-pro.Represents a Google Vertex AI Gemini language model with a stream chat completion interface, such as gemini-pro.Image model for the Google Cloud Vertex AI Imagen image generation models.Supported aspect ratios: 1:1, 9:16, 16:9, 4:3, and 3:4.Image style can be specified forimagen@002
.Supported mime types: only PNG and JPEG image formats can be generated.Specify whether persons are allowed to be generated.Deprecated, for removal: This API element is subject to removal in a future version.The "Bison" models have been discontinued by Google.Implementation of aScoringModel
for the Google Cloud Vertex AI Ranking API.