| @@ -1,10 +1,10 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | 3 | "apiVersion": 3, |
| 4 | 4 | "name": "jetpack/ai-assistant", |
| 5 | - "title": "AI Assistant (Experimental)", | |
| 6 | - "description": "Automatically generate and modify content, powered by AI magic. The AI Assistant can be imprecise with information about people, places, or facts. We are experimenting with this feature and can tweak or remove it at any point.", | |
| 5 | + "title": "AI Assistant", | |
| 6 | + "description": "Elevate your content creation with our AI-powered Gutenberg Block, offering seamless customization and generation. Bear in mind that, as an evolving tool, occasional imprecision may occur.", | |
| 7 | 7 | "keywords": [ |
| 8 | 8 | "AI", |
| 9 | 9 | "GPT", |
| 10 | 10 | "AL", |
| @@ -38,20 +38,24 @@ | ||
| 38 | 38 | "messages": { |
| 39 | 39 | "type": "array", |
| 40 | 40 | "default": [] |
| 41 | 41 | }, |
| 42 | - "useGutenbergSyntax": { | |
| 43 | - "type": "boolean", | |
| 44 | - "default": false | |
| 42 | + "userPrompt": { | |
| 43 | + "type": "string", | |
| 44 | + "default": "" | |
| 45 | 45 | }, |
| 46 | - "useGpt4": { | |
| 47 | - "type": "boolean", | |
| 48 | - "default": false | |
| 46 | + "requestingState": { | |
| 47 | + "type": "string", | |
| 48 | + "default": "init" | |
| 49 | 49 | }, |
| 50 | - "customSystemPrompt": { | |
| 50 | + "preTransformAction": { | |
| 51 | 51 | "type": "string", |
| 52 | - "default": "" | |
| 52 | + "default": null | |
| 53 | 53 | } |
| 54 | 54 | }, |
| 55 | - "editorScript": "file:../editor.js", | |
| 56 | - "editorStyle": "file:../editor.css" | |
| 55 | + "example": { | |
| 56 | + "attributes": { | |
| 57 | + "content": "With **Jetpack AI Assistant**, you can provide a prompt, and it will generate high-quality blog posts, informative pages, well-organized lists, and thorough tables that meet your specific requirements.\n\nTo start using the **Jetpack AI Assistant**, type `/AI` in the block editor." | |
| 58 | + } | |
| 59 | + }, | |
| 60 | + "editorScript": "jetpack-blocks-editor" | |
| 57 | 61 | } |