In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3001 to view it in your browser.
Create a new database using this command. We are using SQLite
Run all required migrations in order to populate the schema
You can start the server using the following command.
The application is basically a replica of askmybook.com
. And it uses covers all the fatures of the given website. Following are some steps covering this app's functionality.
Tokenizing the PDF into Tokens
Using Tokens to Generate a DataFrame
Using OpenAI Models for Embedding
Adding Embeddings to the created DataFrame
Using OpenAI Model for Completion ( Question/ Answers )
Fetching data from CSV
Training the model for context based conversation
Adding text to speech for answers
Reinforcing the model by providing matching data