Skip to main content

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


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)

Uploaded Source

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