sqlchat / sqlchat

Chat-based SQL Client and Editor for the next decade

Home Page:https://sqlchat.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support GPT 4.0

zhangbinhui opened this issue · comments

Is your feature request related to a problem?

目前用的是 gpt3.5 吧?如果我想改成 4,在哪里可以更改?

Describe the solution you'd like

界面添加也行,或者配置文件在哪,谢谢。

Additional context

No response

model: "gpt-3.5-turbo",

body: JSON.stringify({
      model: "gpt-3.5-turbo",
      messages: reqBody.messages,
      temperature: 0,
      frequency_penalty: 0.0,
      presence_penalty: 0.0,
      stream: true,
    }),
  });

代码里面写死了的,可改代码或者env定义改

谢谢,看起来只能改代码,再自己重新打包?用docker改env 好像只能修改.env里已经有的参数,这个model并不在.env里面,我就不会弄了。。。

It's released