纯小白 步骤1.1.2死活搞不懂
HoshinoHikariNeko opened this issue · 8 comments
Hi, Code 401
means your API key is not authorized by OpenAI, thus you can't use the API for ChatGPT.
Please make sure your config.yaml
has the following content in it:
openaiApiKey: "<your_openai_api_key>"
openaiOrganizationID: "<your_organization_id>"
chatgptTriggerKeyword: "<your_keyword>"
As mentioned in Section 1.1.1, you should:
- Apply on OpenAI official website for your own API key
- Fill in the
<your_openai_api_key>
blank inconfig.yaml
file to resolveCode 401
error - Fill in the
<your_keyword>
blank to set the trigger keyword (if you want)
Also, the config.yaml.example
file only serves as an example of how your config.yaml
file should look like.
Yep I've got my API before. The problem I have just because I can't find the absolute path(?) of the file"config.yaml". I can't find this file
Yep I've got my API before. The problem I have just because I can't find the absolute path(?) of the file"config.yaml". I can't find this file
You can create one yourself or change the name of config.yaml.example
to config.yaml
and fill in your API key.
Yep I've got my API before. The problem I have just because I can't find the absolute path(?) of the file"config.yaml". I can't find this file
You can create one yourself or change the name of
config.yaml.example
toconfig.yaml
and fill in your API key.
Yep I've got my API before. The problem I have just because I can't find the absolute path(?) of the file"config.yaml". I can't find this file
You can create one yourself or change the name of to and fill in your API key.
config.yaml.example``config.yaml
Just create a new one at \ChatGPT-on-WeChat-master or another path like \ChatGPT-on-WeChat-master\doc ?(A stupid question, forgive me)