How toLog your application
Capture your RAG pipeline
Retrieval-Augmented Generation (RAG) is a technique that enhances large language models by retrieving relevant information from external sources before generating responses.
This approach combines the power of pre-trained models with up-to-date, domain-specific knowledge, leading to more accurate and contextually appropriate outputs. To capture the RAG pipeline, you need to log it as a "Retrieval" entity. A Retrieval represents a query that fetches relevant context from a knowledge base or vector database.