← All posts

Geek Out Time: Play with LangChain 2- locally with Gemma

Mar 2024·~272 words in full

In “ Geek Out Time: Play with Langchain ”, I realized that I had reached my OpenAI usage limit and needed to arrange for an upgrade. Running the Large Language Model (LLM) locally, where LangChain can access it, will save some money. Google released Gemma a few weeks back . Let’s give it a try.

ollama run gemma:2b After successful installation, we can verify it by posing questions internally to see Gemma’s responses.

3. Install LangChain

pip install langchain Run the command to verify the installation

This is an excerpt — the full article continues on Medium.

Read the full article on Medium →

© 2026 Nedved Yang

Vibe-coded with AI + Next.js + Tailwind CSS

Singapore