aiagents4pharma 1.43.0__py3-none-any.whl → 1.44.0__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.
- aiagents4pharma/talk2knowledgegraphs/configs/tools/multimodal_subgraph_extraction/default.yaml +17 -2
- aiagents4pharma/talk2knowledgegraphs/tests/test_tools_milvus_multimodal_subgraph_extraction.py +618 -413
- aiagents4pharma/talk2knowledgegraphs/tests/test_utils_extractions_milvus_multimodal_pcst.py +362 -25
- aiagents4pharma/talk2knowledgegraphs/tools/milvus_multimodal_subgraph_extraction.py +146 -109
- aiagents4pharma/talk2knowledgegraphs/utils/extractions/milvus_multimodal_pcst.py +240 -83
- {aiagents4pharma-1.43.0.dist-info → aiagents4pharma-1.44.0.dist-info}/METADATA +1 -1
- {aiagents4pharma-1.43.0.dist-info → aiagents4pharma-1.44.0.dist-info}/RECORD +10 -10
- {aiagents4pharma-1.43.0.dist-info → aiagents4pharma-1.44.0.dist-info}/WHEEL +0 -0
- {aiagents4pharma-1.43.0.dist-info → aiagents4pharma-1.44.0.dist-info}/licenses/LICENSE +0 -0
- {aiagents4pharma-1.43.0.dist-info → aiagents4pharma-1.44.0.dist-info}/top_level.txt +0 -0
aiagents4pharma/talk2knowledgegraphs/configs/tools/multimodal_subgraph_extraction/default.yaml
CHANGED
@@ -3,6 +3,8 @@ ollama_embeddings:
|
|
3
3
|
- "nomic-embed-text"
|
4
4
|
temperature: 0.1
|
5
5
|
streaming: False
|
6
|
+
|
7
|
+
# PCST Algorithm Parameters
|
6
8
|
topk: 15
|
7
9
|
topk_e: 15
|
8
10
|
cost_e: 0.5
|
@@ -11,7 +13,20 @@ root: -1
|
|
11
13
|
num_clusters: 1
|
12
14
|
pruning: "gw"
|
13
15
|
verbosity_level: 0
|
14
|
-
|
16
|
+
|
17
|
+
# Hardware-Specific Vector Processing
|
18
|
+
vector_processing:
|
19
|
+
# Enable dynamic metric type selection based on hardware
|
20
|
+
dynamic_metrics: true
|
21
|
+
|
22
|
+
# Milvus Database Configuration
|
23
|
+
milvus_db:
|
24
|
+
# Database and collection names
|
25
|
+
database_name: "t2kg_primekg"
|
26
|
+
|
27
|
+
# Cache settings for edge index
|
28
|
+
cache_edge_index_path: "${oc.env:CACHE_EDGE_INDEX_PATH,aiagents4pharma/talk2knowledgegraphs/tests/files/t2kg_primekg_edge_index.pkl}"
|
29
|
+
|
15
30
|
node_id_column: "node_id"
|
16
31
|
node_attr_column: "node_attr"
|
17
32
|
edge_src_column: "edge_src"
|
@@ -34,4 +49,4 @@ biobridge:
|
|
34
49
|
- "cellular_component"
|
35
50
|
- "biological_process"
|
36
51
|
- "drug"
|
37
|
-
- "disease"
|
52
|
+
- "disease"
|