Update to enable knowledge extraction using the agent framework (#439)

* Implement KG extraction agent (kg-extract-agent)

* Using ReAct framework (agent-manager-react)
 
* ReAct manager had an issue when emitting JSON, which conflicts which ReAct manager's own JSON messages, so refactored ReAct manager to use traditional ReAct messages, non-JSON structure.
 
* Minor refactor to take the prompt template client out of prompt-template so it can be more readily used by other modules. kg-extract-agent uses this framework.
This commit is contained in:
cybermaggedon 2025-07-21 14:31:57 +01:00 committed by GitHub
parent 1fe4ed5226
commit d83e4e3d59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 3192 additions and 799 deletions

View file

@ -0,0 +1,6 @@
#!/usr/bin/env python3
from trustgraph.extract.kg.agent import run
run()

View file

@ -1,6 +0,0 @@
#!/usr/bin/env python3
from trustgraph.model.prompt.generic import run
run()

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python3
from trustgraph.model.prompt.template import run
from trustgraph.prompt.template import run
run()