feat(harness): add chat application use case

This commit is contained in:
zhuyongxin
2026-07-22 00:57:39 +08:00
parent ee0949d464
commit f8809cb7dd
56 changed files with 2815 additions and 6 deletions
@@ -1,5 +1,7 @@
package com.superbiz.agent.domain.entity;
import com.superbiz.agent.harness.contract.IntentType;
import com.superbiz.agent.harness.contract.ReleaseOutcome;
import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
@@ -48,6 +50,18 @@ public class DiagnosisRun {
@Column(name = "answer", columnDefinition = "LONGTEXT")
private String answer;
@Enumerated(EnumType.STRING)
@Column(name = "intent", length = 32)
private IntentType intent;
@Enumerated(EnumType.STRING)
@Column(name = "release_outcome", length = 16)
private ReleaseOutcome releaseOutcome;
@JdbcTypeCode(SqlTypes.JSON)
@Column(name = "published_result", columnDefinition = "JSON")
private String publishedResult;
@JdbcTypeCode(SqlTypes.JSON)
@Column(name = "self_evaluation", columnDefinition = "JSON")
private String selfEvaluation;