gptprobe
Simple example:
from gptprobe.askfor.dictfrompoorlyformattedtext import ask_for_text_from_poorly_formatted_dict_text
messy_dict_text = """ Final score are
Australia 1
Brazil 2
bummer """
print(ask_for_text_from_poorly_formatted_dict_text(text = messy_dict_text))
The result is:
{"Australia": "1", "Brazil": "2"}
This package contains simple and complex multi-step interrogations intended to yield structured data, including patterns where ChatGPT4 tries to help itself out of a rut, rephrases questions, ratifies answers using a different key, tries to reformat its own responses, and so forth. It may help with your own unmanned missions into the galactic brain.
Install & environ setup
pip install gptprobe
Then from open ai developer help yourself to a key and inject into environment somehow. E.g.
import os
os.environ['OPEN_AI_KEY'] = 'sk-ekOvFjAHKETQYABBADABBADDAYADDA'
Maybe you want to mimic gptprobe/public_setenv.py and import NOTHING from it in your scripts.
User Guide
Troubleshooting
File an issue. Pull requests are welcomed.
Metadata
Release files for gptprobe 0.1.6
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 |
|---|---|---|---|---|
| gptprobe-0.1.6.tar.gz | 14.3 kB | Without provenance | Details for gptprobe-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gptprobe-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for gptprobe-0.1.6-py3-none-any.whl |
Total release size: 37.3 kB
Release files / gptprobe-0.1.6.tar.gz
| Download URL | gptprobe-0.1.6.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d636751e383d8f216e4d7d7b496a1ee750bca863ec51c1e3910fe4fe8504f9c8
|
|
BLAKE2b-256 checksum How to use checksums |
8344c231a5bf6468498bfe71d1b4179db2d31fdcd6a5e34b5099749a4e4748c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / gptprobe-0.1.6-py3-none-any.whl
| Download URL | gptprobe-0.1.6-py3-none-any.whl |
|---|---|
| Size | 23.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b7ea86a2266e0807d12290fe74f929b3f8ccbd507ecf26784703530cc8d82d9
|
|
BLAKE2b-256 checksum How to use checksums |
b07f357b52e933e7d23ac0818dc37df8c7e65e4b86a264201ac0cfe7719b0612
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for gptprobe 0.1.6
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.