BirdNest Tech Talk
Author

BirdNest Tech Talk

Author of the rpcx microservice framework, original book author, and chair of Baidu's Go CMC committee.

155
Articles
0
Likes
1.1k
Views
0
Comments
Recent Articles

Latest from BirdNest Tech Talk

100 recent articles max
BirdNest Tech Talk
BirdNest Tech Talk
Oct 2, 2025 · Artificial Intelligence

How Function Calling Empowers LLMs: A Step‑by‑Step LangChain Guide

This article explains how function (tool) calling lets large language models like GPT or Gemini invoke external APIs, walks through defining tools with LangChain, and demonstrates a complete Python example that fetches real‑time weather data and returns a natural‑language answer.

AI AgentsFunction CallingLLM
0 likes · 9 min read
How Function Calling Empowers LLMs: A Step‑by‑Step LangChain Guide
BirdNest Tech Talk
BirdNest Tech Talk
Sep 30, 2025 · Artificial Intelligence

LLM vs. ChatModel in LangChain: Choosing the Right Interface

This article explains LangChain's two core abstractions—LLM for simple text completion and ChatModel for multi‑turn conversational AI—detailing their input/output formats, practical code examples, and why ChatModel is generally preferred for modern dialogue applications.

AIChatModelLLM
0 likes · 6 min read
LLM vs. ChatModel in LangChain: Choosing the Right Interface
BirdNest Tech Talk
BirdNest Tech Talk
Sep 29, 2025 · Artificial Intelligence

Mastering LangChain Serialization: Save, Load, and Share Your AI Workflows

Learn how to serialize LangChain components—including prompts, chains, and agents—using JSON and YAML, enabling reproducibility, collaboration, persistence, and decoupling, with step‑by‑step code examples for dumping objects to files and loading them back into executable LLM pipelines.

AI workflowLLMLangChain
0 likes · 8 min read
Mastering LangChain Serialization: Save, Load, and Share Your AI Workflows
BirdNest Tech Talk
BirdNest Tech Talk
Sep 28, 2025 · Artificial Intelligence

Mastering LangChain Callbacks: Track LLM Execution Step‑by‑Step

LangChain’s callback system lets developers hook into every stage of an LLM chain— from chain start/end to token generation—using built‑in handlers like StdOutCallbackHandler or custom handlers derived from BaseCallbackHandler, with examples showing constructor‑level and request‑level attachment, plus a custom handler implementation.

AILLMLangChain
0 likes · 6 min read
Mastering LangChain Callbacks: Track LLM Execution Step‑by‑Step
BirdNest Tech Talk
BirdNest Tech Talk
Sep 25, 2025 · Artificial Intelligence

How to Install and Configure LangChain for LLM Development

This guide walks you through installing the LangChain library, adding model‑specific packages, verifying the setup with a Python script, configuring API keys via environment variables or a .env file, and preparing to use OpenAI‑compatible models such as DeepSeek or Qwen.

API keysEnvironmentLLM
0 likes · 8 min read
How to Install and Configure LangChain for LLM Development
BirdNest Tech Talk
BirdNest Tech Talk
Sep 25, 2025 · Artificial Intelligence

Mastering LangChain: A Hands‑On Guide to Building LLM Applications

This repository offers a comprehensive, step‑by‑step LangChain tutorial series that walks developers through installation, the LangChain Expression Language, streaming, parallel execution, callbacks, serialization, model customization, prompt templates, memory, multimodal support, and advanced tools like LangGraph and LangSmith, enabling the creation of sophisticated AI applications.

AI developmentAgentsLLM
0 likes · 9 min read
Mastering LangChain: A Hands‑On Guide to Building LLM Applications
BirdNest Tech Talk
BirdNest Tech Talk
Sep 11, 2025 · Backend Development

Why Go Introduced encoding/json/v2: Fixes, New API, and Performance Gains

The article analyzes the long‑standing issues of Go's original encoding/json package, explains the design and API of the experimental encoding/json/v2 and jsontext packages, and shows how the new implementation improves correctness, flexibility, and performance while preserving compatibility.

API designGoJSON
0 likes · 23 min read
Why Go Introduced encoding/json/v2: Fixes, New API, and Performance Gains