#llm
Study materials by tag "llm" from expert practitioners. Current articles and useful tips for development.
Articles with tag "#llm"
All materials on the topic llm
httpx: A Modern HTTP Client for Python
httpx is a next-generation HTTP client. Its interface is similar to requests, but it supports async/await out of the box.
AI Agents: ReAct Loop and Autonomous Actions
A chatbot answers questions. An agent takes action: it calls tools, retrieves real data, and uses that data in its...
Typer: CLI Applications Without the Boilerplate
Typer builds CLIs from Python type annotations. No argparse, no manual parsing — just decorators and types.
Document Chunking Strategies for RAG
Embedding a long document averages out its meanings — a specific question won't find the right paragraph. The solution is...
Pydantic v2: Data Validation in Python
Pydantic is a library for data validation using type annotations. Version 2 was rewritten in Rust and runs 5–50x faster...
asyncio in Python: Asynchronous Programming
asyncio is Python's standard library for asynchronous code. It lets you execute multiple tasks "simultaneously" within a single thread.
AsyncAnthropic: Async Client for the Claude API
AsyncAnthropic is the asynchronous version of the Anthropic client. It uses async/await and integrates with the asyncio event loop.
RAG: Chatting with Documents via Vector Search
RAG (Retrieval-Augmented Generation) is a pattern for working with your own documents. Instead of fine-tuning the model, you find the...
Prompt Caching in the Claude API: Saving on Tokens
Every request to Claude costs money. inputtokens includes everything: the system prompt, conversation history, and the current question. If you...
Embeddings: Coordinates of Text in Semantic Space
An embedding is a numerical vector that represents a piece of text. Texts that are similar in meaning get vectors...
JSON Schema: Describing Data Structures
JSON Schema is a standard for describing the structure of JSON. In the Claude API it is used to define...
Tool Use in the Claude API: Agents with Tools
Tool use lets Claude call functions in your code — fetching weather, reading files, running searches. Claude decides when to...
Similar tags
Study related topics
Looking for more on the topic?
Study all our materials or subscribe to updates