Skip to content

Gemini workshop for Java developers, using the LangChain4j orchestration framework

License

Notifications You must be signed in to change notification settings

upl-depot/gemini-workshop-for-java-developers

 
 

Repository files navigation

Gemini in Java with Vertex AI and LangChain4j

Note

This is the code for Gemini in Java with Vertex AI and LangChain4j codelab geared towards Java developers to discover Gemini and its open-source variant Gemma Large Language Model by Google using LangChain4j framework.

Prerequisites

The code examples have been tested on the following environment:

  • Java 21
  • Gradle 8.6

In order to run these examples, you need to have a Google Cloud account and project ready.

Before running the examples, you'll need to set up two environment variables:

export PROJECT_ID=YOUR_PROJECT_ID
export LOCATION=us-central1

Warning

Be sure to update the project ID and location to match your project.

Create the Gradle wrapper:

gradle wrapper

Samples

These are the list of samples for different use cases:


This is not an official Google product.

About

Gemini workshop for Java developers, using the LangChain4j orchestration framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%