Pipeline for Retrieval, Inference, & Structured Memory — agentic RAG for financial intelligence
P.R.I.S.M. exposes 4 tools via HTTP FastAPI. Tool names are action-oriented (query, query_multimodal, health, graph_query) and descriptions are present (avg ~120 chars). However, input schemas lack critical detail: parameter types are declared but descriptions are sparse or missing for several params. The 'mode' enum is well-defined across tools, but 'user_id' in query lacks description. Output schemas are not documented anywhere in the source. Error handling is absent, no recovery guidance, no categorization. The multimodal file parameter uses type 'file' which is non-standard JSON Schema. Overall, definitions are functional but fall short of production-grade LLM-optimized tooling.
Execute a natural language question against the Neo4j graph database using Cypher generation
Check the health status of the P.R.I.S.M. API and its dependencies (Neo4j graph database)
Process a financial query through the agentic RAG pipeline with routing to vector, graph, or MCP retrieval modes
Process a financial query with image/PDF file upload for multimodal vision analysis
Output schemas not documented. LLMs cannot plan downstream calls or extract required fields without knowing what each tool returns.
Parameter descriptions incomplete or missing. 'user_id' in query has no description; 'file' in query_multimodal lacks format/size constraints; 'question' in graph_query lacks context on expected format.
No error handling or recovery guidance. Tools return HTTP errors but do not guide LLMs on retry logic, user-fixable issues, or next steps.
Non-standard 'file' type in query_multimodal schema. JSON Schema does not define 'file' as a primitive type; should use 'string' with format 'binary' or document the custom extension.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 51 | <=2025-11-25 | v2 |
No pagination or result limits documented. query and query_multimodal may return large result sets; no mention of max results, pagination tokens, or chunking strategy.