usmanasif / askmybook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started with Rails New App

Available Scripts

In the project directory, you can run:

bundle install

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

rails db:create

Run all required migrations in order to populate the schema

rails db:migrate

You can start the server using the following command.

rails s

Features

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

About


Languages

Language:Ruby 75.9%Language:JavaScript 16.0%Language:HTML 4.6%Language:CSS 3.5%