This module will help you, to use module from OpenAi.
First, you need to write your API token from OpenAi with "aihelper.token('your token') Then, you can write any message to ChatGpt 3-5. Use aihelper.message("your message"). Response will be in "chat_response".
Example of code:
import aihelper
aihelper.token("token") aihelper.message(input(">>> ")) print(chat_response)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Aihelper64-1.0.0.tar.gz
(2.3 kB
view details)
File details
Details for the file Aihelper64-1.0.0.tar.gz.
File metadata
- Download URL: Aihelper64-1.0.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4254314645e85c1c980eb0e3ce5d31c049eeee5d6de07b1afd053ef332ca3e1b
|
|
| MD5 |
4bf8d833fcf55a31f331b424d9c8d31c
|
|
| BLAKE2b-256 |
895c801ae95fe133ad76a1c53fad7e1a3bdd287b0558ec6b85abf878024989e4
|