Closed garvk closed 2 weeks ago
Descriptions for 3 RAGs
Base: Nothing fancy, foundational RAG that generates context-aware responses by retrieving relevant information from a given document set. Leverages llama-index; using SimpleDirectoryReader for document loading and VectorStoreIndex for index creation. Streaming and chat history is allowed, but currently disabled.
Pro tip: answers general questions from the document which are directly referenced. Little to no insight is provided more than the source material
SubQA: More power to user queries. Breaks down a user query into smaller relevant queries. Each query generates context-aware responses, and the responses are combined into a single comprehensive answer. Streaming is not possible. Chat history is possible, but currently disabled. Click here for more info<Insert link: https://docs.llamaindex.ai/en/stable/examples/output_parsing/guidance_sub_question/>
Pro tip: provides a wider description of concepts/facts provided in the document, even beyond the scope of the document but limited to the context.
Raptor: Consolidates info context into clear summaries. Adapts a bottom-up approach by clustering information chunks to form a hierarchical tree structure. Click here for more info<Insert link: https://docs.llamaindex.ai/en/stable/api_reference/packs/raptor/>
Pro tip: Best at answering factual questions which requires more specific prompts. Prefer this when numbers or values are expected.
@Munir-fractal to move this ticket to "In Review" after creating sub-tasks on this.
Likely actions to be performed:
Actionable items: