haesleinhuepf / simple-rag

An implementation of retrieval-augmented-generation (RAG) using numpy and OpenAI embeddings, with no clutter, for academic purposes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple RAG

This repository contains a notebook that demonstrates how retrieval-augmented-generation works. A text file full of code snippets with short explanations serves as knowledge base.

Installation

pip install openai==1.30.1

About

An implementation of retrieval-augmented-generation (RAG) using numpy and OpenAI embeddings, with no clutter, for academic purposes

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Jupyter Notebook 100.0%