Category/Tag: Machine Learning

Building a Local DeepSeek R1 Chatbot with Chainlit

Building a Local DeepSeek R1 Chatbot with Chainlit

In our last tutorial, we showed how to build a locally-ran Deepseek R1 chatbot using Streamlit. Today, we'll be trying a different Python package called Chainlit; a conversational AI application framework that provides an elegant, real-time chat interface out of the box.


Building a Local DeepSeek R1 Chatbot with Streamlit and Ollama

Building a Local DeepSeek R1 Chatbot with Streamlit and Ollama

While DeepSeek R1 is no longer at the forefront of the news, it still continues to be a strong contender among LLMs and can be especially easy to use with locally ran AI chatbots. In today's AI tutorial by Bruce Nielson, we'll be showcasing how to build a simple and transparent local chatbot using DeepSeek and Ollama.


How DSPy Optimizes Prompts

How DSPy Optimizes Prompts

Merry Christmas from the Mindfire Team! As an early present, here is another free article from Bruce Nielson on DSPy, a powerful tool that turns Large Language Models into structured, type-safe Python functions. Today's article will discuss how you can optimize your DSPy results using MIPROv2.


How DSPy Builds Prompts

How DSPy Builds Prompts

DSPy is an incredible tool that can be used to prompt LLMs with Python code. But how does it actually work? In today's quick AI tutorial, Bruce Nielson will break down how DSPy builds its unique prompts so you can better use it to improve your AI workloads.


DSPy: A Powerful (But Sometimes Dangerous) Prompting Tool

DSPy: A Powerful (But Sometimes Dangerous) Prompting Tool

Previously, we showcased DSPy and how it could be used to prompt LLMs like Python code. Today, we'll be showcasing another example to help you really get the hang of how DSPy can benefit your workloads.


DSPy: Prompt your LLM Like It's Code

DSPy: Prompt your LLM Like It's Code

Ever wonder if you could communicate with an LLM using code rather than prompts? Thanks to DSPy, an open-source Python framework, you can do just that. This tutorial by Bruce Nielson will walk you through how it works and how to use it.


Google Gemini 3 Makes a Huge Leap on the ARC‑AGI Benchmark

Google Gemini 3 Makes a Huge Leap on the ARC‑AGI Benchmark

Gemini 3 posts human‑like reasoning on ARC Prize, moving AI beyond pattern matching toward structured AGI problem solving.


AI Tutorial: Build a Free Gemini AI Chat Agent with n8n

AI Tutorial: Build a Free Gemini AI Chat Agent with n8n

Want to experiment with Gemini-based AI chatbots? In today's AI tutorial by Bruce Nielson, he'll be walking us through how to build a Gemini AI chatbot FOR FREE using n8n.


AI Tutorial: Installing n8n Self Hosted Community Edition

AI Tutorial: Installing n8n Self Hosted Community Edition

In today's AI Article by Bruce Nielson, we'll be covering how to install n8n Community Edition on Windows, a foundation for building cost-effective AI workflows.


How to Install Node.js (for Windows)

How to Install Node.js (for Windows)

For the last year, we have been building a library of AI articles designed to help anyone understand and know how to build their own AI systems. One important part of that process has been staying as free and open-source as possible, and in today's AI article we'll be showing you how to set up Node.js in preparation for hosting a free version of n8n.