Skip to content

Latest commit

 

History

History
66 lines (47 loc) · 3.79 KB

README.md

File metadata and controls

66 lines (47 loc) · 3.79 KB
AIWeather: Weather forecasting with AI.

An open-source AI weather forecasting app built with Next.js, the Vercel AI SDK, Google Gemini, and OpenWeather API.

Features · Model Providers · Deploy Your Own · Running locally · Authors


Features

Model Providers

This template ships with Google Gemini models/gemini-1.0-pro-001 as the default. However, thanks to the Vercel AI SDK, you can switch LLM providers to OpenAI, Anthropic, Cohere, Hugging Face, or using LangChain with just a few lines of code.

Deploy Your Own

You can deploy your own version of the AIWeather to Vercel with one click:

Deploy with Vercel

Running locally

You will need to use the environment variables defined in .env.example to run AIWeather. It's recommended you use Vercel Environment Variables for this, but a .env file is all that is necessary.

Note: You should not commit your .env file or it will expose secrets that will allow others to control access to your various Google Cloud and authentication provider accounts.

  1. Install Vercel CLI: npm i -g vercel
  2. Link local instance with Vercel and GitHub accounts (creates .vercel directory): vercel link
  3. Download your environment variables: vercel env pull
pnpm install
pnpm dev

Your app template should now be running on localhost:3000.

Authors

This library is created by Vercel and Next.js team members, with contributions from:

This project is adapted for AIWeather by Ivander Andreas Wijaya