Giter VIP home page Giter VIP logo

chatanywhere's Introduction

Chat-Anywhere

使用GPT-3.5 API创建的Copilot,支持office、word、wps等软件中使用
在任意软件内使用快捷键补全选中文本,word和wps中都可以方便的使用

Star the Repository

特性

在任意软件内使用
编写文档的好助手

演示动图

选中文本作为上下文提示,按下快捷键Ctrl+Alt+\激活补全,开始后将会自动逐字输出补全的内容

  1. word中使用
    word补全演示

  2. 微信聊天中使用
    微信补全演示

设置界面

image

使用前提(目前仅支持Windows)

  1. 因国内IP被封或OpenAI API被墙,因此自己需要有代理,稍后需要配置
  2. 有openai账号,注册事项可以参考此文章
  3. 创建好api_key, 进入OpenAI链接,右上角点击,进入页面设置
    image

部署方法

  1. 执行 pip install -r requirements.txt安装必要包
  2. 执行OPANAI_API_KEY=sk-XXXX python main.py来运行,其中sk-XXXX为你的apikey
  3. 在弹出的界面中配置代理或apikey,里面已有默认配置,也可打开main.py文件,在程序中修改API_KEY和https_proxy默认值
  4. 关于更新,当代码更新时,使用git pull更新重新部署即可

使用方法

部署完成后,任意可输入文字界面,选中文字作为上下文提示,Ctrl+Alt+\激活补全

chatanywhere's People

Contributors

liangyang666 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.