Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mahikshith/langchain_rag_document_app

used gemini-pro as base LLM
https://github.com/mahikshith/langchain_rag_document_app

Last synced: 11 days ago
JSON representation

used gemini-pro as base LLM

Awesome Lists containing this project

README

        

# Langchain_RAG_app

Retrival augumented generation :

Retrieval-Augmented Generation (RAG) is the process of optimizing the output of a large language model, so it references an authoritative knowledge base outside of its training data sources before generating a response.

Which means we can use the power LLMs to make it do something outside it's training knowledege.

In this exmaple we use GEMINI pro as think tank , FAISS as vector store to generate and store embeddings.

User query (based on the pdf) is taken as input and we retive the embeddings from the vector store and use it as context for the LLM to generate the answer.

This approach helps in improving the accuracy and relevance of the generated response.