feat(eval): Playground GLM 评分落库并可恢复
在 conversations 表增加 playground_conversation_judge_json,流式/非流式对话评审结束后写入最近一次快照(整体分、逐轮分、对比文案、错误与基线文件名等)。新增只读 GET 供前端按会话拉取;评测台 Playground 切换会话时自动恢复,并提示基线是否和当时一致。
This commit is contained in:
@@ -27,6 +27,8 @@ class Conversation(Base):
|
||||
current_topic = Column(String, nullable=True)
|
||||
conversation_stage = Column(String, nullable=True)
|
||||
deleted_at = Column(DateTime(timezone=True), nullable=True)
|
||||
# 内部评测 Playground:最近一次 GLM 对话评分快照(含逐轮分与对比文案)
|
||||
playground_conversation_judge_json = Column(JSON, nullable=True)
|
||||
|
||||
user = relationship("User", back_populates="conversations")
|
||||
segments = relationship(
|
||||
|
||||
Reference in New Issue
Block a user