RAGnarok is a Retrieval-Augmented Generation chatbot frontend for Nemesis. It allows you to ask questions about text extracted from compatible documents processed by Nemesis.
Short explanation: The general idea with Retrieval-Augmented Generation (RAG) is to allow a large language model (LLM) to answer questions about documents you've indexed.
Medium explanation: RAG involves processing and turning text inputs into set-length vectors via an embedding model, which are then stored in a backend vector database. Questions to the LLM are then used to look up the "most similiar" chunks of text which are then fed into the context prompt for a LLM.
Longer explanation in the rest of the section :)
Even Longer explanation in this blog post.
Retrieval-augumented generation is an architecture where documents being processed undergo the following process:
This is the initial indexing process that Nemesis has been performing for a while. However, in order to complete a RAG-pipeline, the next steps are:
nlp container in Nemesis. This is exposed at http://<nemesis>/nlp/hybrid_searchWe now have the k most chunks of text most simliar to our input query. If we want to get a bit facier, we can execute what's called reranking.
Python
99.3%
RAGnarok is a Retrieval-Augmented Generation chatbot frontend for Nemesis. It allows you to ask questions about text extracted from compatible documents processed by Nemesis.
Short explanation: The general idea with Retrieval-Augmented Generation (RAG) is to allow a large language model (LLM) to answer questions about documents you've indexed.
Medium explanation: RAG involves processing and turning text inputs into set-length vectors via an embedding model, which are then stored in a backend vector database. Questions to the LLM are then used to look up the "most similiar" chunks of text which are then fed into the context prompt for a LLM.
Longer explanation in the rest of the section :)
Even Longer explanation in this blog post.
Retrieval-augumented generation is an architecture where documents being processed undergo the following process:
This is the initial indexing process that Nemesis has been performing for a while. However, in order to complete a RAG-pipeline, the next steps are:
nlp container in Nemesis. This is exposed at http://<nemesis>/nlp/hybrid_searchWe now have the k most chunks of text most simliar to our input query. If we want to get a bit facier, we can execute what's called reranking.
Python
99.3%