This gist is for zotero-pdf-translate.
Please ask your question at repo issues for faster responses
请在仓库issue进行提问以获得更快的回复
- Register an account on the OpenAI website.
- After successful registration, go to API keys and create an key, which looks like
sk-XXXXXX
. - Fill in the url with the complete URL, such as
https://api.openai.com/v1/chat/completions
. - For the model, enter a model name such as
gpt-4o
. - When using the official OpenAI API, ensure your network environment allows direct connection to OpenAI .
- When using a 3-party OpenAI compatible API, follow the same format as above.
我也使用的这个项目,我在api网址https://api.chatanywhere.cn的后面加上/v1/chat/completions,就可以使用了。另外推荐你使用zotero gpt插件,里面也可以用翻译功能