ddi-fw 0.0.95__py3-none-any.whl → 0.0.96__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.
- ddi_fw/pipeline/pipeline.py +1 -3
- {ddi_fw-0.0.95.dist-info → ddi_fw-0.0.96.dist-info}/METADATA +1 -1
- {ddi_fw-0.0.95.dist-info → ddi_fw-0.0.96.dist-info}/RECORD +5 -5
- {ddi_fw-0.0.95.dist-info → ddi_fw-0.0.96.dist-info}/WHEEL +0 -0
- {ddi_fw-0.0.95.dist-info → ddi_fw-0.0.96.dist-info}/top_level.txt +0 -0
ddi_fw/pipeline/pipeline.py
CHANGED
@@ -47,7 +47,7 @@ class Pipeline:
|
|
47
47
|
self.combinations = combinations
|
48
48
|
self.model = model
|
49
49
|
|
50
|
-
def __create_or_update_embeddings__(embedding_dict, vector_db_persist_directory, vector_db_collection_name, column):
|
50
|
+
def __create_or_update_embeddings__(self, embedding_dict, vector_db_persist_directory, vector_db_collection_name, column):
|
51
51
|
"""
|
52
52
|
Fetch embeddings and metadata from a persistent Chroma vector database and update the provided embedding_dict.
|
53
53
|
|
@@ -56,8 +56,6 @@ class Pipeline:
|
|
56
56
|
- vector_db_collection_name (str): The name of the collection to query.
|
57
57
|
- embedding_dict (dict): The existing dictionary to update with embeddings.
|
58
58
|
|
59
|
-
Returns:
|
60
|
-
- embedding_dict (dict): The updated dictionary where embeddings are grouped by 'type' and 'id'.
|
61
59
|
"""
|
62
60
|
if vector_db_persist_directory:
|
63
61
|
# Initialize the Chroma client and get the collection
|
@@ -72,7 +72,7 @@ ddi_fw/pipeline/__init__.py,sha256=tKDM_rW4vPjlYTeOkNgi9PujDzb4e9O3LK1w5wqnebw,2
|
|
72
72
|
ddi_fw/pipeline/multi_modal_combination_strategy.py,sha256=qIst7vxHaOAhRv4lgozszwa3b1QE4aIrN74t41Xnvr4,1637
|
73
73
|
ddi_fw/pipeline/multi_pipeline.py,sha256=t_Z7d7xRfDnhpQTlqCf7c0isZ5hZlyXavKhC7ePsnJY,5903
|
74
74
|
ddi_fw/pipeline/ner_pipeline.py,sha256=wB7hz4YCOv7UAz6bGE6sSpPXXIdoOflOVK5UCc1fO-o,5586
|
75
|
-
ddi_fw/pipeline/pipeline.py,sha256=
|
75
|
+
ddi_fw/pipeline/pipeline.py,sha256=q7jfTt7ryYa3xBscPtxvanB-j5RzWVZUKir0KmAdTKc,8357
|
76
76
|
ddi_fw/test/basic_test.py,sha256=fEOGcZm1ObnsDvMiXNmdmz6YCeUrGc8V0DwlSwGhsq8,376
|
77
77
|
ddi_fw/test/combination_test.py,sha256=TWNE8sf-DSh1Q9-yRaRBc774Sn1kSMGXLwQhd2_Qynk,324
|
78
78
|
ddi_fw/test/compress_json_test.py,sha256=BGny56YqiG-pzhMoDzLKQBQI1E7o3jU0S7VYWtclAx4,1045
|
@@ -89,7 +89,7 @@ ddi_fw/utils/enums.py,sha256=19eJ3fX5eRK_xPvkYcukmug144jXPH4X9zQqtsFBj5A,671
|
|
89
89
|
ddi_fw/utils/py7zr_helper.py,sha256=gOqaFIyJvTjUM-btO2x9AQ69jZOS8PoKN0wetYIckJw,4747
|
90
90
|
ddi_fw/utils/utils.py,sha256=szwnxMTDRrZoeNRyDuf3aCbtzriwtaRk4mHSH3asLdA,4301
|
91
91
|
ddi_fw/utils/zip_helper.py,sha256=YRZA4tKZVBJwGQM0_WK6L-y5MoqkKoC-nXuuHK6CU9I,5567
|
92
|
-
ddi_fw-0.0.
|
93
|
-
ddi_fw-0.0.
|
94
|
-
ddi_fw-0.0.
|
95
|
-
ddi_fw-0.0.
|
92
|
+
ddi_fw-0.0.96.dist-info/METADATA,sha256=b2D7e7ub3byUbTwEPdw6FvUqTEK-H_KflNXwqbk4r7s,1966
|
93
|
+
ddi_fw-0.0.96.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
94
|
+
ddi_fw-0.0.96.dist-info/top_level.txt,sha256=PMwHICFZTZtcpzQNPV4UQnfNXYIeLR_Ste-Wfc1h810,7
|
95
|
+
ddi_fw-0.0.96.dist-info/RECORD,,
|
File without changes
|
File without changes
|