Skip to content

Latest commit

 

History

324 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Happy Birthday :v 🫶

This project aims to build an AI-powered debate matcher that allows users to ask political questions and receive factually grounded answers based on political debate transcripts.

The system will employ a Retrieval-Augmented Generation (RAG) framework to retrieve relevant excerpts and generate coherent responses. A fact-checking layer will be integrated, comparing candidate statements against verified fact-checking sources to ensure accuracy.

The project will begin with local debates (e.g., mayoral races) before scaling up to larger elections, with the ultimate goal of improving political transparency and accessibility through an interactive tool.

🐍 Programming Languages 🐍

  • Python: primary, for NLP pipelines, data preprocessing, and backend logic

  • SQL: for storing transcripts, metadata, and fact-checking references

🛠️ Technology Stacks 🛠️

  • Frontend: JavaScript (React.js or Streamlit)

  • Backend: Python (LangChain, Hugging Face Transformers, scikit-learn, pandas, numpy)

  • Databases: MongoDB (for transcripts and fact-check metadata)

  • AI/NLP: Retrieval-Augmented Generation (RAG), spaCy, OpenAI/LLMs, fact-checking APIs

  • Visualization: matplotlib, Plotly/Dash (for interactive debate insights)

🚀 Quick Start 🚀

1. Clone Repository

git clone https://github.com/AI-Mentorship/Debate-Match-RAG
cd Debate-Match-RAG

2. Install Dependencies

pip install -r requirements.txt

3. Database Setup

4. Execute Program

python src/main.py

📁 Project Structure 📁

Debate-Match-RAG
├── debate_ai/
│   ├── main.py                             # Entry point
│   └── src/
│       ├── backend/                        # Data processing
│       │   ├── data/
│       │   │   └── sample_data.csv
│       │   │
│       │   ├── database/                   # Database setup
│       │   │   ├── __init__.py
│       │   │   ├── config.py
│       │   │   ├── connection.py
│       │   │   ├── insert.py
│       │   │   └── README.md               # Database documentation
│       │   │
│       │   ├── embeddings_faiss/           # Embeddings + FAISS
│       │   │   ├── embedding.py
│       │   │   └── faiss.py
│       │   │
│       │   ├── retriever/                  # Retriever
│       │   │   └── retriever.py
│       │   │
│       │   └── fact_checker_prototype/     # Fact Checker
│       │       └── fact_check.py
│       │  
│       └── frontend/                       # UI components
│           └── something.txt
│
├── README.md
└── requirements.txt

About

Developing an AI-driven platform that applies Retrieval-Augmented Generation (RAG) to political debate transcripts. The system retrieves and summarizes candidate statements, integrates fact-checking APIs for verification, and improves political transparency through interactive tools.

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages