Skip to content

Repository files navigation

Smart Docs.AI: AI-Powered PDF Question Answering System

Smart Docs.AI is an innovative platform that combines cutting-edge AI technologies to revolutionize how you interact with your documents. The app allows you to upload PDFs, tokenize their content, and extract meaningful insights using Langchain and Gemini AI. With real-time question answering capabilities, Smart Docs.AI transforms how you access and understand your documents.

Key Features

🔐 Authentication with Clerk

  • Secure user login via Clerk authentication, ensuring a personalized and safe experience.
  • Once logged in, you can easily upload and manage your PDFs.

Login Page

📄 Document Upload & AI Processing

  • Upload your PDF files, and Smart Docs.AI utilizes Langchain to tokenize and create vector embeddings.
  • These embeddings allow the system to understand the document’s content at a deeper level, enabling efficient question answering.

Upload Page

📝 Advanced PDF Editing Features

  • Highlight text, make notes bold, and adjust alignment directly within the PDF document.
  • The system allows you to format your document for a better user experience.

PDF Page

🤖 AI-Powered Question Answering

  • Ask questions based on the uploaded PDF, and Gemini AI will analyze the content and provide relevant answers.
  • The AI system also includes a summarizer, which gives a concise summary of the document.

PDF Page

💳 PayPal Integration

  • For lifetime access and unlimited uploads, you can integrate PayPal to purchase a premium subscription.
  • Enjoy full access to Smart Docs.AI for a one-time payment.

PayPal Integration

🏷️ Pricing and Free Tier

  • The free tier allows you to upload up to 5 PDFs.
  • For premium access, you can use PayPal to unlock lifetime access with unlimited PDF uploads.

💾 Save Documents (Future Scope)

  • Currently, documents are not saved unless the Gemini AI feature is used.
  • This feature is in development to enable saving documents for future reference and continued interaction.

🚀 Future Scope

  • Enhancements are underway for better document-saving capabilities.
  • More powerful AI models and improved embedding quality will be integrated to provide highly accurate answers.
  • Additional functionalities like question suggestion.

Tech Stack

  • UI: Next.js
  • Styling: Tailwind CSS
  • AI & Embedding: Langchain, Gemini
  • Database: MongoDB
  • Payment Integration: PayPal
  • Authentication: Clerk

Langchain's Role in the Project

In Smart Docs.AI, Langchain is responsible for tokenizing the content of uploaded PDF documents and creating vector embeddings. These embeddings transform the document’s text into numerical representations that are more easily understood by the AI. This allows Gemini AI to quickly process the content and answer user questions based on the document. Langchain makes the entire process of handling and embedding document data seamless, enabling more effective and accurate question-answering capabilities.

Contributing

We welcome contributions to improve Smart Docs.AI! To contribute:

  1. Fork the repository
  2. Create a new branch
  3. Make your changes
  4. Submit a pull request

Please ensure that your contributions follow our coding standards and are well-documented.

Acknowledgments

@Sharad117 for constant guidance and doubt support 😃



Get Started Now!
Visit SmartDocs.AI.


Smart Docs.AI is continuously evolving, and we aim to provide the best user experience with the latest AI advancements. Thank you for exploring our project! 🎉

Releases

Packages

Used by

Contributors

Languages