llm-to-json 0.0.0__py3-none-any.whl → 0.0.13__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {llm_to_json-0.0.0.dist-info → llm_to_json-0.0.13.dist-info}/METADATA +29 -27
- llm_to_json-0.0.13.dist-info/RECORD +4 -0
- llm_to_json-0.0.0.dist-info/RECORD +0 -4
- {llm_to_json-0.0.0.dist-info → llm_to_json-0.0.13.dist-info}/WHEEL +0 -0
- {llm_to_json-0.0.0.dist-info → llm_to_json-0.0.13.dist-info}/top_level.txt +0 -0
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: llm-to-json
|
|
3
|
-
Version: 0.0.
|
|
4
|
-
Summary: Tiny wrapper exposing Prompture helpers to convert LLM output into JSON.
|
|
5
|
-
Author-email: Juan Denis <juan@vene.co>
|
|
6
|
-
License: MIT
|
|
7
|
-
Keywords: llm,json,prompt,structured-output
|
|
8
|
-
Requires-Python: >=3.9
|
|
9
|
-
Description-Content-Type: text/markdown
|
|
10
|
-
Requires-Dist: prompture>=0.0.1
|
|
11
|
-
|
|
12
|
-
# llm-to-json
|
|
13
|
-
|
|
14
|
-
Tiny wrapper around `prompture` with a minimal, easy-to-use API for converting LLM output (or raw text) into JSON according to a schema.
|
|
15
|
-
|
|
16
|
-
Install:
|
|
17
|
-
```bash
|
|
18
|
-
pip install llm-to-json
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Usage:
|
|
22
|
-
|
|
23
|
-
```python
|
|
24
|
-
from llm_to_json import from_llm_text
|
|
25
|
-
schema = {"name": "string", "age": "int"}
|
|
26
|
-
print(from_llm_text("Name: Juan Age: 30", schema))
|
|
27
|
-
```
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: llm-to-json
|
|
3
|
+
Version: 0.0.13
|
|
4
|
+
Summary: Tiny wrapper exposing Prompture helpers to convert LLM output into JSON.
|
|
5
|
+
Author-email: Juan Denis <juan@vene.co>
|
|
6
|
+
License: MIT
|
|
7
|
+
Keywords: llm,json,prompt,structured-output
|
|
8
|
+
Requires-Python: >=3.9
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
Requires-Dist: prompture>=0.0.1
|
|
11
|
+
|
|
12
|
+
# llm-to-json
|
|
13
|
+
|
|
14
|
+
Tiny wrapper around `prompture` with a minimal, easy-to-use API for converting LLM output (or raw text) into JSON according to a schema.
|
|
15
|
+
|
|
16
|
+
Install:
|
|
17
|
+
```bash
|
|
18
|
+
pip install llm-to-json
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Usage:
|
|
22
|
+
|
|
23
|
+
```python
|
|
24
|
+
from llm_to_json import from_llm_text
|
|
25
|
+
schema = {"name": "string", "age": "int"}
|
|
26
|
+
print(from_llm_text("Name: Juan Age: 30", schema))
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
For full docs and advanced features, see the main project: Prompture — https://github.com/jhd3197/prompture
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
llm_to_json-0.0.13.dist-info/METADATA,sha256=tI8O0P7QErP-ArCS8QxsMHnE2r5nY2VXtXyJkV53H_o,794
|
|
2
|
+
llm_to_json-0.0.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
3
|
+
llm_to_json-0.0.13.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
4
|
+
llm_to_json-0.0.13.dist-info/RECORD,,
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
llm_to_json-0.0.0.dist-info/METADATA,sha256=JEE7hGfLG1MXUg1J2tzhMGXX1R36vL8ZPjTb8CAnpgw,709
|
|
2
|
-
llm_to_json-0.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
3
|
-
llm_to_json-0.0.0.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
4
|
-
llm_to_json-0.0.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|