Skip to content
/ AskMyDoc Public

AskMyDoc is a user-friendly Streamlit app that lets you upload documents and ask questions about their content. It supports PDFs, and TXTs files, using the ChatGroq API for AI-powered answers.

Notifications You must be signed in to change notification settings

mmtq/AskMyDoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AskMyDoc

AskMyDoc is a Streamlit-based application that enables users to upload documents and ask questions based on their content. It supports various document formats, including PDF, TXT, and leverages the ChatGroq API for AI-powered responses.

Features

  • Document Upload: Upload documents in PDF, TXT, or DOCX formats.
  • Question Answering: Pose questions related to the content of the uploaded documents.
  • AI-Powered Responses: Utilizes the ChatGroq API to provide accurate answers based on the document's content.

Prerequisites

Before setting up the application, ensure you have the following:

  1. Python: Version 3.7 or higher.
  2. ChatGroq API Key: Sign up for a Groq account and generate an API key. Set this key as an environment variable named GROQ_API_KEY.

Installation

  • Clone the Repository: git clone https://github.com/mmtq/AskMyDoc.git cd AskMyDoc

  • Install Dependencies: Use pip to install the required Python packages: pip install -r requirements.txt

Usage

  1. Set Up Environment Variables: Ensure the GROQ_API_KEY environment variable is set: export GROQ_API_KEY='your-groq-api-key-here'

  2. Start the Application: Run the app.py script using Streamlit: streamlit run app.py

  3. Upload Documents: Through the Streamlit interface, upload the documents you want to interact with.

  4. Ask Questions: Use the interface to ask questions related to the content of the uploaded documents.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your changes.

About

AskMyDoc is a user-friendly Streamlit app that lets you upload documents and ask questions about their content. It supports PDFs, and TXTs files, using the ChatGroq API for AI-powered answers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages