Update web page config

This commit is contained in:
Xin Wang
2026-02-06 23:09:24 +08:00
parent c6f4ecd911
commit dc3130d387
11 changed files with 1028 additions and 41 deletions

View File

@@ -41,6 +41,16 @@ export interface KnowledgeDocument {
uploadDate: string;
}
export type InteractionType = 'text' | 'audio' | 'video';
export interface InteractionDetail {
role: 'user' | 'assistant';
content: string; // Text content or transcript
audioUrl?: string; // Placeholder for audio url
imageUrls?: string[]; // For video frames
timestamp: string;
}
export interface CallLog {
id: string;
source: 'debug' | 'external';
@@ -48,6 +58,8 @@ export interface CallLog {
startTime: string;
duration: string;
agentName: string;
type: InteractionType;
details?: InteractionDetail[];
}
export interface Workflow {
@@ -127,3 +139,31 @@ export interface AutoTestAssistant {
intelligentPrompt: string;
createdAt: string;
}
export interface Tool {
id: string;
name: string;
description: string;
category: 'system' | 'query';
icon: string;
isCustom?: boolean;
}
export interface LLMModel {
id: string;
name: string;
vendor: string;
type: 'text' | 'embedding' | 'rerank';
baseUrl: string;
apiKey: string;
temperature?: number;
}
export interface ASRModel {
id: string;
name: string;
vendor: 'OpenAI Compatible';
language: string;
baseUrl: string;
apiKey: string;
}