边栏缩略图,小助手添加工具配置,添加自动测试大类
This commit is contained in:
25
types.ts
25
types.ts
@@ -10,6 +10,7 @@ export interface Assistant {
|
||||
voice: string;
|
||||
speed: number;
|
||||
hotwords: string[];
|
||||
tools?: string[]; // IDs of enabled tools
|
||||
}
|
||||
|
||||
export interface Voice {
|
||||
@@ -97,5 +98,27 @@ export interface WorkflowEdge {
|
||||
|
||||
export enum TabValue {
|
||||
GLOBAL = 'global',
|
||||
VOICE = 'voice'
|
||||
VOICE = 'voice',
|
||||
TOOLS = 'tools'
|
||||
}
|
||||
|
||||
export enum TestType {
|
||||
FIXED = 'fixed',
|
||||
INTELLIGENT = 'intelligent'
|
||||
}
|
||||
|
||||
export enum TestMethod {
|
||||
TEXT = 'text',
|
||||
AUDIO = 'audio'
|
||||
}
|
||||
|
||||
export interface AutoTestAssistant {
|
||||
id: string;
|
||||
name: string;
|
||||
type: TestType;
|
||||
method: TestMethod;
|
||||
targetAssistantId: string;
|
||||
fixedWorkflowSteps: string[];
|
||||
intelligentPrompt: string;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user