jesselau76 / ebook-GPT-translator

Enjoy reading with your favorite style.
https://jesselau.com
MIT License
1.63k stars 211 forks source link

如果使用GPT4模型? #50

Open fish0513 opened 1 year ago

fish0513 commented 1 year ago

我的API已经通过GPT-4白名单,我在哪里设置可以将默认gpt-3.5模型修改为gpt-4

kentaroy47 commented 1 year ago

def create_chat_completion(prompt, text, model="gpt-3.5-turbo", **kwargs): change the model to gpt-4

free521521521 commented 1 year ago

I have set to gpt-4, but they show: openai.error.InvalidRequestError: The model: gpt-4 does not exist

kentaroy47 commented 1 year ago

I think you need the api access of gpt-4 beforehand.