Metadata-Version: 2.4
Name: OpenAIChatHelper
Version: 0.1.1
Summary: A helper package for OpenAI API
Project-URL: Homepage, https://github.com/<you>/<repo>
Project-URL: Issues, https://github.com/<you>/<repo>/issues
Author-email: Yining Hong <yhong3@andrew.cmu.edu>
License: MIT
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Requires-Dist: markdown-it-py>=3.0.0
Requires-Dist: mdformat>=0.7.0
Requires-Dist: openai>=1.0.0
Description-Content-Type: text/markdown

# OpenAIChatHelper

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


## Installation

First, obtain your OpenAI API key from [OpenAI API Keys](https://platform.openai.com/settings/organization/api-keys).

Then, export your API key as an environment variable:

```bash
export OPENAI_API_KEY="YOUR_API_KEY_HERE"
```

To avoid repeating this every session, add the line to your `~/.bashrc` or `~/.zshrc`.

Install the package locally:

```bash
pip install ./
```

## Usage

See `example_usage.py`.
