Skip to content

Let ChatGPT truly learn how to go online and call APIs! 'EX-ChatGPT' can rival and even surpass NewBing

License

Notifications You must be signed in to change notification settings

YunYi/EX-chatGPT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EX-chatGPT introduction

update

  • update OpenAI GPT3.5 Turbo offical API support, super fast and cheap.
  • update extra API calls and search summarizations to give a more comprehensive and detailed answer.
  • update web chatmode and fix some bugs(below is the detailed mode) web

Background

"ChatGPT as Inherent Toolformer" means that ChatGPT has the ability to become a tool for various tasks without requiring additional adjustments.

However, ChatGPT has some limitations such as being unable to connect to the internet and difficulty solving math problems.

ToolFormer enables language models to use specific tools for different tasks. Can ChatGPT be equipped with ToolFormer's abilities?

The challenge is how to adapt ToolFormer's API generation process to ChatGPT.

Recent experiments demonstrate that given a specific prompt, ChatGPT has a natural ability to create APIs for text.

Therefore, it can be concluded that ChatGPT has inherent ToolFormer capabilities!

Toolformer Paper the subproject WebChatGPT enchanced is based on WebChatGPT chrome extension

Demo

ExChatGPT-bilibili API call Demos: API QA Demos: math zhihu zhihu zhihu zhihu

Usage

Ex-chatGPT

  • pip install pip install -r requirements.txt
  • fill your API keys in api_class.py and main.py
    • Google api key and client id
    • wolframAlpha api key
    • openAI api key
      • use to summarize when there are too many querys
    • openAI api key(new feature) or chatGPT access_token(old version)
    • (3.2, OpenAI has published the GPT-3.5 Turbo API , you can replace it with the newsest one)
  • run the main.py and click the local url like http:https://127.0.0.1:5000/
  • if you need detailed, mode uncomment it in the main.py

WebChatGPTEnhance

  • fill you Googgle api key and client id in chatGPTChromeEhance/src/util/apiManager.ts/getDefaultAPI
  • run npm install
  • run npm run build-prod
  • get the extension in chatGPTChromeEhance/build
  • add your prompts and APIs in option page.
    • APIs and prompts examples are in /WebChatGPTAPI
    • wolframAlpha needs to run local sever - WebChatGPTAPI/WolframLocalServer.py

About

Let ChatGPT truly learn how to go online and call APIs! 'EX-ChatGPT' can rival and even surpass NewBing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 67.0%
  • Python 19.5%
  • HTML 5.0%
  • JavaScript 4.7%
  • CSS 3.8%