#langchain
-
How to Use LangChain with Ollama: Local Chat, Tools, Structured Output and Embeddings
Wire ChatOllama and OllamaEmbeddings to a local Ollama server: install, the context window and keep_alive settings that decide whether it holds up, bind_tools, with_structured_output, and the failure modes to expect.
-
LangChain Agent Errors: Loops, Tools, Parsing
Why LangChain agents loop forever, skip tools, pass bad arguments or fail to parse output, and the configuration changes that fix each symptom.
-
LangChain vs LangGraph vs LlamaIndex Compared
LangChain, LangGraph and LlamaIndex solve different problems. A side-by-side comparison of scope, state model, retrieval depth and which one to pick.
-
LangChain RAG Pipeline: Setup to First Answer
How a LangChain RAG pipeline fits together: loading, chunking, embeddings, vector storage and retrieval, plus the settings that decide answer quality.
-
LangChain Building Blocks: Chains, Tools and Agent Control
What LangChain actually abstracts, when an agent loop is the wrong choice, and how to keep retrieval, memory and token cost under control in production.