Retrieval Augmented Generation (RAG) using Mistral-7B LLM on Ollama

Implementation of a RAG Application by using MistralAI's Mistral-7B v0.3 Pre-trained Large Language Model (with 7.25 Billion Parameters) released on May 22, 2024 hosted on Ollama.

Context Retrieval is achieved by passing relevant documents - Web URLs - in the appropriate context file.

Environment Variables needed to run code:

Test Run

The RAG application test run was provided with a context document URL from USA Today dated Aug 12, 2024 which suggests the discovery of Water on Planet Mars (link)

Test RAG Output