Bishrul Haq logo Bishrul Haq
  • Home
  • Apps
  • Book reviews
  • Journal
  • Posts
  • About
  • Contact

Categories

All Laravel PHP Python Linux Ubuntu Android Digital Ocean JavaScript React Native

Account

Sign up Log in
Press + D to bookmark this page.
  1. Home
  2. / Categories
  3. / AI & LLM
AI & LLM category icon

Category

AI & LLM

AI & LLM related content.

Cover image for Calling LLMs from Python: The Request Loop, Tokens, Cost, and Retries
2 weeks ago 55
AI & LLM

Calling LLMs from Python: The Request Loop, Tokens, Cost, and Retries

Call language models from Python with the Claude SDK: the messages loop, tokens and cost, and a client with timeouts and retries you can inject and test.

Cover image for Structured Outputs and Function Calling: Getting Reliable JSON from LLMs
2 weeks ago 58
AI & LLM

Structured Outputs and Function Calling: Getting Reliable JSON from LLMs

Get dependable JSON from language models with structured outputs and function calling, then validate with Pydantic so your code works with typed objects.

Cover image for Building a RAG Service with FastAPI: Chunking, Embeddings, and Vector Search
2 weeks ago 49
AI & LLM

Building a RAG Service with FastAPI: Chunking, Embeddings, and Vector Search

Build a RAG service end to end: chunk documents, embed and search by similarity, and answer grounded in retrieved context from a FastAPI endpoint.

Cover image for Streaming LLM Responses to the Browser with FastAPI and SSE
2 weeks ago 63
AI & LLM

Streaming LLM Responses to the Browser with FastAPI and SSE

Stream a real model response to the browser: consume the model stream in Python, forward it through a FastAPI SSE endpoint, and render it live.

Cover image for Building an AI Agent API: Tool Calls, Memory, and Guardrails
2 weeks ago 48
AI & LLM

Building an AI Agent API: Tool Calls, Memory, and Guardrails

Build a small AI agent API: the tool calling loop, conversation memory, and the guardrails that keep an action taking agent safe and bounded.

Search the site

Esc
Searching…

Type at least two characters or open with ⌘K / Ctrl+K

Newsletter

Join the newsletter

New tutorials, book notes, and build logs in your inbox.

No spam. Unsubscribe anytime.

bishrulhaq
Blog Book Reviews Journal About Contact Terms Privacy

© 2026 bishrulhaq. All rights reserved.

DigitalOcean Referral Badge Buy Me A Coffee