BirdNest Tech Talk
Author

BirdNest Tech Talk

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

129
Articles
0
Likes
11
Views
0
Comments
Recent Articles

Latest from BirdNest Tech Talk

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

Mastering Text Splitting in LangChain: From Theory to Code

This guide explains why large documents must be broken into semantic chunks for LLMs, introduces core parameters like chunk_size and chunk_overlap, compares LangChain's various splitters, and walks through a complete Python example that loads a long text, configures a RecursiveCharacterTextSplitter, and inspects the resulting chunks.

EmbeddingLangChainRAG
0 likes · 9 min read
Mastering Text Splitting in LangChain: From Theory to Code
BirdNest Tech Talk
BirdNest Tech Talk
Oct 11, 2025 · Artificial Intelligence

How to Load Documents into LangChain: From Files to APIs

Learn how to use LangChain's Document Loaders to import data from files, web pages, databases, and APIs, understand the Document object structure, compare load() versus lazy_load(), and follow a step‑by‑step Python example that demonstrates loading, inspecting, and optionally processing documents with an LLM.

Data integrationDocument LoaderLLM
0 likes · 12 min read
How to Load Documents into LangChain: From Files to APIs
BirdNest Tech Talk
BirdNest Tech Talk
Oct 10, 2025 · Artificial Intelligence

How to Build a Custom Output Parser in LangChain for Non‑Standard LLM Formats

This guide explains why custom output parsers are needed for LangChain when dealing with non‑JSON or XML responses, walks through inheriting BaseOutputParser, implementing parse() and optional format instructions, and provides a complete Python example that converts a simple "Key: Value" string into a dictionary.

CustomParserLLMLangChain
0 likes · 6 min read
How to Build a Custom Output Parser in LangChain for Non‑Standard LLM Formats
BirdNest Tech Talk
BirdNest Tech Talk
Oct 9, 2025 · Fundamentals

What’s New in Go’s sync Package? A Deep Dive into APIs, Performance, and Safety

Over the past two years, Go’s sync and sync/atomic packages have introduced new APIs like WaitGroup.Go, enhanced Map methods, modernized atomic types, restructured internal implementations, and added developer‑friendly safeguards such as noCopy, all aimed at improving usability, safety, and performance for concurrent Go programs.

APIGoPerformance
0 likes · 12 min read
What’s New in Go’s sync Package? A Deep Dive into APIs, Performance, and Safety
BirdNest Tech Talk
BirdNest Tech Talk
Oct 8, 2025 · Artificial Intelligence

How to Turn LLM Text into Structured Data with LangChain Output Parsers

This article explains why LLMs output plain text, introduces LangChain output parsers as the bridge to structured data, details their workflow, reviews built‑in parsers, and walks through a complete Python example that builds a prompt‑model‑parser chain to generate a JSON‑based joke.

LLMLangChainOutputParser
0 likes · 10 min read
How to Turn LLM Text into Structured Data with LangChain Output Parsers
BirdNest Tech Talk
BirdNest Tech Talk
Oct 6, 2025 · Artificial Intelligence

How to Master Few-Shot Prompting with LangChain’s Example Selectors

The article explains why few-shot prompting benefits from dynamically selecting a small set of relevant examples, introduces LangChain’s ExampleSelector component, compares three selector strategies—LengthBased, SemanticSimilarity, and MaxMarginalRelevance—detailing their algorithms, advantages, drawbacks, and provides step-by-step Python code demonstrations for each.

AIEmbeddingExample selector
0 likes · 9 min read
How to Master Few-Shot Prompting with LangChain’s Example Selectors