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
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
openai_simple-0.1.0.tar.gz
(23.8 MB
view hashes)
Built Distribution
Close
Hashes for openai_simple-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f473ae38d0be52eb77e14e950a511d9a343b20ad7d32ea6645a2cfcf8480451 |
|
MD5 | be6b97109deb82104cd0f882cf81062e |
|
BLAKE2b-256 | 8afccd7da1d7cafe62c1ac1b7aa1fa2f945e2e2205e1223b9f3443fd8644618f |