Skip to content

💬 Document Reading, Redefined. Converse with any document!

License

Notifications You must be signed in to change notification settings

shxntanu/PageTalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PageTalk

Document Reading, Redefined.

PageTalk allows you to effortlessly converse with your documents. Simply upload a document, and PageTalk will automatically generate a summary of the document. You can then ask questions about the document, and PageTalk will provide you with the answers. PageTalk is perfect for students, researchers, and professionals who want to quickly understand and analyze documents.

Export the document to NoteSync, and you can easily share the document with your friends and colleagues. NoteSync allows you to collaborate with others in real-time, making it easy to work together on projects.

Demo

Demo.webm

Built With

  • Frontend: NextJS
  • Database, Cloud Storage, and Authentication: Supabase
  • Backend: Flask
  • LLM: Mixtral 8x7b

Getting Started

  1. Set-up a supabase project and get the Public URL and ANON Key.
  2. Clone the repository.
  3. Create a .env.local file in the root directory and add the following environment variables:
    NEXT_PUBLIC_SUPABASE_URL=<YOUR_SUPABASE_URL>
    NEXT_PUBLIC_SUPABASE_ANON_KEY=<YOUR_SUPABASE_ANON_KEY>
  4. Create tables in your Supabase database according to the schema in client/src/supabase/database.types.ts.
  5. Set up Row Level Policies for each table to allow SELECT, INSERT, DELETE and UPDATE for authenticated users only.
  6. Set up authentication in Supabase and enable email verification.
  7. Run the following commands:
    cd frontend
    npm install
    npm run dev
    That will get your frontend running.
  8. For the backend, run the following commands:
    cd backend
    
    python3 -m venv env
    source env/bin/activate
    
    pip install -r requirements.txt
    
    python3 server.py
    That will get your backend running.
  9. You will need to add environment variables as specified in server/.env.example to a .env file in the server directory.
  10. And that's it! You're all set up.

Features

  • Document Summarization: PageTalk automatically generates a summary of the document.
  • Question Answering: Ask questions about the document, and PageTalk will provide you with the answers.
  • Export to NoteSync: Export the document to as a Note in proper markdown format to NoteSync

Contributors

About

💬 Document Reading, Redefined. Converse with any document!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published