Skip to content

Commit

Permalink
Update samples/src/main/java/com/google/ai/client/generative/samples/…
Browse files Browse the repository at this point in the history
…chat.kt

Co-authored-by: rachelsaunders <[email protected]>
  • Loading branch information
rlazo and rachelsaunders authored Jun 24, 2024
1 parent ad241df commit 0694a99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ suspend fun chat() {
// [START chat]
val generativeModel =
GenerativeModel(
// The Gemini 1.5 models are versatile and work with multi-turn conversations (like chat)
// Specify a Gemini model appropriate for your use case
modelName = "gemini-1.5-flash",
// Access your API key as a Build Configuration variable (see "Set up your API key" above)
apiKey = BuildConfig.apiKey)
Expand Down

0 comments on commit 0694a99

Please sign in to comment.