Introduction to LangChain: Concepts, Models & LLM Integration

A comprehensive introduction to LangChain explaining its core concepts, supported model types, and hands-on integration with Ollama LLMs, chat models, and embedding models.

December 29, 2025 · 3 min · 561 words · Nirajan Khatiwada

Prompt Engineering in LangChain: Templates, Messages & ChatPromptTemplate

Learn how to control and structure prompts in LangChain using PromptTemplate, message classes, and ChatPromptTemplate to build safe, consistent, and context-aware chat applications.

December 29, 2025 · 6 min · 1084 words · Nirajan Khatiwada

Structured Output in LangChain: Pydantic Models & Output Parsers

Learn how to enforce structured outputs in LangChain using Pydantic schemas, with_structured_output, and output parsers to build reliable, production-ready LLM applications.

December 29, 2025 · 5 min · 942 words · Nirajan Khatiwada

Chains in LangChain: Sequential, Parallel & Conditional Workflows

Learn how to compose powerful LLM workflows in LangChain using chains, including sequential, parallel, and conditional execution patterns with real-world examples.

December 29, 2025 · 4 min · 788 words · Nirajan Khatiwada