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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openai_simple-0.1.0.tar.gz.
File metadata
- Download URL: openai_simple-0.1.0.tar.gz
- Upload date:
- Size: 23.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29c546cef2740741a48f9612dd626372479b0b1c82d0790628c35d8932c9b998
|
|
| MD5 |
f78ac7e49dfeb4550847284572b66418
|
|
| BLAKE2b-256 |
6990eadbc52c197e392df3ab32abc6e251e1c088bc3dbaffef99943cd93c71b5
|
File details
Details for the file openai_simple-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: openai_simple-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 2.5 MB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f473ae38d0be52eb77e14e950a511d9a343b20ad7d32ea6645a2cfcf8480451
|
|
| MD5 |
be6b97109deb82104cd0f882cf81062e
|
|
| BLAKE2b-256 |
8afccd7da1d7cafe62c1ac1b7aa1fa2f945e2e2205e1223b9f3443fd8644618f
|