GotThatData commited on
Commit
1c1852e
·
verified ·
1 Parent(s): 51522ee

Upload config/knowledge_graph_config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config/knowledge_graph_config.yaml +120 -0
config/knowledge_graph_config.yaml ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Knowledge Graph Configuration
2
+
3
+ knowledge_graph:
4
+ version: 2.1.0
5
+
6
+ # Entity Extraction Configuration
7
+ entity_extraction:
8
+ models:
9
+ spacy:
10
+ model_name: en_core_web_trf
11
+ confidence_threshold: 0.7
12
+ huggingface:
13
+ model_name: allenai/scibert_scivocab_uncased
14
+ confidence_threshold: 0.6
15
+ visual:
16
+ ocr_enabled: true
17
+ object_detection_enabled: false
18
+ multi_modal:
19
+ enabled: true
20
+ strategies:
21
+ - textual
22
+ - visual
23
+ - contextual
24
+ reconciliation:
25
+ deduplication_threshold: 0.8
26
+ confidence_threshold: 0.7
27
+
28
+ # Domain-Specific Evaluation Configuration
29
+ domain_evaluation:
30
+ enabled: true
31
+ metrics:
32
+ - entity_recognition
33
+ - relationship_inference
34
+ - semantic_similarity
35
+ - contextual_coherence
36
+
37
+ evaluation_strategies:
38
+ precision_recall_balance: 0.5
39
+ semantic_similarity_weight: 0.3
40
+ contextual_coherence_weight: 0.2
41
+
42
+ # Cross-Domain Reasoning Configuration
43
+ cross_domain_reasoning:
44
+ enabled: true
45
+ domains:
46
+ - physics
47
+ - technology
48
+ - engineering
49
+
50
+ reasoning_strategies:
51
+ - logical_inference
52
+ - hypothesis_generation
53
+ - probabilistic_reasoning
54
+
55
+ inference_parameters:
56
+ similarity_threshold: 0.6
57
+ max_inference_depth: 3
58
+ confidence_threshold: 0.7
59
+
60
+ # Relationship Mapping Configuration
61
+ relationship_mapping:
62
+ confidence_scoring:
63
+ base_weight: 0.5
64
+ semantic_proximity_weight: 0.3
65
+ type_compatibility_weight: 0.2
66
+ max_relationship_distance: 3
67
+ pruning_threshold: 0.4
68
+
69
+ # Graph Construction Configuration
70
+ graph_construction:
71
+ versioning:
72
+ max_versions: 10
73
+ auto_prune: true
74
+ visualization:
75
+ enabled: true
76
+ output_format:
77
+ - networkx
78
+ - graphviz
79
+ - json
80
+
81
+ # Schema Evolution Configuration
82
+ schema_evolution:
83
+ enabled: true
84
+ versioning:
85
+ max_versions: 10
86
+ backup_frequency: daily
87
+
88
+ update_strategies:
89
+ - incremental
90
+ - semantic_inference
91
+ - backward_compatible
92
+
93
+ reconciliation:
94
+ deduplication_threshold: 0.85
95
+ type_inference_confidence: 0.75
96
+
97
+ # Performance and Resource Configuration
98
+ performance:
99
+ max_concurrent_tasks: 8
100
+ memory_limit_mb: 2048
101
+ cache_enabled: true
102
+ cache_expiry_minutes: 60
103
+ memory_threshold: 0.8
104
+ processing_timeout: 300 # seconds
105
+
106
+ # Logging Configuration
107
+ logging:
108
+ level: DEBUG
109
+ console_output: true
110
+ file_output: true
111
+ output_formats:
112
+ - console
113
+ - file
114
+ log_dir: logs/knowledge_graph
115
+ log_retention_days: 30
116
+
117
+ # Experimental Features
118
+ experimental:
119
+ quantum_inspired_reasoning: false
120
+ advanced_embedding_techniques: true