Skip to main content

A simple way to get response from the ChatGPT 3 model. Written in rust.

Project description

openai-simple

A simple way to communicate with GPT 3.

Installation

Install with pip.

pip install openai-simple  

Usage/Examples

import openai_simple

openai_simple.get_answer("Who is Bill Clinton?", 100, API_KEY)

(100 is max tokens in the response.)

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

openai_simple-0.1.0.tar.gz (23.8 MB view hashes)

Uploaded Source

Built Distribution

openai_simple-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl (2.5 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

Supported by

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