LangChain4j integration for Google Vertex AI models including chat, language, embedding, image, and scoring capabilities
—
—
Does it follow best practices?
Impact
—
No eval scenarios have been run
—
The risk profile of this skill
LangChain4j integration for Google Vertex AI. Provides Java APIs for chat, language, embedding, image, and scoring models.
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-vertex-ai</artifactId>
<version>1.11.0-beta19</version>
</dependency>VertexAiChatModel model = VertexAiChatModel.builder()
.endpoint("https://us-central1-aiplatform.googleapis.com/v1/")
.project("your-project-id")
.location("us-central1")
.publisher("google")
.modelName("chat-bison@001")
.build();