🪢 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
chore: backfill projectid on score (#2011)
Marc Klingen8550d7313f2c
diff --git a/packages/shared/prisma/migrations/20240508132736_scores_backfill_project_id/migration.sql b/packages/shared/prisma/migrations/20240508132736_scores_backfill_project_id/migration.sqlnew file mode 100644index 0000000000..502a2cd95a--- /dev/null+++ b/packages/shared/prisma/migrations/20240508132736_scores_backfill_project_id/migration.sql@@ -0,0 +1,5 @@+-- Backfill project_id on existing scores based on linked trace_id+UPDATE scores+SET project_id = traces.project_id+FROM traces+WHERE scores.trace_id = traces.id AND scores.project_id IS NULL;