Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 722 Bytes

Readme.md

File metadata and controls

37 lines (21 loc) · 722 Bytes

GlobDict

一个基于 ChatGPT 的多语言词典

A multilingual dictionary based on ChatGPT

English Readme here

安装方法

下载 release 里的软件

OpenAI 官网申请 API Key

注意,你的OpenAI的API账户里应有余额。即此软件不是免费的,但不是给我钱而是给OpenAI。

添加OPENAI_API_KEY到环境变量

Windows

setx OPENAI_API_KEY "your-api-key-here"

MacOS

编辑 ~/.bash_profile 或者 ~/.zshrc 文件

在文件的最下方新增一行

export OPENAI_API_KEY='your-api-key-here'

输入命令source ~/.bash_profilesource ~/.zshrc来更新