Skip to content

Starter template for building ModelFusion terminal apps with TypeScript.

License

Notifications You must be signed in to change notification settings

lgrammel/modelfusion-terminal-app-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ModelFusion Terminal App Starter

The ModelFusion Terminal App Starter is a template for creating your own AI terminal app. It is based on the ModelFusion library and uses OpenAI's gpt-3.5-turbo-instruct model to generate text. Follow the steps below to set up your environment.

Prerequisites

Get the Code

Clone this repository to your local machine.

git clone https://github.com/lgrammel/modelfusion-terminal-app-starter.git

Dependencies

Navigate to the project directory and install required packages.

cd modelfusion-terminal-app-starter
npm install

API Key Configuration

Create a .env file in the project root. Add your OpenAI API key like so:

OPENAI_API_KEY="your-api-key"

Launch the App

Run the following command to start the app:

npm start

That's it! You can now modify the starter to create your own AI terminal app.

About

Starter template for building ModelFusion terminal apps with TypeScript.

Topics

Resources

License

Stars

Watchers

Forks