让chatgpt使用工具
简体中文 | English
An open-source chatgpt tool ecosystem where you can combine tools with chatgpt and use natural language to do anything. If plugins are the App store for ChatGPT, then ChatGPT-Tool-Hub is the APK installer for Android.
You can install directly using pip by doing chatgpt-tool-hub
import os
from chatgpt_tool_hub.apps import AppFactory
os.environ["LLM_API_KEY"] = "YOUR_LLM_API_KEY"
os.environ["PROXY"] = "YOUR_PROXY_ADDRESS"
app = AppFactory().create_app()
reply = app.ask("YOUR_QUESTION_TO_HERE")
print(reply)
- python
- requests(GET by default)
- terminal
- meteo-weather
- wikipedia
- news(you need news_api_key from https://newsapi.org/)
- wolfram-alpha(you need wolfram_alpha_appid from https://developer.wolframalpha.com/)
- google-search(you need google_api_key and google_cse_id described here https://cloud.google.com/docs/authentication/api-keys?visit_id=638154342880239948-3750907574&rd=1&hl=zh-cn)