Skip to main content

A tool designed for working with 🧑‍💻ChatGPT API🧑‍💻

Project description

VoAI v0.0.4 - tool designed for working with ChatGPT API

Change log

  • Removed ask_with_context method from GPT35Turbo
  • Added new_chat method for GPT35Turbo to create GPT35TurboChat instance, now to use ask_with_context you need to create it
  • Added ask method for GPT35TurboChat is same as ask_with_context of GPT35Turbo in v0.0.3
  • Added clear method for GPT35TurboChat which clears whole chat
  • Added regenerate method for GPT35TurboChat which regenerates response using index of context array returned by get_context method of the same struct


# here is cli example of chat gpt api
import voai

KEY = "your-api-key"

gpt = voai.GPT35Turbo(KEY)
chat = gpt.new_chat()
while True:
    query = input("> ")

    response = chat.ask(query)

Using libraries

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

voai-0.0.4.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

voai-0.0.4-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

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