Transform plain text to JSON
Project description
json that
transform any raw text to json, using LLM.
Provider:
- OpenAI
- Claude AI
- Mistral AI
- Ollama (local)
installation
pip install jsonthat
jt --setup
usage
echo 'my name is jay' | jt
{
"name": "Jay"
}
options:
--schema <json_schema_file> Pass a json schema to format the output
--provider <provider> Specify the LLM provider to use
--stream Stream the output
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jsonthat-0.3.1.tar.gz
(5.5 kB
view details)
Built Distribution
File details
Details for the file jsonthat-0.3.1.tar.gz
.
File metadata
- Download URL: jsonthat-0.3.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.6.32-linuxkit
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1efb0aa6594b9dd38ecfedefc6e5044c46fec37efe6f0a156a549550c5763f5 |
|
MD5 | f4c05868ca88bbc211339cf1f3514a4f |
|
BLAKE2b-256 | ae2619edf0fe1074ffd005058fe68cf015b3d94be70ae85f9b8dd85d682fefcf |
File details
Details for the file jsonthat-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: jsonthat-0.3.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.6.32-linuxkit
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73abc5e22829f98c07716f5054d28466ba89bdb7ada823a93689c64c98b3ec6c |
|
MD5 | 10bb374074fc959121b4d78e96dc96ce |
|
BLAKE2b-256 | ff45e6e65fe822f069c143a0861b7876fd45b7a83f811d8a00b831cbcbff6121 |