Chat and get the weather using natural language. Built with OpenAI Functions, OpenWeather, and the Vercel AI SDK.
Introduction · Setting Up Locally · Tech Stack · License
Test weather is an open-source AI chatbot that uses OpenAI Functions and the Vercel AI SDK to interact with the OpenWeather API with natural language.
based off of this example by steven-tey: https://github.com/steven-tey/chathn/assets/28986134/9c0ad554-f4e5-4e98-8771-5999ddf79235
To set up ChatWeather locally, you'll need to clone the repository and set up the following environment variables:
OPENAI_API_KEY
– your OpenAI API key (you can get one here)OPENWEATHER_API_KEY
- your OpenWeather API key (you can get one here)
ChatWeather is built on the following stack:
- Next.js – framework
- OpenAI Functions - AI completions
- Vercel AI SDK – AI streaming library
- Vercel – deployments
- TailwindCSS – styles
- Debbie Ly (@deb_i_deb)
Licensed under the MIT license.