VoAI v0.0.4 - tool designed for working with ChatGPT API
Change log
- Removed
ask_with_contextmethod fromGPT35Turbo - Added
new_chatmethod forGPT35Turboto createGPT35TurboChatinstance, now to useask_with_contextyou need to create it - Added
askmethod forGPT35TurboChatis same asask_with_contextofGPT35Turboin v0.0.3 - Added
clearmethod forGPT35TurboChatwhich clears whole chat - Added
regeneratemethod forGPT35TurboChatwhich regenerates response using index of context array returned byget_contextmethod 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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| voai-0.0.4.tar.gz | 6.8 kB | Without provenance | Details for voai-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| voai-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for voai-0.0.4-py3-none-any.whl |
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
|
Security for voai 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.