Curated resource guide
AI Development for WordPress
Build AI features for WordPress with production constraints in view from the first prototype. These resources cover model APIs, structured outputs, tools, retrieval, embeddings, background jobs, streaming, evaluation, costs, privacy, permissions, prompt injection, hallucinations, observability, fallbacks, and maintainable plugin or site architecture.
Scope
What this guide covers
- Integrating LLM and multimodal APIs into WordPress
- provider abstraction
- prompting
- structured outputs
- tool/function calling
- agents
- MCP-related integrations
- retrieval-augmented generation
- embeddings and vector storage
- semantic search
- content assistance
- support/chat systems
- workflow automation
- background jobs and queues
- rate limits
- caching
- streaming
- model selection
- cost controls
- evaluation
- hallucination handling
- privacy
- security
- prompt injection
- permissions
- user-generated content risks
- logging
- fallback strategies
- and production architecture for AI-powered plugins/sites
Selected references
Curated resources
Links open the original publisher so you can use the complete, current material in context.
- 01Recommended starting point
OpenAI Responses API Reference
The current request contract for generating model responses with text, images, tools, state, and streaming.
developers.openai.com - 02
OpenAI Structured Outputs
Return data that conforms to a supplied JSON Schema instead of parsing loosely formatted model text.
developers.openai.com - 03
OpenAI Function Calling
Connect a model to narrowly defined application actions through explicit schemas and a controlled execution loop.
developers.openai.com - 04
OpenAI Embeddings
Use vector representations for semantic search, clustering, recommendations, classification, and retrieval features.
developers.openai.com - 05
OpenAI Evaluation Getting Started
Build datasets and repeatable graders so AI behavior is measured before prompts or models change in production.
developers.openai.com - 06
OpenAI Safety Best Practices
Plan moderation, adversarial testing, human review, input limits, and reporting around an AI-powered feature.
developers.openai.com - 07
WordPress HTTP API
Use WordPress request helpers, errors, arguments, and response functions when calling external model services from a plugin.
developer.wordpress.org