Skip to content

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

feat: add openai gpt 4 turbo model (#1682)

Max Deichmannb3f09e95557d
diff --git a/packages/shared/prisma/migrations/20240411224142_update_models/migration.sql b/packages/shared/prisma/migrations/20240411224142_update_models/migration.sql
new file mode 100644
index 0000000000..ee2158c77d
--- /dev/null
+++ b/packages/shared/prisma/migrations/20240411224142_update_models/migration.sql
@@ -0,0 +1,16 @@
+INSERT INTO models (
+ id,
+ project_id,
+ model_name,
+ match_pattern,
+ start_date,
+ input_price,
+ output_price,
+ total_price,
+ unit,
+ tokenizer_id,
+ tokenizer_config
+)
+VALUES
+ -- https://platform.openai.com/docs/models/continuous-model-upgrades
+ ('cluvpl4ls000008l6h2gx3i07', NULL, 'gpt-4-turbo', '(?i)^(gpt-4-turbo)$', NULL, 0.00001, 0.00003, NULL, 'TOKENS', 'openai', '{ "tokensPerMessage": 3, "tokensPerName": 1, "tokenizerModel": "gpt-4-1106-preview" }')
\ No newline at end of file