Skip to content

hyn0027/OpenAIChatHelper

Repository files navigation

OpenAIChatHelper

Getting annoyed at managing complicated and long prompts and doing substitutions. So creating this helper to make things easier.

🚀 Installation

1. Set up your API key

Get your OpenAI API key from OpenAI API Keys.

Then, export it as an environment variable:

export OPENAI_API_KEY="YOUR_API_KEY_HERE"

To make this persistent, add the above line to your shell configuration file (~/.bashrc, ~/.zshrc, etc.).

2. Install the package

From PyPI:

pip install OpenAIChatHelper

Or, to install locally from source:

pip install ./

💡 Usage

Check out the example script:

python example_usage.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages