janus-llm 3.0.0__py3-none-any.whl → 3.0.1__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- janus/__init__.py +1 -1
- janus/converter/requirements.py +7 -6
- {janus_llm-3.0.0.dist-info → janus_llm-3.0.1.dist-info}/METADATA +1 -1
- {janus_llm-3.0.0.dist-info → janus_llm-3.0.1.dist-info}/RECORD +7 -7
- {janus_llm-3.0.0.dist-info → janus_llm-3.0.1.dist-info}/LICENSE +0 -0
- {janus_llm-3.0.0.dist-info → janus_llm-3.0.1.dist-info}/WHEEL +0 -0
- {janus_llm-3.0.0.dist-info → janus_llm-3.0.1.dist-info}/entry_points.txt +0 -0
janus/__init__.py
CHANGED
@@ -5,7 +5,7 @@ from langchain_core._api.deprecation import LangChainDeprecationWarning
|
|
5
5
|
from .converter.translate import Translator
|
6
6
|
from .metrics import * # noqa: F403
|
7
7
|
|
8
|
-
__version__ = "3.0.
|
8
|
+
__version__ = "3.0.1"
|
9
9
|
|
10
10
|
# Ignoring a deprecation warning from langchain_core that I can't seem to hunt down
|
11
11
|
warnings.filterwarnings("ignore", category=LangChainDeprecationWarning)
|
janus/converter/requirements.py
CHANGED
@@ -31,13 +31,14 @@ class RequirementsDocumenter(Documenter):
|
|
31
31
|
output_list = list()
|
32
32
|
# For each chunk of code, get generation metadata, the text of the code,
|
33
33
|
# and the LLM generated requirements
|
34
|
-
for
|
35
|
-
|
36
|
-
|
34
|
+
blocks = [block for block in block.children] if len(block.children) else [block]
|
35
|
+
for block in blocks:
|
36
|
+
code = block.original.text
|
37
|
+
requirements = self._parser.parse_combined_output(block.complete_text)
|
37
38
|
metadata = dict(
|
38
|
-
retries=
|
39
|
-
cost=
|
40
|
-
processing_time=
|
39
|
+
retries=block.total_retries,
|
40
|
+
cost=block.total_cost,
|
41
|
+
processing_time=block.processing_time,
|
41
42
|
)
|
42
43
|
# Put them all in a top level 'output' key
|
43
44
|
output_list.append(
|
@@ -1,4 +1,4 @@
|
|
1
|
-
janus/__init__.py,sha256=
|
1
|
+
janus/__init__.py,sha256=OkY9msOgEgU_jai5YdGjfv6hQG6UopI7S2J_M9EKs-U,351
|
2
2
|
janus/__main__.py,sha256=lEkpNtLVPtFo8ySDZeXJ_NXDHb0GVdZFPWB4gD4RPS8,64
|
3
3
|
janus/_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
janus/_tests/conftest.py,sha256=V7uW-oq3YbFiRPvrq15YoVVrA1n_83pjgiyTZ-IUGW8,963
|
@@ -11,7 +11,7 @@ janus/converter/converter.py,sha256=Bq07_9N_3Dv9NBqVACvb7LC2HxdQmfVZ1b0BlWrxjgo,
|
|
11
11
|
janus/converter/diagram.py,sha256=v-3ZZ4t1q74lDOjF2N6NRPkC3IK-sjLDn5_VChZTEGA,4608
|
12
12
|
janus/converter/document.py,sha256=hsW512veNjFWbdl5WriuUdNmMEqZy8ktRvqn9rRmA6E,4566
|
13
13
|
janus/converter/evaluate.py,sha256=APWQUY3gjAXqkJkPzvj0UA4wPK3Cv9QSJLM-YK9t-ng,476
|
14
|
-
janus/converter/requirements.py,sha256=
|
14
|
+
janus/converter/requirements.py,sha256=6YvrJRVH9BuPCOPxnXmaJQFYmoLYYvCu3zTntDLHeNg,1832
|
15
15
|
janus/converter/translate.py,sha256=kMlGUiBYGQBXSxwX5in3CUyUifPM95wynCaRMxSDxMw,4238
|
16
16
|
janus/embedding/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
17
|
janus/embedding/_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -97,8 +97,8 @@ janus/utils/_tests/test_progress.py,sha256=Yh5NDNq-24n2nhHHbJm39pENAH70PYnh9ymwd
|
|
97
97
|
janus/utils/enums.py,sha256=AoilbdiYyMvY2Mp0AM4xlbLSELfut2XMwhIM1S_msP4,27610
|
98
98
|
janus/utils/logger.py,sha256=KZeuaMAnlSZCsj4yL0P6N-JzZwpxXygzACWfdZFeuek,2337
|
99
99
|
janus/utils/progress.py,sha256=pKcCzO9JOU9fSD7qTmLWcqY5smc8mujqQMXoPgqNysE,1458
|
100
|
-
janus_llm-3.0.
|
101
|
-
janus_llm-3.0.
|
102
|
-
janus_llm-3.0.
|
103
|
-
janus_llm-3.0.
|
104
|
-
janus_llm-3.0.
|
100
|
+
janus_llm-3.0.1.dist-info/LICENSE,sha256=_j0st0a-HB6MRbP3_BW3PUqpS16v54luyy-1zVyl8NU,10789
|
101
|
+
janus_llm-3.0.1.dist-info/METADATA,sha256=tVkX6eswouFez-ASfy-iWJk_iXptEeylGETEZF4MeeI,4184
|
102
|
+
janus_llm-3.0.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
103
|
+
janus_llm-3.0.1.dist-info/entry_points.txt,sha256=OGhQwzj6pvXp79B0SaBD5apGekCu7Dwe9fZZT_TZ544,39
|
104
|
+
janus_llm-3.0.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|