Skip to main content

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openaichathelper-0.1.1.2.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openaichathelper-0.1.1.2-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file openaichathelper-0.1.1.2.tar.gz.

File metadata

  • Download URL: openaichathelper-0.1.1.2.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for openaichathelper-0.1.1.2.tar.gz
Algorithm Hash digest
SHA256 e98c63834d0f11cc1b6f606e2b39537ea1dd9288c4ff1ba7a929fc5bc8be7174
MD5 ca335f18c02b79b28d79bf3d9e73caed
BLAKE2b-256 a53141969df2122950a4e8d631882d17bd50c44b28b12f2271398c093596c9ca

See more details on using hashes here.

File details

Details for the file openaichathelper-0.1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for openaichathelper-0.1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4f2ebf9540052ec0430ad8f0a72d88101ac81bd5f73d7a58948e50efbb99b98f
MD5 38ec185832233d11c2a16bcf335d708c
BLAKE2b-256 25e3e2b7e667cc3c0f53e15ca40a2400472e10d5fbdbbd99ea195d69b158e3e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page