
Learn to build local llm applications with Python and Ollama, install and run models on your own system for privacy, explore LangChain, retrieval augmented generation, and agentic tools.
install Ollama on your system, download a local model, and interact via the GUI or command line; then explore Python libraries to build local LLM applications.
Learn to set up Ollama, download a llama model via the command line, and balance model size against performance and local resource use for fast on-premises prompts.
Celebrate reaching this milestone in building local llm apps. You are among the top 50% of learners; stay motivated with resources, q&a, ai assistant help, subtitles, and your certificate.
Explore command line customization with Ollama: enter a model, use slash commands to view options, and configure verbose and system messages to control responses, including token metrics.
Learn to create, save, and load a modified ollama model named Jarvis AI, view model details with /show, and manage parameters, system messages, and session history including /clear.
Install and set up Python and the development environment, choose an IDE, and use Jupyter Notebook to write and run code in cells with pip install notebook and ctrl+enter.
Install and import the ulama library in Python, pull and manage models with ulama, and generate or chat with models using Python, including explanations of system, user, and assistant roles.
Call the Ollama rest api to query a locally downloaded model by creating a client with the host, selecting a model, and sending messages to receive a response.
Learn how Ollama enables OpenAI compatibility by using the same code to call local llama models via a base URL, enabling OpenAI-style requests, Python workflows, and LangChain integration.
LangChain sits between user prompts and LLMs, enabling easy model replacement and features like memory, knowledge integration, and agents, including retrieval augmented generation and tool use.
Learn to build a Lang chain by creating a prompt template, invoking a language model, and formatting the output with a string output parser to extract content.
Master the retrieval augmented generation process: prepare knowledge as text chunks, create contextual embeddings, store them in a vector database, and retrieve relevant data to power lm-based answers.
Load the document with a text loader, split it into chunks with a recursive character splitter, embed with Ulama via LangChain, and store in Chroma vector database for query-based retrieval.
Convert text chunks into embeddings using local models (llama embeddings, nomic embed text), store them in a chroma vector database, and use similarity search with LangChain and Ollama.
Build a rag application that answers user questions using retrieved context. Create a prompt from the context and question, send it to a llama 3.1 model, and parse the output.
Build a RAG application by retrieving relevant documents, creating a context with format docs, and feeding it to a prompt for the model; Lang Chain provides embeddings across providers.
Explore tools and agents with llama models, learning to create tools and agents in Python, and to call travel portals using predefined LangChain tools for dynamic querying.
Explore tool calling with LangChain and lemma 3.1 using inbuilt tools like DuckDuckGo search and Wikipedia to identify models that support tools and build a tool calling agent.
Define a LangChain agent with an LM model, tools, and prompt, then run an agent executor to call tools and obtain local LM results via DuckDuckGo and Wikipedia.
Build local LLM applications using Python and Ollama by reaching the final milestone, join the top 5% of students, and download your certificate to your registered email.
If you are a developer, data scientist, or AI enthusiast who wants to build and run large language models (LLMs) locally on your system, this course is for you. Do you want to harness the power of LLMs without sending your data to the cloud? Are you looking for secure, private solutions that leverage powerful tools like Python, Ollama, and LangChain? This course will show you how to build secure and fully functional LLM applications right on your own machine.
In this course, you will:
Set up Ollama and download the Llama LLM model for local use.
Customize models and save modified versions using command-line tools.
Develop Python-based LLM applications with Ollama for total control over your models.
Use Ollama's Rest API to integrate models into your applications.
Leverage LangChain to build Retrieval-Augmented Generation (RAG) systems for efficient document processing.
Create end-to-end LLM applications that answer user questions with precision using the power of LangChain and Ollama.
Why build local LLM applications? For one, local applications ensure complete data privacy—your data never leaves your system. Additionally, the flexibility and customization of running models locally means you are in total control, without the need for cloud dependencies.
Throughout the course, you’ll build, customize, and deploy models using Python, and implement key features like prompt engineering, retrieval techniques, and model integration—all within the comfort of your local setup.
What sets this course apart is its focus on privacy, control, and hands-on experience using cutting-edge tools like Ollama and LangChain. By the end, you’ll have a fully functioning LLM application and the skills to build secure AI systems on your own.
Ready to build your own private LLM applications? Enroll now and get started!