Document cards connected to a speech bubble to represent site-aware chat.
Journal · Progress

Adding a WordPress-aware AI chat

I have added an AI chat interface to the plugin so that questions about the site can be handled in a conversational workflow. The interface includes a chat surface and an optional bubble, with follow-up work on its presentation and references.

Giving the conversation context

The chat can recognise references to site content, including taxonomy references entered in the message. I adjusted the context supplied for different post types so that the model has a clearer account of the material it is discussing.

There is also a detailed-references option. For tagged taxonomy items this can include the full stripped content of the associated posts rather than just their titles and types. That gives the model more to work with, but it also increases the amount of text sent to it, so it is a choice rather than the default for every conversation.

This is a chat interface within the plugin. It is an early way of bringing site context into a model conversation, and is separate from the external agent integration that may come later.

← Back to project