Better UX
This commit is contained in:
9
types.ts
9
types.ts
@@ -7,10 +7,14 @@ export interface Assistant {
|
||||
prompt: string;
|
||||
knowledgeBaseId: string;
|
||||
language: 'zh' | 'en';
|
||||
voice: string;
|
||||
voice: string; // This will now store the ID of the voice from Voice Library
|
||||
speed: number;
|
||||
hotwords: string[];
|
||||
tools?: string[]; // IDs of enabled tools
|
||||
interruptionSensitivity?: number; // In ms
|
||||
configMode?: 'platform' | 'dify' | 'fastgpt' | 'none';
|
||||
apiUrl?: string;
|
||||
apiKey?: string;
|
||||
}
|
||||
|
||||
export interface Voice {
|
||||
@@ -99,7 +103,8 @@ export interface WorkflowEdge {
|
||||
export enum TabValue {
|
||||
GLOBAL = 'global',
|
||||
VOICE = 'voice',
|
||||
TOOLS = 'tools'
|
||||
TOOLS = 'tools',
|
||||
LINK = 'link'
|
||||
}
|
||||
|
||||
export enum TestType {
|
||||
|
||||
Reference in New Issue
Block a user