Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Java examples

This directory contains examples of working with the Gemini API using the Google Gen AI SDK for Java.

Install dependencies

open the project in intelliJ IDEA, load the maven build script.

Run a test file

Before running the tests, set GOOGLE_API_KEY as environment variable for run/debug configuration.

mvn -Dtest=<filename> test

For example:

mvn -Dtest=CodeExecutionTest test