Skip to content
kalyna.pro

kalyna.pro

AI-Driven Developer

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

Tutorial

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

How to Build a WordPress AI Plugin (Step-by-Step Guide 2026)

June 11, 2026June 11, 2026 by Калина Сергій
How to Build a WordPress AI Plugin (Step-by-Step Guide 2026)

Complete guide to WordPress AI plugin development: settings page, OpenAI API wrapper, secure AJAX handlers with nonces and capability checks, and a Gutenberg sidebar panel.

Categories AI & Automation Tags AI, LLM, Tutorial

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

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

Step-by-step guide to building an AI Telegram bot with PHP: webhook setup, conversation history, OpenAI replies, commands, inline keyboards, and ngrok for local development.

Categories AI & Automation Tags AI, LLM, Tutorial

How to Integrate ChatGPT with PHP (Complete Guide 2026)

June 11, 2026June 11, 2026 by Калина Сергій
How to Integrate ChatGPT with PHP (Complete Guide 2026)

Complete guide to ChatGPT PHP integration: official SDK, raw cURL, conversation history with sessions, streaming SSE responses, a working chat form, and error handling.

Categories AI & Automation Tags AI, LLM, 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 an AI Chatbot with PHP (Step-by-Step, 2026)

June 11, 2026June 11, 2026 by Калина Сергій
How to Build an AI Chatbot with PHP (Step-by-Step, 2026)

Step-by-step guide to building a web AI chatbot with PHP: OpenAI API integration, session-based conversation history, streaming SSE backend, and a clean HTML/JS frontend.

Categories AI & Automation Tags AI, LLM, Tutorial

OpenAI PHP SDK: Complete Guide with Code Examples (2026)

June 11, 2026June 11, 2026 by Калина Сергій
OpenAI PHP SDK: Complete Guide with Code Examples (2026)

Complete guide to the openai-php/client library: chat completions, streaming, function calling, embeddings, image generation, audio transcription, and error handling with code examples.

Categories AI & Automation Tags AI, LLM, Tutorial
Older posts
Page1 Page2 … Page4 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 Блог Сергія Калини