This is a Fact Checker application designed to analyze and verify the accuracy of given text or image content. The application uses the Perplexity API to provide accurate information and highlight any misinformation.
- Analyze and verify claims made in the content
- Provide accurate information with sources
- Highlight any misinformation
- Rate the overall accuracy on a scale of 1-10
- Strictly output in Bengali language for Bangladeshi culture, people, and demographics
- Python 3.8 or higher
- FastAPI
- Uvicorn
- Requests
- Jinja2
The application requires the following environment variables to be set:
- [
PERPLEXITY_API_KEY
] Your Perplexity API key
These can be set in a .env
file in the root directory.
-
Clone the repository:
git clone <repository-url> cd <repository-directory>
-
Install the dependencies:
pip install -r requirements.txt
-
Set up the environment variables in a
.env
file:PERPLEXITY_API_KEY=your_api_key_here
To run the application, use the following command:
uv run main.py
## Tech Stack
- **Backend Framework**: FastAPI
- **Server**: Uvicorn
- **Template Engine**: Jinja2
- **HTTP Client**: Requests
- **Language**: Python
# Demo Video
Check how you can make yourself one here -> https://www.youtube.com/watch?v=lYZftYDFmGA
# License
Feel free to modify in whatever usecase you have and more collaboration write me [email protected] / check my writings at medium.com/@md.abir1203