|
| 1 | +--- |
| 2 | +title: FinCaseAI | AI-Powered Credit Dispute Assistant |
| 3 | +description: An AI-powered credit dispute assistant using Sonar Reasoning Pro API for approval/rejection recommendations with detailed reasoning |
| 4 | +sidebar_position: 11 |
| 5 | +keywords: [FinCaseAI, perplexity, sonar, finance, disputes, fraud detection, sentiment analysis, LLM, AI] |
| 6 | +--- |
| 7 | + |
| 8 | +**FinCaseAI** is an AI-powered credit dispute assistant that uses Perplexity's Sonar Reasoning Pro API to analyze financial dispute cases and suggest approve/reject decisions with detailed reasoning. It helps analysts by providing fraud detection, sentiment scoring, and urgency assessment for credit card dispute complaints. |
| 9 | + |
| 10 | +## Features |
| 11 | + |
| 12 | +* **Approve/Reject Decision Suggestions** with confidence levels and detailed reasoning |
| 13 | +* **Fraud Risk Scoring** using keyword and pattern matching algorithms |
| 14 | +* **Sentiment and Urgency Detection** from complaint text analysis |
| 15 | +* **Sonar API Integration** for intelligent recommendations and structured reasoning |
| 16 | +* **Optional Redis Caching** for improved performance and response times |
| 17 | +* **Structured Output** with citations and supporting evidence |
| 18 | + |
| 19 | +## Prerequisites |
| 20 | + |
| 21 | +FinCaseAI sends case descriptions as structured prompts to the **Sonar API**, asking for: |
| 22 | + |
| 23 | +- A decision recommendation (approve/reject) |
| 24 | +- A brief explanation for the judgment |
| 25 | + |
| 26 | +The API response is parsed and shown alongside internal fraud and sentiment scores for a complete picture. |
| 27 | + |
| 28 | +> **Example Prompt to Sonar** |
| 29 | +> "_Given the following customer complaint, should the dispute be approved or rejected? Provide a short explanation._" |
| 30 | +
|
| 31 | +## Tech Stack |
| 32 | + |
| 33 | +- **Frontend**: React + Vite |
| 34 | +- **Backend**: Python Flask |
| 35 | +- **AI Engine**: Perplexity Sonar API + custom logic |
| 36 | +- **Cache**: Optional Redis integration |
| 37 | +- **Infrastructure**: Runs locally or deployable via Docker |
| 38 | + |
| 39 | +## Setup Instructions |
| 40 | + |
| 41 | +1. Clone the [GitHub repo](https://github.com/PrashansaChaudhary/Perplexity-FinCaseAI) |
| 42 | +2. Create a `.env` file with your `SONAR_API_KEY` |
| 43 | +3. Run the backend using Flask |
| 44 | +4. Start the frontend using Vite |
| 45 | +5. Open `http://localhost:5173` and start testing your cases |
| 46 | + |
| 47 | +## Links |
| 48 | + |
| 49 | +- [GitHub Repository](https://github.com/PrashansaChaudhary/Perplexity-FinCaseAI) |
0 commit comments