Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BiasBuster_RagProject

🌟 Bias Buster

Python
OpenAI
LangChain

Bias Buster is an AI-powered tool that detects and explains potential bias in text, datasets, and AI-generated outputs.
It leverages LangChain, ChromeDB, and OpenAI to provide transparent, contextual bias analysis for journalists, researchers, and organizations.


📌 Features

  • 🔍 Bias Detection – Identify political, gender, racial, cultural, and other biases in text.
  • 🧠 Contextual Explanations – Understand why the text may be biased.
  • 📂 Search & History – Store and query past analyses using ChromeDB.
  • ⚙️ Customizable Prompts – Fine-tune detection rules per domain.
  • 📊 Multiple Bias Categories – Detect implicit, explicit, and statistical bias.
  • 🔍 Debug Content - Debug the false Information generated by LLMS

🛠️ Tech Stack

  • LangChain – LLM orchestration
  • ChromeDB – Vector database for storage & retrieval
  • OpenAI API – Text understanding & analysis
  • Streamlit – Interactive web-based user interface
  • Python 3.10+

📂 How to use

1️⃣ **Clone the repository git clone https://github.com/Areeba-Tahir-18/BiasBuster_RagProject.git cd bias-buster

2️⃣ Create a virtual environment python -m venv venv source venv/bin/activate # macOS/Linux venv\Scripts\activate # Windows

3️⃣ Install dependencies pip install -r requirements.txt

4️⃣ Set environment variables Create a .env file in the root directory OPENAI_API_KEY=your_openai_api_key CHROMADB_PATH=./chroma_storage

▶️ Usage Run the main script: streamlit run app.py

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages