varun-balani / ask-ai

Webapp to ask AI questions regarding college course material

Home Page:https://ask-ai.varunbalani.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ask-AI

Web app to ask AI questions about my college course material.
https://ask-ai.varunbalani.com/

Behaviour

This project performs Retrieval Augmented Generation(RAG) using embeddings generated from my course material. Embeddings were generated using OpenAI's text embedding model: text-embedding-ada-002. The generated vectors are stored in a Pinecone index with different namespaces corresponding to each subject. When a user enters a query, a similarity search is performed on the stored embeddings for the selected subjects. The top-k results are returned, and given as context to the chat completion model which uses the context to answer the user's query.

Tech Stack

image

About

Webapp to ask AI questions regarding college course material

https://ask-ai.varunbalani.com/


Languages

Language:TypeScript 96.5%Language:JavaScript 1.8%Language:CSS 1.7%