Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 580 Bytes

File metadata and controls

15 lines (10 loc) · 580 Bytes

Examples

You can run these examples using:

git clone https://github.com/googleapis/java-genai.git
cd java-genai
mvn clean install -Djacoco.skip=true -DskipTests

cd examples
export GOOGLE_API_KEY=...
mvn compile exec:java -Dexec.mainClass="com.google.genai.examples.GenerateContent"

The jacoco.skip is required due to issue #756, and the skipTests just makes it faster.

Issue #801 may avoid having to first install in the future.