1.0.7 • Published 12 months ago
hexo-gpt-tag v1.0.7
hexo-gpt-tag
Automatically generate article tags with GPT-3.5 中文文档
Installation
npm install hexo-gpt-tag
Usage
- Add the following to your Hexo site's
_config.yml
file:
gpt_tag:
enable: true
apiKey: <YOUR OPENAI API KEY>
override: true # whether to override existing tags
max_tags: 5 # Generate at most how many tags
You can get your API key from here. It may require a paid plan to use the API.
- Run the following command when ready to generate your site:
hexo clean && hexo generate
Make sure to run BOTH hexo clean
and hexo generate
.