/iWhat

What is it? Using AI Inspired by pyWhat

Primary LanguagePythonMIT LicenseMIT

iWhat

What is it? Using AI Inspired by pyWhat

image image

安装

pip install iwhat

使用

iwhat ${word} 看截图你就懂了

注意

  1. 能正常联网的环境或 proxy
  2. 如果你遇到了墙需要用 Cloudflare Workers 替换 api_base 请使用 --api_base ${url} 来替换。请注意,此处你输入的api应该是"https://xxxx/v1"的字样,域名需要用引号包裹
  3. what 请用单引号包裹
  4. export OPENAI_API_KEY=${your_api_key} or --openai_key ${key}

赞赏

谢谢就够了