Skip to content

Askwiseo is an AI-powered tool that transforms PDFs into interactive knowledge bases—just upload a document and start asking questions like you're chatting with an expert.

Notifications You must be signed in to change notification settings

Arunkumar158/Askwiseo

Repository files navigation

Askwiseo 🧠📄 — AI-Powered PDF to Knowledge Base System

Askwiseo transforms static PDFs into smart, queryable knowledge bases using powerful AI models. Built with a modern stack and optimized for speed and usability, Askwiseo is your go-to solution for turning documents into interactive, searchable experiences.


🚀 Live Demo

Coming soon!


✨ Features

  • 📄 Upload and parse PDFs into structured content
  • 🔍 Query the knowledge base in natural language
  • 🤖 Powered by advanced LLMs (OpenAI / Hugging Face)
  • 🧠 Semantic search with vector embeddings (Pinecone)
  • ⚙️ Fast and scalable backend (FastAPI)
  • 💾 Supabase for user management and document storage
  • 🌐 Sleek and modern UI built with Next.js & Shadcn/UI

🛠 Tech Stack

Frontend:

  • Next.js (App Router)
  • Tailwind CSS + shadcn/ui
  • TypeScript

Backend:

  • FastAPI (Python)
  • LangChain (for LLM integration and agent logic)
  • Pinecone (vector database for embeddings)
  • Supabase (auth + DB for metadata)

AI Models:

  • OpenAI GPT-4 or Hugging Face Transformers (configurable)

🧬 How It Works (Internal Architecture)

User Uploads PDF 
    | 
    v 
Text Extractor (PyMuPDF / PDFplumber) 
    | 
    v 
Chunking & Embedding Generator (LangChain + OpenAI/HF) 
    | 
    v 
Embeddings stored in Pinecone (vector DB) 
    | 
    v 
User asks a question 
    -> LangChain QA chain retrieves chunks 
    -> LLM generates answer 
    -> Response shown in frontend

Bonus: Metadata is stored in Supabase (file name, upload date, user ID) for traceability.


⚙️ Getting Started

1. Clone the repo

git clone https://github.com/your-username/askwiseo.git
cd askwiseo

2. Set up environment variables

Create a .env file for both frontend and backend:

.env (FastAPI)

OPENAI_API_KEY=your_key
PINECONE_API_KEY=your_key
SUPABASE_URL=your_url
SUPABASE_SERVICE_ROLE_KEY=your_key

.env.local (Next.js)

NEXT_PUBLIC_SUPABASE_URL=your_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_key

3. Run the backend (FastAPI)

cd backend
uvicorn main:app --reload

4. Run the frontend (Next.js)

cd frontend
npm install
npm run dev

🗂 Folder Structure

askwiseo/
├── backend/
│   ├── main.py
│   └── services/
├── frontend/
│   ├── app/
│   └── components/
├── README.md
├── .env

🤝 Contributing

Got ideas to improve Askwiseo? Open a pull request or start a discussion!


📄 License

MIT License.


🙋‍♂️ Author

Built with 💡 by Arun Kumar
Email: arunkumar.ai.engineer@gmail.com Project: Askwiseo

About

Askwiseo is an AI-powered tool that transforms PDFs into interactive knowledge bases—just upload a document and start asking questions like you're chatting with an expert.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages