farsabbutt / openai-cli-docker

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⭐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


Languages

Language:Shell 94.0%Language:Dockerfile 6.0%