Disclaimer
The stock data used in this article is entirely fictitious. It is purely for demo purposes. Please do not use this data for making any financial decisions.
In a previous article, we saw the benefits of using Ollama locally for a RAG application. In this article, we’ll extend our evaluation of Ollama by testing natural language (NL) queries against a database system, using LangChain’s SQLDatabaseToolkit. SQL will serve as the baseline system for comparison as we explore the quality of results provided by OpenAI and Ollama.