SmartMemory
POST
/memory/reasoning/resolve

Resolve a conflict between assertions.

Auto-resolution cascade (if enabled):

  1. Wikipedia lookup - verify against Wikipedia
  2. LLM reasoning - ask GPT to fact-check
  3. Grounding check - check existing provenance
  4. Recency heuristic - prefer recent info for temporal conflicts

Falls back to manual strategy if auto-resolution fails.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request to resolve a conflict.

Response Body

application/json

application/json

curl -X POST "https://example.com/memory/reasoning/resolve" \  -H "Content-Type: application/json" \  -d '{    "existing_item_id": "string",    "new_fact": "string"  }'
{
  "auto_resolved": true,
  "resolution": "string",
  "confidence": 0,
  "method": "string",
  "evidence": "string",
  "actions_taken": [
    "string"
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}