Offline JSON schema validation & auto-repair for local LLMs
Project description
llm-schema-lock
Оффлайн-валидация JSON для локальных LLM. Автоматически чинит битый JSON.
Установка
pip install llm-schema-lock
Пример использования:
from llm_schema_lock import validate_and_fix
schema = {"type": "object", "properties": {"answer": {"type": "string"}}, "required": ["answer"]}
result = validate_and_fix('{"answer": "OK"}', schema)
print(result)
Купить Pro-лицензию:
Цена: 1 990 ₽/мес или 14 900 ₽ навсегда
Инструкция по покупке:
1.Получи свой ID компьютера командой: python -c "from llm_schema_lock._license import check_license; print(check_license()['machine_id'])"
2.Переведи деньги по СБП на номер: +7-952-635-10-55 (ВТБ)
3.В комментарии к переводу напиши: lic:ТВОЙ_ID
4.Отправь скриншот чека в Telegram: @iLL1cc
5.В течение 15 минут получишь файл license.dat
Лицензия:
MIT. Коммерческое использование требует Pro-ключа.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llm_schema_lock-0.1.2-py3-none-any.whl.
File metadata
- Download URL: llm_schema_lock-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4419b76e6c6c91c2eec641532341b3d4ad926b1a8e6b3d51cd120c30c98a4ee
|
|
| MD5 |
6ca6094be6841b26dd92db05ba16ccd3
|
|
| BLAKE2b-256 |
6dfe6345f2f838d8f5004ce3642ac0cce9abcc215179dd6b51c096f9f6a8b22f
|