micvbang / openai-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Simple CLI to send chat queries to ChatGPT.

Run

Create the following script in order to easily run the CLI:

#!/usr/bin/env bash

export OPENAI_API_KEY=sk-your-openai-api-key
python3 -u ~/path/to/openai-cli/main.py $@

About


Languages

Language:Python 100.0%