Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

feat: add token/character count support for gemini-1.5-flash and gemini-1.5-pro (#2255)

Marc Klingen1933f8f20104
diff --git a/packages/shared/prisma/migrations/20240606090858_pricings_add_latest_gemini_models/migration.sql b/packages/shared/prisma/migrations/20240606090858_pricings_add_latest_gemini_models/migration.sql
new file mode 100644
index 0000000000..eaebbbe05e
--- /dev/null
+++ b/packages/shared/prisma/migrations/20240606090858_pricings_add_latest_gemini_models/migration.sql
@@ -0,0 +1,5 @@
+-- does not include pricing yet, will be added as soon as it is calculated at ingestion time
+
+INSERT INTO "public"."models" ("id", "model_name", "match_pattern", "unit") VALUES ('clx30djsn0000w9mzebiv41we', 'gemini-1.5-flash', '(?i)^(gemini-1.5-flash)(@[a-zA-Z0-9]+)?$', 'CHARACTERS');
+
+INSERT INTO "public"."models" ("id", "model_name", "match_pattern", "unit") VALUES ('clx30hkrx0000w9mz7lqi0ial', 'gemini-1.5-pro', '(?i)^(gemini-1.5-pro)(@[a-zA-Z0-9]+)?$', 'CHARACTERS');
\ No newline at end of file