A helper package for OpenAI API
Project description
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.
Then, export your API key as an environment variable:
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:
pip install ./
Usage
See example_usage.py.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openaichathelper-0.1.1.tar.gz.
File metadata
- Download URL: openaichathelper-0.1.1.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed082b614361ac06c6f8bee01beb5789bc12d39b9ecdb449629f6207141555f5
|
|
| MD5 |
c9466547414492e7547da990ce735806
|
|
| BLAKE2b-256 |
4b51aa567761600d8a685db90efe5122ae35ee96dc60f9b99c9d7fcefaec43b8
|
File details
Details for the file openaichathelper-0.1.1-py3-none-any.whl.
File metadata
- Download URL: openaichathelper-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f399da81f9ec6f79ac463219fb3f75e0822be447130d625945ba62d7267491a
|
|
| MD5 |
dbac0a87bdbf2e03ddd07dad7b507efb
|
|
| BLAKE2b-256 |
64f346c9d3e680596d3cfdac1090aa02d2e171d4d1a00c345c0ec0382f945423
|