This is my first module, to help using OpenAi API
Project description
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)
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
Aihelper64-1.0.0.tar.gz
(2.3 kB
view hashes)