đŸ› ī¸
Tool

Ai Merchant Intelligence

by Nour Alhendi gh-model--nour-alhendi--ai-merchant-intelligence
Nexus Index
38.7 Top 100%
S: Semantic 50
A: Authority 0
P: Popularity 20
R: Recency 87
Q: Quality 50
Tech Context
Vital Performance
0 DL / 30D
0.0%
Python Lang
Open Source 1 Stars
1.0.0 Version
Alpha Reliability
Tool Information Summary
Entity Passport
Registry ID gh-model--nour-alhendi--ai-merchant-intelligence
Provider github
📜

Cite this tool

Academic & Research Attribution

BibTeX
@misc{gh_model__nour_alhendi__ai_merchant_intelligence,
  author = {Nour Alhendi},
  title = {Ai Merchant Intelligence Tool},
  year = {2026},
  howpublished = {\url{https://free2aitools.com/tool/gh-model--nour-alhendi--ai-merchant-intelligence}},
  note = {Accessed via Free2AITools Knowledge Fortress}
}
APA Style
Nour Alhendi. (2026). Ai Merchant Intelligence [Tool]. Free2AITools. https://free2aitools.com/tool/gh-model--nour-alhendi--ai-merchant-intelligence

đŸ”ŦTechnical Deep Dive

Full Specifications [+]

Quick Commands

🐍 PIP Install
pip install ai-merchant-intelligence

âš–ī¸ Nexus Index V2.0

38.7
TOP 100% SYSTEM IMPACT
Semantic (S) 50
Authority (A) 0
Popularity (P) 20
Recency (R) 87
Quality (Q) 50

đŸ’Ŧ Index Insight

FNI V2.0 for Ai Merchant Intelligence: Semantic (S:50), Authority (A:0), Popularity (P:20), Recency (R:87), Quality (Q:50).

Free2AITools Nexus Index

Verification Authority

Unbiased Data Node Refresh: VFS Live

📋 Specs

Language
Python
License
Open Source
Version
1.0.0
đŸ“Ļ

Usage documentation not yet indexed for this tool.

Technical Documentation

AI Merchant Intelligence (Hybrid Structured + RAG)

Demo

AI Merchant Intelligence Demo

A production-style fintech analytics assistant that answers merchant risk questions using:

  1. Structured analytics computed from transaction data (ground truth)
  2. RAG knowledge base (policies & explanations)
  3. LLM routing to decide which system should answer each question The system answers merchant risk questions while ensuring that all financial metrics remain deterministic and auditable.

Why this project

Key idea: In real fintech risk systems, core numbers must be deterministic and auditable.
The LLM is used for explanation and context, not for inventing metrics.

Features

Structured merchant KPI computation from CSV

  • total_transactions, total_revenue, average_transaction
  • refunds + refund_ratio
  • chargebacks + chargeback_rate
  • frauds + fraud_rate
  • cross_border_ratio

Policy thresholds (from knowledge base)

  • refund_ratio > 30%
  • chargeback_rate > 2%
  • large_transactions > 10,000
  • high_cross_border > 25%

RAG pipeline using LlamaIndex + HuggingFace embeddings

  • FastAPI backend
  • LLM-based Hybrid Router
  • Streamlit UI
  • Synthetic dataset generator (~1M transactions over 5 years)

Architecture (high level)

User -> Streamlit UI -> FastAPI (/ask) -> HybridRouter

  • GLOBAL_STRUCTURED: dataset-wide aggregation
  • MERCHANT_STRUCTURED: merchant-specific KPIs
  • RAG_ONLY: definitions/policy explanations
  • HYBRID: KPIs + policy explanation

Quickstart

Create environment

bash
conda create -n rag-project-env python=3.12 -y
conda activate rag-project-env
pip install -r requirements.txt

Environment Variables

Create a .env file in the project root and add:

bash
GROQ_API_KEY=your_groq_api_key_here

The application will not start without a valid API key.

Run the Backend API

bash
uvicorn api:app --reload --port 8001

API will be available at:

http://127.0.0.1:8001

Swagger Docs:

http://127.0.0.1:8001/docs

Run the Streamlit UI

bash
streamlit run app.py

Example questions

Which merchant has the highest chargeback rate?

Is merchant m_00062 above the 2% chargeback threshold?

Explain why high cross-border ratio increases fraud risk.

Compare fraud rate vs chargeback rate.

Does merchant M122 violate policy thresholds?

🚀 Quick Start

bash
conda create -n rag-project-env python=3.12 -y
conda activate rag-project-env
pip install -r requirements.txt

Social Proof

GitHub Repository
1Stars
🔄 Daily sync (03:00 UTC)

AI Summary: Based on GitHub metadata. Not a recommendation.

📊 FNI Methodology 📚 Knowledge Baseâ„šī¸ Verify with original source

đŸ›Ąī¸ Tool Transparency Report

Technical metadata sourced from upstream repositories.

Open Metadata

🆔 Identity & Source

id
gh-model--nour-alhendi--ai-merchant-intelligence
slug
nour-alhendi--ai-merchant-intelligence
source
github
author
Nour Alhendi
license
tags
data-engineering, fastapi, fintech, llamaindex, llm, machine-learning, ml-engineering, python, rag, retrieval-augmented-generation, risk-analytics, streamlit

âš™ī¸ Technical Specs

architecture
null
params billions
null
context length
null
pipeline tag
text-generation

📊 Engagement & Metrics

downloads
0
stars
1
forks
0
github stars
1

Data indexed from public sources. Updated daily.