CoolFace
Apppublic

Lamaq/iPoly-LOC

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes
App README

AI Outreach Intelligence Engine — iPoly-LOC

V1.1 · 15 API Endpoints · LangGraph Orchestration · N8N-style Workflow · Real-time News Engine

Architecture

FastAPI (7860) ──► LangGraph Pipeline ──► MongoDB Atlas
                       │
            ┌──────────┼──────────┐
            │          │          │
         Groq LLMs   Tavily    Mock ML
        (GPT-oss-120b) (Search)  (XGBoost sim)

Quick Start

bash
# Install deps
pip install -r requirements.txt

# Set env vars
export GROQ_API_KEY="gsk_..."
export TAVILY_API_KEY="tvly-..."
export MONGODB_URI="mongodb+srv://..."

# Run
uvicorn backend.main:app --host 0.0.0.0 --port 7860

API Endpoints (15)

MethodEndpointDescription
GET/healthHealth check
POST/api/ml/evaluateScore a lead (ML Engine)
POST/api/agent/runRun full AI pipeline
POST/api/agent/resumeResume with feedback
POST/api/agent/reviewReview/edit a workflow node
GET/api/agent/state/{id}Get agent state
GET/api/leadsList leads (with tags)
GET/api/leads/{id}/fullFull lead view (dashboard)
POST/api/leadsAdd a lead
PATCH/api/leads/{id}Update lead
GET/api/explain/{id}Decision trail
GET/api/workflow/{id}N8N-style workflow
PATCH/api/workflow/{id}/node/{nid}Edit workflow node
GET/api/news/{id}Get stored news
POST/api/news/{id}/fetchFetch fresh news
POST/api/news/{id}/applyApply news to pipeline

Documentation

  • —Frontend Integration Guide
  • —Deployment Guide
  • —V1 Setup Guide
  • —Technical Plan