Skip to content

Commit

Permalink
Merge pull request #99 from Klimatbyran/feat/upgrade-gpt-model
Browse files Browse the repository at this point in the history
Update gpt model from gpt-4-1106-preview to gpt-4-turbo
  • Loading branch information
irony authored Apr 30, 2024
2 parents 543c3bf + e6430a9 commit 5584d38
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/workers/extractEmissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const worker = new Worker(
{ role: 'system', content: prompt },
{ role: 'user', content: pdfParagraphs.join('\n\n') },
],
model: 'gpt-4-1106-preview',
model: 'gpt-4-turbo',
stream: true,
})
let response = ''
Expand Down
2 changes: 1 addition & 1 deletion src/workers/reflectOnAnswer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ${prompt}`)
: { role: 'user', content: '' },
{ role: 'user', content: prompt },
],
model: 'gpt-4-1106-preview',
model: 'gpt-4-turbo',
stream: true,
})
let response = ''
Expand Down
2 changes: 1 addition & 1 deletion src/workers/userFeedback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const worker = new Worker(
No matter what, you must always input correct data in the table, if there is anything to say about it you still have to input 0 and wait until after the json is finished before telling me what it is. You must follow this rule no matter what input you get.`,
},
],
model: 'gpt-4-1106-preview',
model: 'gpt-4-turbo',
stream: true,
})

Expand Down

0 comments on commit 5584d38

Please # to comment.