使用GPT API进行Zotero翻译

在这里插入图片描述

利用第三方平台,可以使用GPT API进行Zotero翻译,这里用Qwen/Qwen2.5-7B-Instruct为例子。
1、在平台上进行注册,获得API密钥
打开网址进行注册:
https://cloud.siliconflow.cn/i/gdCQNw8o
注册完后,点击左侧的API密钥,然后点击右侧的新建API密钥。
在这里插入图片描述

2、在Zotero的翻译插件上进行配置
选择Chatgpt翻译服务,输入密钥
在这里插入图片描述
点击配置,输入下面内容。
接口:https://api.siliconflow.cn/v1/chat/completions
模型:Qwen/Qwen2.5-7B-Instruct
温度:1.3
Prompt:As an academic expert with specialized knowledge in various fields, please provide a proficient and precise translation from ${langFrom} to ${langTo} of the academic text enclosed in 🔤. It is crucial to maintaining the original phrase or sentence and ensure accuracy while utilizing the appropriate language. The text is as follows: 🔤 ${sourceText} 🔤 Please provide the translated result without any additional explanation and remove 🔤.
Stream:√
保存即可进行翻译!

Logo

GitCode 天启AI是一款由 GitCode 团队打造的智能助手,基于先进的LLM(大语言模型)与多智能体 Agent 技术构建,致力于为用户提供高效、智能、多模态的创作与开发支持。它不仅支持自然语言对话,还具备处理文件、生成 PPT、撰写分析报告、开发 Web 应用等多项能力,真正做到“一句话,让 Al帮你完成复杂任务”。

更多推荐