Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 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](https://github.com/googleapis/java-genai/issues/756), and the `skipTests` just makes it faster.

[Issue #801](https://github.com/googleapis/java-genai/issues/801) may avoid having to first `install` in the future.