add moty version

2025_moty
reng 3 weeks ago
parent 2f3d96702c
commit ce06877408
  1. BIN
      vite/public/assets/moty/q1.mp3
  2. BIN
      vite/public/assets/moty/q2-1.mp3
  3. BIN
      vite/public/assets/moty/q2.mp3
  4. BIN
      vite/public/assets/moty/q3.mp3
  5. BIN
      vite/public/assets/moty/q5.mp3
  6. BIN
      vite/public/assets/moty/q7.mp3
  7. 99
      vite/public/cuelist_moty.json
  8. 4
      vite/src/main.jsx
  9. 1125
      vite/src/pages/flow_moty.jsx

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -0,0 +1,99 @@
{
"cuelist": [
{
"id": 1,
"name": "Q1",
"type": "phone",
"description": "preset announce",
"audioFile": "assets/moty/q1.mp3",
"layer":"announce",
"loop": true,
"status":"reset",
"fadeout": true,
"nextcue": 2,
"auto": true
},
{
"id": 2,
"name": "Q2",
"type": "phone",
"description": "引導輸入電話號碼",
"auto": true,
"audioFile": "assets/moty/q2.mp3",
"nextcue": 3,
"callback":"numpad",
"numpad_type":"userid",
"input_time": 26000
},
{
"id":2.1,
"name": "Q2.1",
"type": "phone",
"description": "撥打音效",
"auto": false,
"audioFile": "assets/moty/q2-1.mp3",
"loop": true,
"nextcue": 3,
"fadeout": true
},
{
"id": 3,
"name": "Q3",
"type": "phone",
"description": "引導生圖",
"auto": true,
"audioFile": "assets/moty/q3.mp3",
"nextcue": 4,
"status":"intro",
"status_delay": 3000
},
{
"id": 4,
"name": "Q4",
"type": "chat",
"description": "chat",
"auto": true,
"nextcue": 5,
"duration": 90,
"status":"go",
"chatInterval":20
},
{
"id": 5,
"name": "Q5",
"type": "phone",
"description": "提取完成",
"auto": true,
"audioFile": "assets/moty/q5.mp3",
"nextcue": 6
},
{
"id": 6,
"name": "Q6",
"type": "user_input",
"description": "call",
"duration": 30,
"auto": true,
"nextcue": 6.1
},
{
"id":6.1,
"name":"Q6.1",
"type":"summary",
"auto":true,
"description":"summary",
"nextcue":7
},
{
"id": 7,
"name": "Q7",
"type": "phone",
"description": "Ending",
"auto": true,
"audioFile": "assets/moty/q7.mp3",
"status":"end",
"soundcue":"Q3"
}
]
}

@ -6,6 +6,7 @@ import './index.css'
import App from './App.jsx'
import { Settings } from './pages/settings.jsx';
import { Flow } from './pages/flow.jsx';
import { FlowMoty } from './pages/flow_moty.jsx';
import { Conversation } from './pages/conversation.jsx';
import { ChatProvider } from './util/useChat.jsx';
import { DataProvider } from './util/useData.jsx';
@ -20,10 +21,11 @@ createRoot(document.getElementById('root')).render(
<BrowserRouter>
<App />
<Routes>
<Route path="/" element={<FreeFlow />} />
<Route path="/" element={<FlowMoty />} />
<Route path="/flow" element={<Flow />} />
<Route path="/free-flow" element={<FreeFlow />} />
<Route path="/settings" element={<Settings />} />
<Route path="/moty" element={<FlowMoty />} />
</Routes>
</BrowserRouter>
</ChatProvider>

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save