🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
feat: update openai models (#1807)
Max Deichmann373ee6dda003
diff --git a/packages/shared/prisma/migrations/20240423174013_update_models/migration.sql b/packages/shared/prisma/migrations/20240423174013_update_models/migration.sqlnew file mode 100644index 0000000000..415b9d1268--- /dev/null+++ b/packages/shared/prisma/migrations/20240423174013_update_models/migration.sql@@ -0,0 +1,26 @@+DELETE FROM models WHERE id = 'cluv2t5k3000508ih5kve9zag';+DELETE FROM models WHERE id = 'clrkvq6iq000008ju6c16gynt';++INSERT INTO models (+ id,+ project_id,+ model_name,+ match_pattern,+ start_date,+ input_price,+ output_price,+ total_price,+ unit,+ tokenizer_id,+ tokenizer_config+)+VALUES+ -- updating tokenizer model to gpt-4-turbo-2024-04-09+ ('cluv2t5k3000508ih5kve9zag', NULL, 'gpt-4-turbo-2024-04-09', '(?i)^(gpt-4-turbo-2024-04-09)$', NULL, 0.00001, 0.00003, NULL, 'TOKENS', 'openai', '{ "tokensPerMessage": 3, "tokensPerName": 1, "tokenizerModel": "gpt-4-turbo-2024-04-09" }'),++ -- update gpt-4-1106-preview naming replacing gpt-4-turbo+ ('clrkvq6iq000008ju6c16gynt', NULL, 'gpt-4-1106-preview', '(?i)^(gpt-4-1106-preview)$', NULL, 0.00001, 0.00003, NULL, 'TOKENS', 'openai', '{ "tokensPerMessage": 3, "tokensPerName": 1, "tokenizerModel": "gpt-4-1106-preview" }'),++ -- apparently azure supports gpt-4-preview+ ('clv2o2x0p000008jsf9afceau', NULL, ' gpt-4-preview', '(?i)^(gpt-4-preview)$', NULL, 0.00001, 0.00003, NULL, 'TOKENS', 'openai', '{ "tokensPerMessage": 3, "tokensPerName": 1, "tokenizerModel": "gpt-4-turbo-preview" }')+\ No newline at end of file