Full-stack AI chatbot using LangChain and Google Gemini.
- Backend: FastAPI, LangChain, Google Gemini
- Frontend: React Router, TypeScript, TailwindCSS
cd backend
python -m venv venv
venv\Scripts\activate # Linux/Mac: source venv/bin/activate
pip install -r requirements.txt
uvicorn app.api.main:app --reloadcd frontend
npm install
npm run devCreate .env in backend/:
GOOGLE_API_KEY=your_google_api_key
GEMINI_MODEL=gemini-1.5-flash| Method | Endpoint | Description |
|---|---|---|
| POST | /api/chat |
Send message and get response |
| GET | /api/health |
Health check |
- Conversational AI with Google Gemini
- Tool calling support
- Customizable system prompts