Skip to main content

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

Release files for OpenAIChatHelper 0.1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for OpenAIChatHelper 0.1.1.2
File Size Uploaded
openaichathelper-0.1.1.2.tar.gz 12.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for OpenAIChatHelper 0.1.1.2
File Interpreter ABI Platform
openaichathelper-0.1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 28.0 kB

Release files / openaichathelper-0.1.1.2.tar.gz

Download URL openaichathelper-0.1.1.2.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e98c63834d0f11cc1b6f606e2b39537ea1dd9288c4ff1ba7a929fc5bc8be7174
BLAKE2b-256 checksum
How to use checksums
a53141969df2122950a4e8d631882d17bd50c44b28b12f2271398c093596c9ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / openaichathelper-0.1.1.2-py3-none-any.whl

Download URL openaichathelper-0.1.1.2-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f2ebf9540052ec0430ad8f0a72d88101ac81bd5f73d7a58948e50efbb99b98f
BLAKE2b-256 checksum
How to use checksums
25e3e2b7e667cc3c0f53e15ca40a2400472e10d5fbdbbd99ea195d69b158e3e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release history Release notifications | RSS feed

This release

0.1.1.2 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page