Skip to content

farsabbutt/openai-cli-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โญOpenAI CLI Docker

Docker image blueprint of OpenAI CLI (Command line interface) with all the dependencies installed (python, pip etc) that can be used to fine-tune/train a model with custom data sets. OpenAI CLI Fine-Tuning Docs

๐Ÿ’ซ Getting Started

๐Ÿ“‹ Configure your OpenAI API Key

#.env.local
OPENAI_API_KEY="<YOUR_OPENAI_API_KEY>"

Execute the following commands in the given order:

๐Ÿ”จ Build

First build the image:

./dev-tools.sh build

๐Ÿš€ Start

Then start the container:

./dev-tools.sh start

๐ŸŽฌ Execute

Then execute commands in the running container:

./dev-tools.sh exec

๐Ÿƒ Run

At this point you can start using openai CLI:

openai

โ›” Stop

Finally once finished, you can stop the running container:

./dev-tools.sh stop

About

Docker image blueprint of OpenAI CLI (Command line interface) with all the required dependencies installed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors