From fd59d166b79d24a43ceacf90dc068c3315f060c6 Mon Sep 17 00:00:00 2001 From: Alexander Song Date: Mon, 8 Apr 2024 15:16:15 -0700 Subject: [PATCH] add label, score, and explanation columns --- src/phoenix/db/migrations/versions/cf03bd6bae1d_init.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/phoenix/db/migrations/versions/cf03bd6bae1d_init.py b/src/phoenix/db/migrations/versions/cf03bd6bae1d_init.py index 2d82ec2038..ae3bc641ef 100644 --- a/src/phoenix/db/migrations/versions/cf03bd6bae1d_init.py +++ b/src/phoenix/db/migrations/versions/cf03bd6bae1d_init.py @@ -83,6 +83,9 @@ def upgrade() -> None: sa.Column("id", sa.Integer, primary_key=True), sa.Column("span_rowid", sa.Integer, sa.ForeignKey("traces.id"), nullable=False), sa.Column("name", sa.String, nullable=False), + sa.Column("label", sa.String, nullable=False), + sa.Column("score", sa.Float, nullable=False), + sa.Column("explanation", sa.String, nullable=False), sa.UniqueConstraint("name", "span_rowid"), )