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://www.cnblogs.com/eslzzyl/p/18314797 和 https://bailian.console.aliyun.com/?spm=a2c4g.11186623.0.0.8530b0a8d6az6t#/model-market/detail/qwen-plus
我在 https://bailian.console.aliyun.com/?apiKey=1#/api-key 获得 api-key,然后配置为
接口:https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions
模型:qwen-plus
成功使用!