Skip to content

Chatbot using the OpenAI API in Node.js, allowing it to respond to user queries and store messages for conversation context.

Notifications You must be signed in to change notification settings

nachtlz/chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatBot with OpenAI API

This is a simple project that utilizes the API provided by OpenAI to create a chatbot with Node.js. The chatbot will respond to all your questions and store all messages to maintain conversation context.

Captura de pantalla 2024-02-05 171049

To use the application, you need to create a .env file where you'll create a variable named OPENAI_API_KEY=YOUR_KEY and assign it the API Key from your OpenAI account. You can obtain this key here.

After that, install dependencies

npm install

Run the application

npm start

This project was created on 02/05/2024, be careful and check if the syntax of OpenAI has changed.

About

Chatbot using the OpenAI API in Node.js, allowing it to respond to user queries and store messages for conversation context.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published