先決條件
設定
取得你的 CometAPI API key
新增自訂翻譯引擎
開啟 Eudic → Translation Engine 設定 → Add Translation Engine。在下拉選單中找到 Custom,將其設為 OpenAI,並在 API Host 欄位輸入
https://api.cometapi.com/v1/chat/completions。透過 OpenAI 相容的聊天補全(Chat Completions)將 Eudic 翻譯連接到 CometAPI,新增你的 token、設定 API host、選擇模型,並測試翻譯。
取得你的 CometAPI API key
新增自訂翻譯引擎
https://api.cometapi.com/v1/chat/completions。