CogniText is a LLM powered PDF reader that allow user to chat and get summary information about your pdf files. This app is powered by https://octo.ai/
CogniText is a LLM powered PDF reader that allow user to chat and get summary information about your pdf files. This app is powerd by Octo
Below is the demo of CogniText on Youtube
Download or clone this project
Install Nodejs: To run this app, you'll need to have Node.js installed on your machine. If you don't have it installed, you can download it from the official Node.js website.
Once you have Node.js installed, follow these steps:
cd
command.$ npm install
To run our app, first we need to set up our environment variable, we can do this by:
.env
in this directory.OCTO_AI_TOKEN=<your key here>
To run the project, follow these steps:
Make sure you have completed the previous steps successfully.
Open a terminal or command prompt.
Navigate to the project directory using the cd
command.
Execute the following command to start the project:
node index.js
Voilà you can now interact with the pdf files uploader in the files folder.
NB: Copy to the files directory all the pdf files you will like to interact with. :)
We welcome contributions to CogniText! If you'd like to contribute, please follow these guidelines:
Fork the Repository: Start by forking the CogniText repository on GitHub.
Clone the Forked Repository: Clone your forked repository to your local machine using git clone
.
Create a New Branch: Create a new branch for your contribution using git checkout -b feature/my-contribution
.
Make Changes: Make your desired changes to the codebase. You can add new features, fix bugs, or improve existing functionality.
Test Locally: Test your changes locally by running the app using node (node index.js
). Ensure that everything works as expected.
Commit and Push: Commit your changes and push them to your forked repository.
Create a Pull Request: Create a pull request from your branch to the main
branch of the original repository. Provide a clear description of your changes.
Review and Merge: The maintainers will review your pull request. Once approved, your changes will be merged into the main codebase.
This app uses LLM models, which may generate unpredictable responses. Always use caution and common sense when following the generated responses.