ai

8 articles tagged “ai”.

· Components

Streaming LLM Responses in Delphi: Token-by-Token with Server-Sent Events

Stream LLM replies token by token in Delphi: assign OnHTTPAPISSE, call the streaming method, append each delta to a Memo. Same pattern for every provider…

· Components

Build an AI Chatbot in Delphi: Conversation Memory and Streaming

A one-shot completion forgets everything. A chatbot remembers. How to keep conversation context across turns in Delphi, and stream a live reply…

· Components

RAG in Delphi: Ground an LLM in Your Own Documents

Stop the model from guessing. Embed your own documents, store the vectors, retrieve the closest chunks per question, and let the LLM answer from your data in Delphi…

· Components

Build an AI Agent in Delphi: Function Calling and MCP Tool Use

An AI agent is an LLM that calls your own code through tools, in a loop. Two ways to build one in Delphi: provider function calling and the MCP open standard…

· Components

OpenAI vs Anthropic vs Gemini in Delphi: Which AI API Should You Use?

OpenAI, Anthropic Claude or Google Gemini for your Delphi app? How each looks in code, what each is good at, and why the choice is reversible…

· Components

MCP stdio Transport for sgcWebSockets: Server and Client

Run your Delphi MCP server over stdin/stdout and let the client spawn it as a local subprocess, the native pattern used by AI coding agents…

· Components

Building a Model Context Protocol (MCP) Server in Delphi

Step-by-step guide to building an MCP server in Delphi with TsgcAI_MCP_Server. Expose tools, resources, prompts to Claude and GPT clients over stdio or HTTP.

· Components

Anthropic Claude in Delphi — Complete Tutorial (2026)

Step-by-step Delphi tutorial for Anthropic Claude: setup TsgcHTTP_API_Anthropic, messages, streaming, vision, tool use, extended thinking, prompt caching, MCP.