Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mharrvic/chatgpt-weather-plugin
ChatGPT Weather Plugin using Open-Meteo API
https://github.com/mharrvic/chatgpt-weather-plugin
chatgpt chatgpt-plugins open-meteo-api openapi
Last synced: 8 days ago
JSON representation
ChatGPT Weather Plugin using Open-Meteo API
- Host: GitHub
- URL: https://github.com/mharrvic/chatgpt-weather-plugin
- Owner: mharrvic
- License: mit
- Created: 2023-03-26T23:30:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-15T04:45:13.000Z (almost 2 years ago)
- Last Synced: 2024-11-15T19:39:31.376Z (2 months ago)
- Topics: chatgpt, chatgpt-plugins, open-meteo-api, openapi
- Language: Python
- Homepage: https://chatgpt-weather-plugin.vercel.app
- Size: 35.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## ChatGPT Weather Plugin using Open-Meteo API
This plugin is a simple example of how to use the Open-Meteo API to get weather data and display it in ChatGPT.
### Local Setup
1. `poetry install` to install the dependencies
2. `poetry run python uvicorn api.main:app` to run the API### Deploying to Vercel
1. Generate a copy of `requirements.txt` from poetry pyproject.toml by running `poetry export --without-hashes -o requirements.txt`
2. Create a new project on Vercel or setup the CLI
3. Manually setup the project to Vercel UI or using the CLI by running `vercel deploy`### Test the API to LangChain (if you still have no access to ChatGPT Plugins like me huhu)
1. Open the notebook `(chatgpt_plugins_langchain_weather_mac.ipynb)` to google colab and replace the API URL with your own API URL