Feishu-OpenAI-Stream-Chatbot icon indicating copy to clipboard operation
Feishu-OpenAI-Stream-Chatbot copied to clipboard

修改模型为GPT-4不生效

Open vbandci opened this issue 1 year ago • 1 comments

不知道为什么修改成gpt-4模型,数据还是gpt-3.5的

vbandci avatar May 20 '23 11:05 vbandci

请问你是从哪里看出来 “数据还是gpt-3.5” 的呢?我测试过,只要将 config.yaml 里面 配置为 OPENAI_MODEL: gpt-4,代码里面运行到: https://github.com/ConnectAI-E/Feishu-OpenAI-Stream-Chatbot/blob/59f6bd7951cf0d18a70a56820413499084d245ce/code/services/chatgpt/gpt3.go#L61 的时候就会生效了。

GPT4 的特征就是会慢一些。

此外配置的时候请按照这里配置 https://platform.openai.com/docs/models/model-endpoint-compatibility gpt-4, gpt-4-0314, gpt-4-32k, gpt-4-32k-0314, gpt-3.5-turbo, gpt-3.5-turbo-0301

bourne7 avatar May 22 '23 08:05 bourne7