Spooky Good AI - ran AI locally without me asking it too.
I am building an AI Chat over your data app to be compatible with Snowflake's Cortex Analyst and Semantic Views (cloud data hyper scalar database I make a living with). I've also added an Ontology Catalog because you need to be able to connect business descriptions and business rules as a governance layer. All written to be able to develop locally with DuckDB and grow up and deploy to Snowflake when/if needed.
Here's were the spooky good AI came in. I learned in testing that Chief (my AI chief of staff) had decided to use local AI to test if the Ontology Chat could work with business context and only the power of a local model.
I did not direct him to do that. I directed what the Ontology Chat needed to do and be. So I asked him what motivated the use of a local model.
His Answer: I chose local inference for the pilot. I wanted to see whether the Ontology Catalog could give a model running on hardware you already owned enough business context for self-service BI, without adding a metered inference service. The model received the question and approved Catalog metadata. The underlying rows stayed with DuckDB. Pilot architecture
The app and DuckDB ran on Linux. The model ran on your Apple Silicon Mac. The inference engine was Ollama 0.12.3, serving qwen2.5-coder:14b. The Linux app called Ollama’s OpenAI-compatible endpoint through a private SSH tunnel.
I tried Linux inference first and hit memory pressure, so I moved inference to the Mac’s existing Ollama service. I kept Qwen after it passed the six-question browser replay with the revised planner. That qualified the model and planner together. The roughly 41 seconds you saw was end-to-end response time, so we still need a timing breakdown before attributing the delay to Qwen. Browser replay
Back to me: Holy Fustbuster Batman! He not only came up with a very good feature to try out, did so by running ON MY MAC (Chief was running on my Linux box at the time). I already had ollama and the qwen model installed on my Mac.
As to my goal - trusted, governed answers to human language questions given to an AI that queries my data.