ranking-agent / kp-registry

Knowledge Provider Registry
0 stars 0 forks source link

Register at startup #18

Closed cbizon closed 3 years ago

cbizon commented 3 years ago

Added a startup event that runs the kp-reload.
Also included in that startup a registration of BTE. It's not active right now because BTE mkg is not validating. Refactored kps a bit to expose the right pieces for these things. Also stripped '/' off of urls so that adding '/meta_knowledge_graph' doesn't break things (like CHP, which now loads).

cbizon commented 3 years ago

On the sqlite error, I also saw that running locally via the main.sh, but not if I ran via docker-compose. So I think it has something to do with getting PYTHONPATH right or mounting the /data directory somehow.

cbizon commented 3 years ago

BTE seems fixed, so I went ahead and turned that on. I think it's ok to merge