Skip to main content

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

Usage

# 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)
    print(response)

Using libraries

Release files for voai 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for voai 0.0.4
File Size Uploaded
voai-0.0.4.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for voai 0.0.4
File Interpreter ABI Platform
voai-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 13.7 kB

Release files / voai-0.0.4.tar.gz

Download URL voai-0.0.4.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
aa8f876ccb7cadcb49d027c9b989669909175d2d0666bb1c93e7bb8f8ca158e0
BLAKE2b-256 checksum
How to use checksums
35cece8cfc3002efe480f032f0715e7c79d44febb2ead94c1f2d9b68d586c091
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / voai-0.0.4-py3-none-any.whl

Download URL voai-0.0.4-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2bea04c004d1d47a34dae3da5862b00bc64556408f12056df7937ee59c0535f
BLAKE2b-256 checksum
How to use checksums
b491771620b1eb4e82a432967f73cd888c4fbfbd23295633320ce8c3405006e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page