feat: revert back to gpt-4, results are way better
This commit is contained in:
parent
180ffbd233
commit
501a94c325
@ -18,7 +18,7 @@ function processChatGptResult(resultString: string) {
|
|||||||
export async function chat(prompt: string, { isList, temperature }: { isList?: boolean, temperature?: number } = {}) {
|
export async function chat(prompt: string, { isList, temperature }: { isList?: boolean, temperature?: number } = {}) {
|
||||||
|
|
||||||
const chatCompletion = await openai.chat.completions.create({
|
const chatCompletion = await openai.chat.completions.create({
|
||||||
model: "gpt-3.5-turbo",
|
model: "gpt-4",
|
||||||
temperature: temperature ?? 0.9,
|
temperature: temperature ?? 0.9,
|
||||||
messages: [
|
messages: [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user