Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/tvis-deep/recipe-ai-chat/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WordPress plugin for adding a recipe assistant chat and recipe search experience to a site.
What It Does
- Adds a
[recipe_ai_chat]shortcode for rendering the chat UI. - Loads recipe data into custom database tables.
- Exposes REST endpoints for:
- recipe search
- recipe details
- related recipes
- chat responses
- Includes OpenAI helpers for chat completions and embeddings.
Main Files
Frontend
assets/chat.jsassets/chat.css
The frontend script is localized with the REST endpoint and a WordPress REST nonce.
Shortcode
Use this shortcode in a post, page, or template:
[recipe_ai_chat]
REST Endpoints
POST /wp-json/recipe-ai/v1/chatGET /wp-json/recipe-ai/v1/searchGET /wp-json/recipe-ai/v1/recipe/{id}GET /wp-json/recipe-ai/v1/recipe/{id}/relatedPOST /wp-json/recipe-ai/v1/openai-chat
Data Storage
The plugin creates custom tables for:
- conversations
- messages
- imported recipes
- embeddings
Import Flow
Recipes are imported from JSON and stored in a search-friendly format with:
- title
- ingredients
- keywords
- cuisine
- full JSON payload
Notes
- There are temporary debug/test routes in the codebase for local development.
includes/openai.phpcurrently contains a placeholder API key string and should be configured before real use.includes/search.phpincludesprint_r()debug output that may need removal for production.
Releases
1 release.
Tag
Published
phase-2
latest
Jun 18, 2026 4mo ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.