Perspective AI is a conversational AI assistant designed to encourage critical thinking, perspective analysis, and balanced discussion.
The project combines a React frontend with a Flask backend and uses a locally hosted Ollama model for AI responses.
🌐 https://perspective-ai-lac.vercel.app
- 🤖 AI-powered assistant
- 🧠 Perspective analysis
- ⚖️ Bias awareness
- 🔒 Privacy-friendly local AI
- ⚡ React + Flask architecture
- 🦙 Powered by Ollama & Llama 3
- AI-powered conversation
- Perspective-focused responses
- Simple bias detection tool
- Basic misinformation keyword alerts
- Modern React user interface
- Local AI processing through Ollama
- Privacy-friendly architecture
- React
- JavaScript
- CSS
- Flask
- Flask-CORS
- Python
- Ollama
- Llama 3
User ↓ React Frontend ↓ Flask API ↓ Ollama ↓ Llama 3
perspective-ai/
│
├── backend/
│ ├── app.py
│ ├── requirements.txt
│ └── .env
│
├── frontend/
│ ├── public/
│ ├── src/
│ ├── package.json
│ └── package-lock.json
│
└── README.md
git clone https://github.com/ashishyadav18/Perspective-AI.git
cd perspective-aicd backend
pip install -r requirements.txt
python app.pyBackend runs at:
http://localhost:5000
cd frontend
npm install
npm startFrontend runs at:
http://localhost:3000
Install Ollama:
Pull the model:
ollama pull llama3Verify:
ollama list- Bias analysis uses a simple keyword-based approach.
- Misinformation detection is basic and rule-based.
- AI responses require Ollama running locally.
- Backend is not deployed publicly.
- Advanced bias detection
- Source credibility analysis
- Public cloud deployment
- Better fact-checking system
- Multi-model AI support
- Conversation history
- Export chat sessions
Ashish Yadav
Computer Science Student
Built as a learning project exploring AI applications, critical thinking tools, and full-stack development.


