Skip to content
kalyna.pro

kalyna.pro

AI-Driven Developer

  • AI & Automation
    • Docker
  • Design Patterns
    • Creational
    • Structural
    • Behavioral
    • SOLID
  • MySQL
  • Blog
  • Privacy Policy

Python

Streaming Responses with Claude API in Python (2026)

June 12, 2026 by Калина Сергій
Streaming Responses with Claude API in Python (2026)

Complete guide to streaming with the Claude API in Python: text_stream, the raw event protocol, async streaming, error handling, and a FastAPI endpoint that streams to the browser via SSE.

Categories AI & Automation Tags Anthropic, Claude API, Python, Tutorial

Claude Prompt Caching: How to Cut API Costs (2026)

June 12, 2026 by Калина Сергій
Claude Prompt Caching: How to Cut API Costs (2026)

How Claude’s prompt caching works: cache breakpoints, pricing for cache writes vs reads, the 1-hour extended TTL, and real cost-savings examples for RAG apps and agents.

Categories AI & Automation Tags Anthropic, Claude API, Python, Tutorial

Claude API Function Calling: Complete Guide to Tool Use (2026)

June 12, 2026 by Калина Сергій
Claude API Function Calling: Complete Guide to Tool Use (2026)

Master Claude’s tool use API: define tools with JSON Schema, handle multi-step and parallel tool calls, force tool choice, stream tool inputs, and build a complete multi-tool agent.

Categories AI & Automation Tags AI Agent, Anthropic, Claude API, Python, Tutorial

Vector Database Tutorial: Build Semantic Search from Scratch (2026)

June 11, 2026June 11, 2026 by Калина Сергій
Vector Database Tutorial: Build Semantic Search from Scratch (2026)

Hands-on tutorial: generate embeddings with OpenAI, store them in ChromaDB, build semantic search with metadata filtering, and index a PDF for Q&A — all in Python.

Categories AI & Automation Tags AI, Python, Tutorial, Vector Database

How to Build a Telegram Bot with Python and AI (2026)

June 11, 2026June 11, 2026 by Калина Сергій
How to Build a Telegram Bot with Python and AI (2026)

Build a production-ready AI Telegram bot with python-telegram-bot and Claude. Commands, inline keyboards, conversation history, error handling, and systemd deployment.

Categories AI & Automation Tags AI, LLM, Python, Tutorial

LLM Application Development: A Complete Developer’s Guide (2026)

June 11, 2026June 5, 2026 by Калина Сергій
LLM Application Development: A Complete Developer's Guide (2026)

Complete guide to LLM application development: prompts, context management, RAG, tool use, streaming, prompt caching, structured output, and production best practices with Python and Claude API.

Categories AI & Automation Tags Claude API, LLM, Python, Tutorial

Pinecone Tutorial: Getting Started with Vector Search in Python (2026)

June 11, 2026May 25, 2026 by Калина Сергій
Pinecone Tutorial: Getting Started with Vector Search in Python (2026)

Learn Pinecone from scratch: create indexes, upsert embeddings, query vectors, and build a semantic search + RAG app with Python and Sentence Transformers.

Categories AI & Automation Tags Python, RAG, Tutorial, Vector Database

Claude API Tutorial: Complete Beginner’s Guide (Python, 2026)

June 11, 2026May 25, 2026 by Калина Сергій
Claude API Tutorial: Complete Beginner's Guide (Python, 2026)

Step-by-step Claude API tutorial: authentication, text generation, streaming, vision, tool use — build your first AI app with the Anthropic Python SDK.

Categories AI & Automation Tags Anthropic, Claude API, Python, Tutorial

LangChain vs LlamaIndex: Which Python AI Framework to Choose (2026)

June 11, 2026May 19, 2026 by Калина Сергій
LangChain vs LlamaIndex: Which Python AI Framework to Choose (2026)

Compare LangChain and LlamaIndex side by side: key differences, code examples, and a practical guide to choosing the right Python AI framework for your project.

Categories AI & Automation Tags AI, LLM, Python, Tutorial
Older posts
Page1 Page2 Next →
Serhii Kalyna
Serhii Kalyna
Senior Dev · AI & Automation

18+ years building web apps. Now focused on AI development and LLM integrations — sharing what actually works in production.

About me ↗Contact
  • AI & Automation
  • Behavioral Design Patterns
  • Blog
  • Creational Patterns
  • Design Patterns
  • Docker
  • GIT
  • Linux
  • MySQL
  • SOLID Principles
  • Structural Design Patterns
© 2025 Блог Сергія Калини