Better UX
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
|
||||
import { Assistant, CallLog, KnowledgeBase, Voice, Workflow, AutoTestAssistant, TestType, TestMethod } from '../types';
|
||||
|
||||
export const mockVoices: Voice[] = [
|
||||
{ id: 'v1', name: 'Xiaoyun', vendor: 'Ali', gender: 'Female', language: 'zh', description: 'Gentle and professional.' },
|
||||
{ id: 'v2', name: 'Kevin', vendor: 'Volcano', gender: 'Male', language: 'en', description: 'Deep and authoritative.' },
|
||||
{ id: 'v3', name: 'Abby', vendor: 'Minimax', gender: 'Female', language: 'en', description: 'Cheerful and lively.' },
|
||||
{ id: 'v4', name: 'Guang', vendor: 'Ali', gender: 'Male', language: 'zh', description: 'Standard newscast style.' },
|
||||
{ id: 'v5', name: 'Doubao', vendor: 'Volcano', gender: 'Female', language: 'zh', description: 'Cute and young.' },
|
||||
];
|
||||
|
||||
export const mockAssistants: Assistant[] = [
|
||||
{
|
||||
id: '1',
|
||||
@@ -10,9 +18,10 @@ export const mockAssistants: Assistant[] = [
|
||||
prompt: 'You are a helpful customer service agent.',
|
||||
knowledgeBaseId: 'kb1',
|
||||
language: 'en',
|
||||
voice: 'alloy',
|
||||
voice: 'v3',
|
||||
speed: 1.0,
|
||||
hotwords: ['refund', 'order'],
|
||||
interruptionSensitivity: 500,
|
||||
},
|
||||
{
|
||||
id: '2',
|
||||
@@ -22,9 +31,10 @@ export const mockAssistants: Assistant[] = [
|
||||
prompt: 'You are an energetic sales representative.',
|
||||
knowledgeBaseId: 'kb2',
|
||||
language: 'zh',
|
||||
voice: 'echo',
|
||||
voice: 'v1',
|
||||
speed: 1.1,
|
||||
hotwords: ['price', 'discount'],
|
||||
interruptionSensitivity: 300,
|
||||
},
|
||||
];
|
||||
|
||||
@@ -121,14 +131,6 @@ export const mockCallLogs: CallLog[] = [
|
||||
},
|
||||
];
|
||||
|
||||
export const mockVoices: Voice[] = [
|
||||
{ id: 'v1', name: 'Xiaoyun', vendor: 'Ali', gender: 'Female', language: 'zh', description: 'Gentle and professional.' },
|
||||
{ id: 'v2', name: 'Kevin', vendor: 'Volcano', gender: 'Male', language: 'en', description: 'Deep and authoritative.' },
|
||||
{ id: 'v3', name: 'Abby', vendor: 'Minimax', gender: 'Female', language: 'en', description: 'Cheerful and lively.' },
|
||||
{ id: 'v4', name: 'Guang', vendor: 'Ali', gender: 'Male', language: 'zh', description: 'Standard newscast style.' },
|
||||
{ id: 'v5', name: 'Doubao', vendor: 'Volcano', gender: 'Female', language: 'zh', description: 'Cute and young.' },
|
||||
];
|
||||
|
||||
export const mockAutoTestAssistants: AutoTestAssistant[] = [
|
||||
{
|
||||
id: 'at1',
|
||||
|
||||
Reference in New Issue
Block a user