WP AI Client


Project Details

Roadmap

TBD

Milestones

  • tbd

Repo

WP AI Client (log bugs and enhancements to Trac)


Goal

The WP AI Client enables WordPress to communicate with generative AI models of varying capabilities via a uniform API.

The WP AI Client is built on top of the PHP AI Client, and specifically adapted for the WordPress ecosystem.

GitHub repository

Features

Client-side JavaScript API: A JavaScript API with a similar prompt builder, using REST endpoints under the hood to connect to the server-side infrastructure.

WordPress-native Prompt Builder: Fluent API for building and configuring AI prompts, built directly on top of the PHP AI Client while following WordPress Coding Standards and best practices.

Admin Settings Screen: Integrated settings screen in WP Admin to provision AI provider API credentials.

Automatic Credential Wiring: Automatic wiring up of AI provider API credentials based on storage in a WordPress database option.

PSR-compliant HTTP Client: HTTP client implementation using the WordPress HTTP API, fully compatible with PSR standards.