Commit 7a42081
authored
Limit embedding requests to text samples under 10k (google#155)
The `embeddings-gecko-001` model doesn't seem to like anything over 10k,
so filter them out in the tutorial.1 parent 67c8fd3 commit 7a42081
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| 421 | + | |
| 422 | + | |
421 | 423 | | |
422 | 424 | | |
423 | 425 | | |
| |||
0 commit comments