Skip to content

Commit

Permalink
update readme and page title
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashleyhx committed Apr 20, 2024
1 parent 08d4de0 commit b3a4ae9
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 15 deletions.
42 changes: 37 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,40 @@
# React + Vite
# Clippit - An LLM-powered Chat Application for PDFs

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
This is a LLM-powered chat application in React, similar to ChatPDF
and ChatGPT. The application should allow users to ask questions related to a PDF
document uploaded by them, with the LLM providing accurate answers by leveraging RAG
techniques.

Currently, two official plugins are available:
User will need to provide their own OpenAI API key to use this application.

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
## Features

- PDF text extraction
- Chat interface for asking questions
- Integration with OpenAI's GPT-3 for answering questions
- Ability to upload PDFs

## Development

This project can be run locally by following these steps:

Clone the repository and install the dependencies:

```bash
git clone [email protected]:Ashleyhx/clippit.git
cd clippit
npm install
```

Run the development server:

```bash
npm run dev
```

## Technologies

- **Frontend**: React, Mantine UI
- **Build Tool**: Vite
- **PDF Processing**: `react-pdftotext` library
- **API Integration**: `gpt-3.5-turbo`
20 changes: 10 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
<head>
<meta charset="UTF-8"/>
<!-- <link rel="icon" type="image/svg+xml" href="/vite.svg"/>-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>clippit</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>

0 comments on commit b3a4ae9

Please sign in to comment.