Incontinuity
Context control for LLM inference on a per-token basis
Incontinuity allows developers to modify the context prompt after each token is generated by an LLM. Instead of waiting for the entire LLM output to be generated, developers can now control the prompt and outputs at any point in the generation.
For example, instead of waiting for an LLM to generate some typed XML code, you can make a ContextController that will backtrack and add context to the prompt if the LLM makes a mistake in the generation.
Think of it like using an IDE. You're writing code and you made a typo, so you go back and fix it. Oh no, you used the wrong type, so you go back and fix it. Incontinuity allows you to do the same thing with LLMs.
I've been working on LLM agents since the inception of LLMs and I've always wanted to have this level of control. I havent seen any packages for this, so I decided to create one. I hope you find it useful!
Metadata
Release files for incontinuity 0.0.0
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 |
|---|---|---|---|---|
| incontinuity-0.0.0.tar.gz | 2.3 kB | Without provenance | Details for incontinuity-0.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| incontinuity-0.0.0-py3-none-any.whl | Python 3 | none | any | Details for incontinuity-0.0.0-py3-none-any.whl |
Total release size: 5.0 kB
Release files / incontinuity-0.0.0.tar.gz
| Download URL | incontinuity-0.0.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
deae27ccd15ad7139270c1933fea2d782f6f83c9ac6bb9b6f1e9979bdc8102ed
|
|
BLAKE2b-256 checksum How to use checksums |
28f7725fa5eb636cd4a8fc23a6cfa25713ca214f9ed0b24a39612c87e69265de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.5 Darwin/23.5.0
|
Release files / incontinuity-0.0.0-py3-none-any.whl
| Download URL | incontinuity-0.0.0-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1f6864ff66a81556073be6315868d1be7d2c7885557a4cc0987b8423e93348f
|
|
BLAKE2b-256 checksum How to use checksums |
67f9a6a70ef2cab2eee8080aba73189654200d15663372fb43a4c19866e96fe6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.5 Darwin/23.5.0
|
Security for incontinuity 0.0.0
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.