Features
- Approve/Reject Decision Suggestions with confidence levels and detailed reasoning
- Fraud Risk Scoring using keyword and pattern matching algorithms
- Sentiment and Urgency Detection from complaint text analysis
- Sonar API Integration for intelligent recommendations and structured reasoning
- Optional Redis Caching for improved performance and response times
- Structured Output with citations and supporting evidence
Prerequisites
FinCaseAI sends case descriptions as structured prompts to the Sonar API, asking for:- A decision recommendation (approve/reject)
- A brief explanation for the judgment
Example prompt to Sonar
Tech Stack
- Frontend: React + Vite
- Backend: Python Flask
- AI Engine: Perplexity Sonar API + custom logic
- Cache: Optional Redis integration
- Infrastructure: Runs locally or deployable via Docker
Setup Instructions
- Clone the GitHub repo
- Create a
.env
file with yourPERPLEXITY_API_KEY
- Run the backend using Flask
- Start the frontend using Vite
- Open
http://localhost:5173
and start testing your cases