-
Add Intent Scope
- Update
orchestration/intent.pywith your new canonical Intent name. - Describe required entities that must be parsed (e.g.,
"purchase"needs"target_amount").
- Update
-
Implement an Executor
- Create
backend/<domain>/executor.py. Must implementasync def execute(entities, ...)returning structured JSON. - Fail gracefully. Do not raise uncaught 500 exceptions if a dependent service drops.
- Create
-
Map the Route
- In
orchestration/router.py, instantiate your Executor and map it to the Intent namespace.
- In
-
Verify Composition Format
- Modify
orchestration/response.pyhandling to provide clean, unified UI summaries based ontool_data.
- Modify
-
Local Testing
- Submit a direct payload to
http://localhost:8080/history/generatematching your tool schema. - Monitor
backend/debug_history.logfor execution latencies.
- Submit a direct payload to