13 lines
437 B
Python
13 lines
437 B
Python
#!/usr/bin/env python3
|
|
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))
|