Answer a question with receipts (facts + scores + provenance)
Changed onRetrieve relevant facts from a POT and produce a synthesized natural-language answer with receipts: cited facts, POT Scores, source provenance, detected contradictions, and an optional epistemic briefing summarizing the system's confidence and coverage gaps.
Flow under the hood:
- The Hybrid Router classifies the query and selects a retrieval strategy: GraphRAG (graph traversal following edges, seeded from RAG) for relational questions, RAG (semantic vector) for everything else. CAG is not used here; it is served by POST /pots/{pot_id}/cag/search.
- Top facts are retrieved and ranked using combined = (similarity × 0.7) + (pot_score × 0.3).
- Full provenance is fetched for each fact.
- Contradictions are detected among the retrieved set (flag-only, never auto-resolved).
- The LLM composes an answer with calibrated certainty (high-score facts spoken plainly; lower-score facts hedged or omitted).
- The response includes the answer, the facts used, contradictions, and an epistemic_briefing block describing what the system is confident about and where coverage is thin.
Production guidance: for any consequential agent, set include_epistemic_briefing=true and treat unresolved contradictions (contradictions_found) as a signal that may justify deferring to a human.
Request
- Base URLhttps://api.scipot.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
POT identifier (UUID or slug)
Request body
Example request
{
"include_epistemic_briefing": true,
"max_facts": 10,
"query": "What is the POT Score system?"
}Response
Synthesized answer with epistemic metadata + receipts
Changes
- info
added the optional property
////to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info