FocusedDiversity / synaptiq-hppo

The truth-aware document manager
GNU General Public License v3.0
0 stars 0 forks source link

Create RAG demo notebook #24

Open erskine opened 10 months ago

erskine commented 10 months ago

We would like to create a demonstration notebook which shows our ability to index content, and perform retrieval augmented generation.

Let's have the problem broken down into cells where one cell might accept a parameter for content to be indexed and then indexes the content into a delta table similar to XOI.

The next cell would accept a query as input, embeds the query, searches the content delta table, and then construct a prompt for an llm to interpret the answer(s) and return a response.

Think of the notebook cells in terms of discrete pieces of functionality - that is, the content index embedding cell should be able to evolve independently of the query processing cell. For that matter, the query processing cell could be split into embedding, searching, and prompt creation. Each of these parts should be tweakable independent of each other.

ZoharKapach commented 10 months ago

Link erik shared in slack: rag notebook