Skip to content

A simple app that lets you talk with gpt-3.5 directly on the command line. This is the equivalent of a hello-world but for AI.

Notifications You must be signed in to change notification settings

miguelangelo78/hello-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello-ai

A simple app written in typescript that lets you talk with gpt-3.5 directly on the command line prompt by prompt.

This is the equivalent of a hello-world but for AI.

Installation

npm install

Usage

Run npm start and the console will prompt you for the first question. The AI will answer and it will wait for your next question.

You can adjust the AI by setting the context using the method AI.setContext. Please make sure to limit the token length - if the limit is reached the AI will begin to lose context.

API Key

Please rename env.template to .env and replace your OpenAI key.

About

A simple app that lets you talk with gpt-3.5 directly on the command line. This is the equivalent of a hello-world but for AI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published