АДРЕСНЫЙ РЕЖИМ - авторан история - юи + адресный рендер прогонов в реалтайме
This commit is contained in:
@@ -188,6 +188,9 @@ export interface AutoRunAnnotationRecord {
|
||||
comment: string;
|
||||
manual_case_decision: ManualCaseDecision;
|
||||
annotation_author: string | null;
|
||||
resolved: boolean;
|
||||
resolved_at: string | null;
|
||||
resolved_by: string | null;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
context: {
|
||||
@@ -198,6 +201,8 @@ export interface AutoRunAnnotationRecord {
|
||||
prompt_version: string | null;
|
||||
domain: string | null;
|
||||
query_class: string | null;
|
||||
question_text: string | null;
|
||||
answer_text: string | null;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -243,6 +248,8 @@ export interface AutoRunDialogMessage {
|
||||
trace_id: string | null;
|
||||
reply_type: string | null;
|
||||
message_index: number;
|
||||
case_id?: string | null;
|
||||
case_message_index?: number | null;
|
||||
commented: boolean;
|
||||
annotation: AutoRunAnnotationRecord | null;
|
||||
}
|
||||
@@ -251,7 +258,7 @@ export interface AutoRunDialogResponse {
|
||||
ok: boolean;
|
||||
run_id: string;
|
||||
case_id: string;
|
||||
source: "assistant_session" | "report_fallback" | "none";
|
||||
source: "assistant_session" | "report_fallback" | "run_aggregate" | "none";
|
||||
session_id: string;
|
||||
messages: AutoRunDialogMessage[];
|
||||
decomposition: string[];
|
||||
@@ -320,6 +327,8 @@ export interface AutoGenHistoryRecord {
|
||||
assistant_prompt_version: string | null;
|
||||
decomposition_prompt_version: string | null;
|
||||
prompt_fingerprint: string | null;
|
||||
autogen_personality_id: string | null;
|
||||
autogen_personality_prompt: string | null;
|
||||
} | null;
|
||||
}
|
||||
|
||||
@@ -329,6 +338,57 @@ export interface AutoGenHistoryResponse {
|
||||
items: AutoGenHistoryRecord[];
|
||||
}
|
||||
|
||||
export interface AutoGenPersonalityDefinition {
|
||||
id: string;
|
||||
label: string;
|
||||
domain: string | null;
|
||||
default_prompt: string;
|
||||
source: "built_in" | "capabilities_registry";
|
||||
}
|
||||
|
||||
export interface AutoGenPersonalityCatalogResponse {
|
||||
ok: boolean;
|
||||
generated_at: string;
|
||||
items: AutoGenPersonalityDefinition[];
|
||||
}
|
||||
|
||||
export interface AsyncEvalRunCase {
|
||||
case_id: string;
|
||||
turns_total: number;
|
||||
status: "queued" | "running" | "completed" | "failed";
|
||||
messages: AutoRunDialogMessage[];
|
||||
}
|
||||
|
||||
export interface AsyncEvalRunJob {
|
||||
job_id: string;
|
||||
status: "queued" | "running" | "completed" | "failed";
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
eval_target: AutoRunTarget;
|
||||
run_id: string;
|
||||
case_set_file: string | null;
|
||||
total_cases: number;
|
||||
completed_cases: number;
|
||||
error: string | null;
|
||||
cases: AsyncEvalRunCase[];
|
||||
report_summary: {
|
||||
run_id: string | null;
|
||||
run_timestamp: string | null;
|
||||
score_index: number | null;
|
||||
cases_total: number | null;
|
||||
} | null;
|
||||
}
|
||||
|
||||
export interface AsyncEvalRunStartResponse {
|
||||
ok: boolean;
|
||||
job: AsyncEvalRunJob;
|
||||
}
|
||||
|
||||
export interface AsyncEvalRunStatusResponse {
|
||||
ok: boolean;
|
||||
job: AsyncEvalRunJob;
|
||||
}
|
||||
|
||||
export type AssistantFallbackType = "none" | "out_of_scope" | "clarification" | "partial" | "unknown";
|
||||
export type AssistantReplyType =
|
||||
| "factual"
|
||||
|
||||
Reference in New Issue
Block a user