Skip to content

Commit

Permalink
Use right tags in count token multimodal
Browse files Browse the repository at this point in the history
  • Loading branch information
rlazo committed Jun 19, 2024
1 parent 19e338f commit 5c88f27
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public void onFailure(Throwable t) {
}

void tokensMultimodalImageInline(Context context) {
// [START tokens_multimodal-image_inline]
// The Gemini 1.5 models are versatile and work with both text-only and multimodal prompts
GenerativeModel gm =
new GenerativeModel(
Expand Down Expand Up @@ -169,7 +170,7 @@ public void onFailure(Throwable t) {
}
},
executor);
// [END tokens_text-only]
// [END tokens_multimodal-image_inline]

}
}

0 comments on commit 5c88f27

Please sign in to comment.