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.
我在沉浸式翻译用的“https://apipro.maynor1024.live”接口没问题,这里一直不行,配置之后一片空白,按照上面的放方法后面甲加一个chat就可以了“https://apipro.maynor1024.live/v1/chat/completions”