feat: 使用 ChatGPT 服务猜测后备标题(Bangumi 中没有条目数据时) #103
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
background:
在bangumi中没有正确条目的文件(NCOP/NCED/Interview/MV/PV/Live/Stage等),一般会生成一个不可读的标题
为了给这些文件一个人类可读的标题,可以使用openai服务给ep起一个合适的标题
example:
启用该功能时,需要填入对应的openai key
保存后测试可用后即可开启