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.1.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.1-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openaichathelper-0.1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 dbdfe05286c3b6f21cb2ba50feed3e1bd38479c64aa4fe1788b03c89883eaa88
MD5 553689f3468edf1c698d929d52741c51
BLAKE2b-256 c9ff0c6d09366de4d3e575bf1c582d0c82d8443f471912a62fd6581e10e3bd24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openaichathelper-0.1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e60f79f9aae82f0ff72b9fca0d7ada730b092bb2ea604d1758c7fc632e377352
MD5 0f7cc27a922faaf574e866adc4d54fff
BLAKE2b-256 94f51e4b9f32292819dc6adc5d02a12a086ec8e5577b9a47563a368294ea5b97

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