Skip to content

Commit

Permalink
readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmit0920 committed Dec 8, 2024
1 parent 511c007 commit cd92044
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 151 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ __pycache__/
sample_doc.docx
ToDo.txt
SE*
uploaded_documents/
uploaded_documents/
test*
38 changes: 33 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,33 @@
# Mindsy.ai

## Overview
![homepage](./assets/homepage.png)

Mindsy.ai is a web application that allows users to upload documents, ask context-aware questions, and receive AI-generated responses. Built with a seamless React frontend and a robust FastAPI backend, the platform is designed to support professionals in domains like finance, legal, and healthcare by simplifying information retrieval from large documents.

## **Features**

1. **Secure Document Upload**
- The platform ensures data privacy and secure handling of uploaded files.

2. **Context-Aware AI Responses**
- Provides highly accurate and context-aware answers based on the uploaded document.
- Ideal for professionals in finance, legal, healthcare, and more.

3. **Image and OCR Support**
- Extracts text from image-based documents with high accuracy using OCR (Optical Character Recognition).
- Can read and derive insights from images embedded in docs including graphs, pie charts, etc. making it perfect for financial use-cases.

4. **Markdown-Formatted Responses**
- AI-generated responses are displayed in Markdown syntax, ensuring readability with formatted text, headings, bullet points, and code blocks.

5. **High-Performance Platform**
- Optimized backend ensures fast query processing with minimal latency.
- Can handle large documents and complex queries efficiently.

![chat interface](./assets/chat%20interface.png)

In the above example, the app accurately understands a pie chart from a specifically mentioned page and provides a response in minimal time.

## Tools and Technologies Used

- **FastAPI:** Handles API endpoints for document uploads and query processing.
Expand All @@ -25,20 +50,23 @@ cd mindsy.ai
1. Head to [Google AI Studio](https://ai.google.dev/gemini-api/docs) and get an API key for the Gemini 1.5 Flash model. It is free of cost and has a rate limit of 15 RPM and 1 million TPM (tokens per minute).

2. Open the `sample.env` file in the root directory and paste your API key.
```bash
gemini_key = "YOUR_API_KEY" # do not rename the variable 'gemini_key'.
```
```bash
gemini_key = "YOUR_API_KEY" # do not rename the variable 'gemini_key'.
```

### 3. Setting Up the Frontend
1. Navigate to the `landing-page` directory:
1. Navigate to the `landing-page` directory:

```bash
cd landing-page
```
2. Install the dependencies:

```bash
npm install
```
3. Start the React development server:

```bash
npm start
```
Expand Down
Binary file added assets/chat interface.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/homepage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 0 additions & 26 deletions test.py

This file was deleted.

55 changes: 0 additions & 55 deletions test2.py

This file was deleted.

64 changes: 0 additions & 64 deletions test3.py

This file was deleted.

0 comments on commit cd92044

Please sign in to comment.