Skip to content

rojikaru/openai-pilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAI Pilot (My first interaction with their API)

This is a simple project to test the OpenAI API. The idea is to create a simple chatbot that can answer questions about the OpenAI API. Also there is a simple function that can generate a picture based on a prompt.

How to run the project

  1. Clone the repository
git clone git@github.com:Narkobaron15/openai-pilot.git
  1. Install the dependencies
npm install
  1. Create a .env file in the root of the project and add the following environment variables:
OPENAI_API_KEY=your_openai_api_key
  1. Run the project
node --env-file=.env main.js

About

An example of the interaction with OpenAI API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published