feat: implement scripts/diagram_meaning_extractor.py (#491-496)

This commit is contained in:
2026-04-12 23:25:56 +00:00
parent 99af3526ce
commit 3040938c46

View File

@@ -0,0 +1,11 @@
import json
from hermes_tools import browser_navigate, browser_vision
def extract_meaning():
analysis = browser_vision(
question="Analyze the provided diagram. Extract the core logic flow and map it to a 'Meaning Kernel' (entity -> relationship -> entity). Provide output in JSON."
)
return {"analysis": analysis}
if __name__ == '__main__':
print(json.dumps(extract_meaning(), indent=2))