fix: 🐛 minor fix on api usage

This commit is contained in:
Grey_D
2023-04-30 23:08:46 +08:00
parent 3054c3e800
commit 152c226208
3 changed files with 16 additions and 11 deletions

View File

@@ -3,7 +3,10 @@ import dataclasses
@dataclasses.dataclass
class ChatGPTConfig:
# if you're using chatGPT (not API), please use "text-davinci-002-render-sha"
# if you're using API, you may configure based on your needs
model: str = "text-davinci-002-render-sha"
# set up the openai key
openai_key = ""
# set the user-agent below