Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AskMe 🤖

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.


Features 🛠️

  • 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.

Demo 🎥

Check out the live demo:


Technologies Used 🛠️

  • Backend: FastAPI, EURI API
  • Frontend: Next.js, React, Tailwind CSS
  • Deployment: Vercel(Frontend), Render(Backend)

Setup and Installation ⚡

Prerequisites

  • Python 3.11+ for the backend
  • Next.js 15.5+ for the frontend
  • EURI API Key Euri

Technologies Used 🛠️

  • Backend: FastAPI, EURI API (OpenAI)
  • Frontend: Next.js, React, Tailwind CSS
  • Deployment: Vercel (Frontend), Render/Heroku (Backend)

Setup and Installation ⚡

Prerequisites

  • 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).

Backend Setup

  1. Clone the repository:
   git clone https://github.com/tanishra/AskMe.git
   cd AskMe/backend
  1. Install dependencies:
pip install -r requirements.txt
  1. 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
  1. Run the FastAPI backend:
uvicorn backend.server:app --reload

Your backend will be live at http://localhost:8000.


Frontend Setup (Next.js)

  1. Navigate to the frontend directory:
cd ai-qa-bot/frontend
  1. Install dependencies:
npm install
  1. Run the frontend locally:
npm run dev

Future Enhancements 🚀

  • 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.

Contributing 🤝

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! 🙌

About

AI Q&A Bot is a simple, full-stack application that lets users ask natural language questions and get AI-generated answers. Built with FastAPI and Next.js, the app connects to OpenAI models via the EURI API middleware. This project was created as part of an internship assignment — going beyond the original requirements to include a modern web inter

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages