Skip to content

A simple weather chatbot based on ChatGPT and Weather API

Notifications You must be signed in to change notification settings

RidiculousData/weather-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Chatbot

Version 0.1

Description This is a very simple chatbot that uses ChatGPT's Tools API to call a weather function. The purpose of this simple project was to understand how agents work in ChatGPT.

Prerequisites

This project requires the following accounts and API keys:

Setup

  1. Install all node dependencies

    npm install
    
  2. Create .env file in the root of the project and add the following API keys. Note: no quotes or spaces needed.

    WEATHER_API_KEY=XXXXXXXX
    OPEN_API_KEY=XXXXXXX
    
  3. To run use the following command:

    node weather_chatbot.mjs
    

About

A simple weather chatbot based on ChatGPT and Weather API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published