Skip to content

Commit 9953dcb

Browse files
유미라유미라
authored andcommitted
chore: Update AI model from gpt-mini to gpt-4o
1 parent a9f358d commit 9953dcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/common/services/openai/openai.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class OpenAIService {
1515
async checkDrawing(image: string, answer: string) {
1616
try {
1717
const response = await this.openai.chat.completions.create({
18-
model: 'gpt-4o-mini',
18+
model: 'gpt-4o',
1919
messages: [
2020
{
2121
role: 'system',
@@ -52,7 +52,7 @@ export class OpenAIService {
5252
properties: {
5353
result: {
5454
type: 'string',
55-
enum: ['OK', 'Length', 'INITIAL', 'FULL_ANSWER'],
55+
enum: ['OK', 'LENGTH', 'INITIAL', 'FULL_ANSWER'],
5656
description: 'The value must be one of the specified statuses.',
5757
},
5858
},

0 commit comments

Comments
 (0)