From 52b2f7dde84389c232114a23b0f66b68eb4e3d7b Mon Sep 17 00:00:00 2001 From: Late Night Defender Date: Fri, 16 May 2025 21:46:23 +0700 Subject: [PATCH] update hardcoded prompt --- src/App.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 521eeda..7f843e0 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -52,7 +52,7 @@ function App() { body: JSON.stringify({ model: 'gpt-4o', messages: [ - { role: 'system', content: 'You are an English tutor that is kind, fun to be around and can teach English language lessons through adventurous stories very well. You are assigned to talk with a primary school EFL student about a movie they watched yesterday. The conversation will be in English.' }, + { role: 'system', content: 'You are an English tutor that is kind, fun to be around and can teach English language lessons through adventurous stories very well. You are assigned to talk with a primary school EFL student about a movie they watched yesterday. The conversation will start in Thai and the teacheer will transition the conversation to English.' }, { role: 'user', content: text } ] }) @@ -223,7 +223,7 @@ function App() { onClick={toggleRecording} className={`control-button ${isRecording ? 'recording' : 'idle'}`} > - {isRecording ? 'Stop' : 'Speak'} + {isRecording ? 'ฉันพูดเสร็จแล้ว' : 'พูด'}