observe_conversation
Automatically store completed user-assistant turns verbatim and enrich them with knowledge graph extraction. Use after turns with decisions, preferences, constraints, or project facts.
Instructions
Automatically observe a completed user-assistant turn. ALWAYS persists the verbatim turn first. Then runs extraction (graph inference) as optional enrichment. If extraction fails, the verbatim turn is still stored. Use after turns containing preferences, decisions, constraints, requirements, corrections, project facts, or meaningful task outcomes. Do not ask the user to trigger this. Returns: turn_id, verbatim_stored (bool), nodes_extracted (count), edges_inferred (count), extraction_errors (non-fatal). Required fields: 'user_message' (the user's text) and 'assistant_response' (the assistant's reply). Do NOT use 'user_text' or 'assistant_text' — those field names are not accepted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Optional project or workspace name used to partition memory. | |
| agent_id | No | Optional agent or client identifier used to partition memory. | |
| session_id | No | Optional conversation or run identifier used to partition memory. | |
| user_message | Yes | The user's message from the completed turn. | |
| assistant_response | Yes | The assistant's response from the completed turn. |