You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The token limit for the Gemini embedding model is 2048 (which is roughly 8200 characters), and the model will silently truncate the input to its max allowed length. Consider removing irrelevant comments, such as Trybot messages.
The text was updated successfully, but these errors were encountered:
This will give us an idea of how often and how much of the
truncation actually happens.
Updates #35
Change-Id: I90669124c9447645081aed43ed2c4f638c2c80c7
Reviewed-on: https://go-review.googlesource.com/c/oscar/+/617757
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
The token limit for the Gemini embedding model is 2048 (which is roughly 8200 characters), and the model will silently truncate the input to its max allowed length. Consider removing irrelevant comments, such as Trybot messages.
The text was updated successfully, but these errors were encountered: