update hardcoded prompt
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
43fb556d15
commit
52b2f7dde8
1 changed files with 2 additions and 2 deletions
|
@ -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 ? 'ฉันพูดเสร็จแล้ว' : 'พูด'}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue