ddi-fw 0.0.88__py3-none-any.whl → 0.0.89__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.
@@ -66,12 +66,15 @@ class MultiPipeline():
66
66
  vector_db_persist_directory = config.get("vector_db_persist_directory")
67
67
  vector_db_collection_name = config.get("vector_db_collection_name")
68
68
  embedding_pooling_strategy = get_import(
69
- config.get("embedding_pooling_strategy_type"))
69
+ config.get("embedding_pooling_strategy_type")) if config.get("embedding_pooling_strategy_type") else None
70
70
  # Dynamically import the model and dataset classes
71
71
  model_type = get_import(config.get("model_type"))
72
72
  dataset_type = get_import(config.get("dataset_type"))
73
- combination_type = get_import(config.get("combination_strategy").get("type"))
74
- kwargs_combination_params = config.get("combination_strategy").get("params")
73
+ combination_type = None
74
+ kwargs_combination_params=None
75
+ if config.get("combination_strategy"):
76
+ combination_type = get_import(config.get("combination_strategy").get("type"))
77
+ kwargs_combination_params = config.get("combination_strategy").get("params")
75
78
  combinations = []
76
79
  if combination_type is not None:
77
80
  combinations = combination_type(**kwargs_combination_params).generate()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ddi_fw
3
- Version: 0.0.88
3
+ Version: 0.0.89
4
4
  Summary: Do not use :)
5
5
  Author-email: Kıvanç Bayraktar <bayraktarkivanc@gmail.com>
6
6
  Maintainer-email: Kıvanç Bayraktar <bayraktarkivanc@gmail.com>
@@ -76,7 +76,7 @@ ddi_fw/ner/mmlrestclient.py,sha256=NZta7m2Qm6I_qtVguMZhqtAUjVBmmXn0-TMnsNp0jpg,6
76
76
  ddi_fw/ner/ner.py,sha256=BEs9AFljAxOQrC2BEP1raSzRoypcfELS5UTdl4bjTqw,15863
77
77
  ddi_fw/pipeline/__init__.py,sha256=tKDM_rW4vPjlYTeOkNgi9PujDzb4e9O3LK1w5wqnebw,212
78
78
  ddi_fw/pipeline/multi_modal_combination_strategy.py,sha256=qIst7vxHaOAhRv4lgozszwa3b1QE4aIrN74t41Xnvr4,1637
79
- ddi_fw/pipeline/multi_pipeline.py,sha256=N2ENgmxIE1Lz_qu2H9mz8MfII0Ubzmb02QjPqmQbwFw,5447
79
+ ddi_fw/pipeline/multi_pipeline.py,sha256=jQjkrkrAoMXwC2T_kg-xcYHxAdVcrLobCf8PWt6_0Wo,5635
80
80
  ddi_fw/pipeline/ner_pipeline.py,sha256=bf9amT8I-Ed9cdudWzPOpI6-X0oLgg8O37GJMSyX_bo,5527
81
81
  ddi_fw/pipeline/pipeline.py,sha256=NvRTHcccIZU-N17dgZRPkO0TCjpzj932cMIsmpaj7Qs,5559
82
82
  ddi_fw/test/basic_test.py,sha256=fEOGcZm1ObnsDvMiXNmdmz6YCeUrGc8V0DwlSwGhsq8,376
@@ -95,7 +95,7 @@ ddi_fw/utils/enums.py,sha256=19eJ3fX5eRK_xPvkYcukmug144jXPH4X9zQqtsFBj5A,671
95
95
  ddi_fw/utils/py7zr_helper.py,sha256=gOqaFIyJvTjUM-btO2x9AQ69jZOS8PoKN0wetYIckJw,4747
96
96
  ddi_fw/utils/utils.py,sha256=szwnxMTDRrZoeNRyDuf3aCbtzriwtaRk4mHSH3asLdA,4301
97
97
  ddi_fw/utils/zip_helper.py,sha256=YRZA4tKZVBJwGQM0_WK6L-y5MoqkKoC-nXuuHK6CU9I,5567
98
- ddi_fw-0.0.88.dist-info/METADATA,sha256=njnDo9gW77QupjYC7W7-clzfwdSTCtm_5xR7Kv6N6Os,1966
99
- ddi_fw-0.0.88.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
100
- ddi_fw-0.0.88.dist-info/top_level.txt,sha256=PMwHICFZTZtcpzQNPV4UQnfNXYIeLR_Ste-Wfc1h810,7
101
- ddi_fw-0.0.88.dist-info/RECORD,,
98
+ ddi_fw-0.0.89.dist-info/METADATA,sha256=L1P0R_N6xqH9MvdQMZSnw4_AHgST9RwfzBzPaUWEmno,1966
99
+ ddi_fw-0.0.89.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
100
+ ddi_fw-0.0.89.dist-info/top_level.txt,sha256=PMwHICFZTZtcpzQNPV4UQnfNXYIeLR_Ste-Wfc1h810,7
101
+ ddi_fw-0.0.89.dist-info/RECORD,,