Constructing a complicated native LLM RAG pipeline by combining dense embeddings with BM25 Code snippet from…