Python

The RAG Basics: From Documents to Cited Answers featured image

The RAG Basics: From Documents to Cited Answers

Understand ingestion, chunking, retrieval, and grounded generation, with citations that constrain answers.

avatar
杨劲松
•
Python Runtime & Basics featured image

Python Runtime & Basics

A scenario-driven guide to Python Runtime & Basics, including boundaries, failure paths, and production trade-offs.

avatar
杨劲松
•
Python Data Structures & Decorators featured image

Python Data Structures & Decorators

A scenario-driven guide to Python Data Structures & Decorators, including boundaries, failure paths, and production trade-offs.

avatar
杨劲松
•
Python asyncio & Concurrency featured image

Python asyncio & Concurrency

A scenario-driven guide to Python asyncio & Concurrency, including boundaries, failure paths, and production trade-offs.

avatar
杨劲松
•
OpenAI API Fundamentals: Requests, Messages, Parameters, and Reliability featured image

OpenAI API Fundamentals: Requests, Messages, Parameters, and Reliability

Build a reliable model API foundation with client setup, message structure, timeouts, retries, and cost controls.

avatar
杨劲松
•
LangChain Prompt Chains: Treat Prompts as Maintainable Programs featured image

LangChain Prompt Chains: Treat Prompts as Maintainable Programs

Use templates, variable contracts, message roles, and composition to build versioned and evaluable prompt chains.

avatar
杨劲松
•
LangChain Core Architecture: Runnables, Models, and Composable Chains featured image

LangChain Core Architecture: Runnables, Models, and Composable Chains

Understand how LangChain composes prompts, models, parsers, and Runnable stages into testable AI workflows.

avatar
杨劲松
•
FastAPI Request and Response Contracts with Pydantic featured image

FastAPI Request and Response Contracts with Pydantic

Use Pydantic schemas, field validation, response shaping, and consistent errors instead of fragile dictionary conventions.

avatar
杨劲松
•
FastAPI Project Architecture: Layering Routes and Domain Services featured image

FastAPI Project Architecture: Layering Routes and Domain Services

Organize a FastAPI service with layers, dependency injection, and configuration so AI endpoints stay testable and deployable.

avatar
杨劲松
•
AI Engineering with Python featured image

AI Engineering with Python

A scenario-driven guide to AI Engineering with Python, including boundaries, failure paths, and production trade-offs.

avatar
杨劲松
•