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