kodexa 7.0.10665853973__py3-none-any.whl → 7.0.10668104287__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.
- kodexa/dataclasses/{llm_data_class.j2 → templates/llm_data_class.j2} +1 -7
- {kodexa-7.0.10665853973.dist-info → kodexa-7.0.10668104287.dist-info}/METADATA +1 -1
- {kodexa-7.0.10665853973.dist-info → kodexa-7.0.10668104287.dist-info}/RECORD +5 -5
- {kodexa-7.0.10665853973.dist-info → kodexa-7.0.10668104287.dist-info}/LICENSE +0 -0
- {kodexa-7.0.10665853973.dist-info → kodexa-7.0.10668104287.dist-info}/WHEEL +0 -0
@@ -1,7 +1,5 @@
|
|
1
1
|
from typing import Optional, List
|
2
|
-
from
|
3
|
-
from kodexa_langchain.llm import deserialize_llm_data
|
4
|
-
from kodexa_langchain.document import KodexaDocumentLLMWrapper
|
2
|
+
from kodexa.dataclasses import LLMDataAttribute, LLMDataObject
|
5
3
|
|
6
4
|
{%- for taxon in taxons %}
|
7
5
|
|
@@ -14,8 +12,4 @@ class {{ taxon_to_class_name(taxon) }}(LLMDataObject):
|
|
14
12
|
{%- endif %}
|
15
13
|
{%- endfor %}
|
16
14
|
|
17
|
-
def __init__(self, data: dict, document: Optional[KodexaDocumentLLMWrapper] = None, group_uuid=None, cell_index: int = 0, taxon=None, extraction_context=None):
|
18
|
-
super().__init__(group_uuid, cell_index)
|
19
|
-
deserialize_llm_data(self, data, document, f'{{ taxon_to_group_path(taxon) }}', group_uuid, taxon, extraction_context)
|
20
|
-
|
21
15
|
{%- endfor %}
|
@@ -4,7 +4,7 @@ kodexa/assistant/assistant.py,sha256=5KFdbqFSLIZJyDRyZdpcfr448fT-CW4JhYu9A6B9DGY
|
|
4
4
|
kodexa/connectors/__init__.py,sha256=WF6G_MUeU32TlKSUKkpNoNX7dq8iBPliFMep4E8BmZc,328
|
5
5
|
kodexa/connectors/connectors.py,sha256=FpUZDkSyHld2b9eYRuVOWzaFtuGoaRuPXXicJB7THbc,10413
|
6
6
|
kodexa/dataclasses/__init__.py,sha256=hxx1Z2vKKxxFH7NUqKTyi9reiwNkrWCwndoZgu_k5p8,18394
|
7
|
-
kodexa/dataclasses/llm_data_class.j2,sha256=
|
7
|
+
kodexa/dataclasses/templates/llm_data_class.j2,sha256=YWjStW136chV_59JM3AYis3i-0jdrqDvLXsISUW9zDU,660
|
8
8
|
kodexa/model/__init__.py,sha256=rtLXYJBxB-rnukhslN9rlqoB3--1H3253HyHGbD_Gc8,796
|
9
9
|
kodexa/model/base.py,sha256=CaZK8nMhT1LdCpt4aLhebJGcorjq9qRID1FjnXnP14M,521
|
10
10
|
kodexa/model/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -42,7 +42,7 @@ kodexa/testing/test_utils.py,sha256=DrLCkHxdb6AbZ-X3WmTMbQmnVIm55VEBL8MjtUK9POs,
|
|
42
42
|
kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
|
43
43
|
kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
44
44
|
kodexa/utils/__init__.py,sha256=Pnim1o9_db5YEnNvDTxpM7HG-qTlL6n8JwFwOafU9wo,5928
|
45
|
-
kodexa-7.0.
|
46
|
-
kodexa-7.0.
|
47
|
-
kodexa-7.0.
|
48
|
-
kodexa-7.0.
|
45
|
+
kodexa-7.0.10668104287.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
46
|
+
kodexa-7.0.10668104287.dist-info/METADATA,sha256=mu-2vpI0y0Sxmu89LMw1mAjpz_A-Z_X9Vvon3_JBk5s,3533
|
47
|
+
kodexa-7.0.10668104287.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
48
|
+
kodexa-7.0.10668104287.dist-info/RECORD,,
|
File without changes
|
File without changes
|