Pondhouse Data Blog

blog preview

Enhancing Self-Made Agent with Memory: Keeping Context for Better Conversations

Add PostgreSQL-backed memory to a self-made Python AI agent: store every interaction, summarize long histories with GPT-4o and feed context into the prompt.

6 min read
Read Post
blog preview

Advanced Self-Made Agent: Building a Smarter, Multi-Step AI Agent

Extend a framework-free Python AI agent with an AgentState enum, a multi-step reasoning loop and clarifying questions to the user. Full code included.

6 min read
Read Post
blog preview

How to Build AI Agents Without Frameworks: A Step-by-Step Guide

Build an AI agent in plain Python with GPT-4o function calling: a PostgreSQL tool, a Wikipedia tool, a tool-call loop and PostgreSQL memory.

9 min read
Read Post
blog preview

Azure AI Search RAG Tutorial: Build RAG on Azure with Python

RAG on Azure, tested: index a 144-page PDF with Azure AI Search, run hybrid search with semantic ranker and answer with citations in Python. With costs.

16 min read
Read Post
blog preview

Azure OpenAI Content Filters: The Good, The Bad, and The Workarounds

Azure OpenAI content filters slow down requests and block legitimate business prompts. How they work, and how to set lower thresholds and asynchronous mode.

7 min read
Read Post
blog preview

Crawl4AI Docker Tutorial: Crawl Websites for LLMs via REST API

Build and run Crawl4AI in Docker, crawl pages via its REST API to get markdown, metadata and links, and extract data with an LLM through LiteLLM.

7 min read
Read Post
blog preview

Late Chunking: Improving RAG Performance with Context-Aware Embeddings

Late chunking embeds the whole document first, then pools token embeddings into chunks. Python code with jina-embeddings-v3 and a similarity comparison.

7 min read
Read Post
blog preview

DSPy Tutorial: Build Better AI Systems with Automated Prompt Optimization

A hands-on DSPy tutorial: the 8-step workflow, metrics and optimizers, and a summarization example where optimization lifted the score from 42% to 68%.

12 min read
Read Post
blog preview

What is LibreChat? Features, setup and Open WebUI comparison

LibreChat is an open-source, self-hosted ChatGPT alternative. We installed v0.8.8 with Docker and tested agents, MCP, file search, artifacts and web search.

13 min read
Read Post
blog preview

How to create LLM tools from any Python SDK using langchain-autotools

langchain-autotools turns a Python SDK client into LangChain agent tools. Covers setup, CrudControls for picking functions and an Azure Blob Storage example.

7 min read
Read Post