A simple yet powerful AI-powered chatbot that uses OpenAI models to answer questions. Built with FastAPI for the backend and Next.js for the frontend, this project is modern, responsive, and stylish, with a sleek dark mode design.
- AI-Powered Q&A: Asks any question and get real-time answers using OpenAI models via the EURI API.
- FastAPI Backend: A simple and fast backend to process user queries.
- Next.js Frontend: A sleek, modern, and responsive UI.
- Dark Mode: Default dark mode for a professional and minimalist look.
- Fully Customizable: Can be extended with more features like authentication or message history.
Check out the live demo:
- Backend: FastAPI, EURI API
- Frontend: Next.js, React, Tailwind CSS
- Deployment: Vercel(Frontend), Render(Backend)
- Python 3.11+ for the backend
- Next.js 15.5+ for the frontend
- EURI API Key Euri
- Backend: FastAPI, EURI API (OpenAI)
- Frontend: Next.js, React, Tailwind CSS
- Deployment: Vercel (Frontend), Render/Heroku (Backend)
- Python 3.9+ for the backend
- Node.js 14+ for the frontend
- API Key for EURI API (You need to sign up for an API key to use OpenAI models through EURI).
- Clone the repository:
git clone https://github.com/tanishra/AskMe.git
cd AskMe/backend- Install dependencies:
pip install -r requirements.txt- Create a .env file in the backend/ folder with your EURI API URL and Key:
EURI_API_URL=https://your-euri-api-url.com/v1/chat/completions
EURI_API_KEY=your_api_key_here- Run the FastAPI backend:
uvicorn backend.server:app --reloadYour backend will be live at http://localhost:8000.
- Navigate to the frontend directory:
cd ai-qa-bot/frontend- Install dependencies:
npm install- Run the frontend locally:
npm run dev- User Authentication: Add login/signup for personalized experiences.
- Chat History: Save and view past conversations.
- Media Uploads: Enable image or file uploads for processing.
- AI Model Customization: Allow fine-tuning of AI models for specific domains.
- Voice Integration: Implement speech-to-text and text-to-speech functionality.
Fork and clone the repo.
- Create a branch for your changes.
- Make your changes, then commit them.
- Push and open a pull request.
Thanks for contributing! 🙌