A simple command line tool to simplify single-prompt lookups using the OpenAI API.
- clone this repo
git clone git@github.com:hart-venus/cli-lookup.git
- compile the binary
cd cli-lookup
cargo build --release
- export your OpenAI API key
EXPORT OPENAI_API_KEY=<your-api-key>
Replace <your-api-key>
with your actual API key.
./target/release/cli-lookup "What's the weather like in San Francisco?"