Skip to content

Commit

Permalink
Merge pull request #3 from chanwit-y/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
chanwit-y authored Dec 11, 2024
2 parents 3d63b89 + 0d8e754 commit 1d30ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/api/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class OpenAIAPI {
content: [
{
text: `ตอบกลับเป็น json\n{\n "word": "${word}",\n "thai": "...", //แปลคำว่า ${word} เป็นภาษาไทยของคำว่า \n "english": "...", //คำอ่านและการออกเสียง ${word} เป็นภาษาไทย\n "types": [...], //ประเภทของคำของคำว่า ${word}\n "examples": [...], //ตัวอย่างการใช้คำว่า ${word} ในประเภทคำต่างๆ แค่ sentence เท่านั้น\n}`,
type: "text",
type: "text", // Change to json type
},
],
},
Expand Down

0 comments on commit 1d30ab1

Please sign in to comment.