Skip to content

This repo contains a web app made it with streamlit. it integrates a LLM from OpenAI using Langchain for exploring an external document, this aproach is called Retrival augmentation generation (RAE)

Notifications You must be signed in to change notification settings

orlandombaa/Retrival-augmentation-generation--RAE-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Retrival augmentation generation (RAE)

This repo contains a web app made with Streamlit. it integrates an LLM from OpenAI using Langchain for exploring an external document, this approach is called Retrieval augmentation generation (RAE).

In general terms, the main steps for this can be divided into the following steps:

  1. Loading the document
  2. Transforming the document (in this case a chunk strategy based on lengths of characters)
  3. Set up the embedding model
  4. Create the vector database
  5. Set up the LLM model
  6. Creation of the global chain

You can check the code in order to see in more details the process. In case you want to take a look how it works you can find a demo in the following link:

https://wjmdqv5uk2lxvg243ssrjr.streamlit.app/

Captura de Pantalla 2023-08-07 a la(s) 10 37 06 a m

About

This repo contains a web app made it with streamlit. it integrates a LLM from OpenAI using Langchain for exploring an external document, this aproach is called Retrival augmentation generation (RAE)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages