| @@ -1,56 +1,61 @@ | ||
| 1 | 1 | { |
| 2 | - "$schema": "https://schemas.wp.org/trunk/block.json", | |
| 3 | - "apiVersion": 3, | |
| 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.", | |
| 7 | - "keywords": [ "AI", "GPT", "AL", "Magic", "help", "assistant" ], | |
| 8 | - "version": "12.5.0", | |
| 9 | - "textdomain": "jetpack", | |
| 10 | - "category": "text", | |
| 11 | - "icon": "<svg viewBox='0 0 32 32' width='32' height='32' xmlns='http://www.w3.org/2000/svg'><path d='M9.33301 5.33325L10.4644 8.20188L13.333 9.33325L10.4644 10.4646L9.33301 13.3333L8.20164 10.4646L5.33301 9.33325L8.20164 8.20188L9.33301 5.33325Z'/><path d='M21.3333 5.33333L22.8418 9.15817L26.6667 10.6667L22.8418 12.1752L21.3333 16L19.8248 12.1752L16 10.6667L19.8248 9.15817L21.3333 5.33333Z'/><path d='M14.6667 13.3333L16.5523 18.1144L21.3333 20L16.5523 21.8856L14.6667 26.6667L12.781 21.8856L8 20L12.781 18.1144L14.6667 13.3333Z'/></svg>", | |
| 12 | - "supports": { | |
| 13 | - "html": false, | |
| 14 | - "multiple": true, | |
| 15 | - "reusable": false | |
| 16 | - }, | |
| 17 | - "attributes": { | |
| 18 | - "content": { | |
| 19 | - "type": "string" | |
| 20 | - }, | |
| 21 | - | |
| 22 | - "originalContent": { | |
| 23 | - "type": "string" | |
| 24 | - }, | |
| 25 | - | |
| 26 | - "promptType": { | |
| 27 | - "type": "string" | |
| 28 | - }, | |
| 29 | - | |
| 30 | - "originalMessages": { | |
| 31 | - "type": "array", | |
| 32 | - "default": [] | |
| 33 | - }, | |
| 34 | - | |
| 35 | - "messages": { | |
| 36 | - "type": "array", | |
| 37 | - "default": [] | |
| 38 | - }, | |
| 39 | - | |
| 40 | - "useGutenbergSyntax": { | |
| 41 | - "type": "boolean", | |
| 42 | - "default": false | |
| 43 | - }, | |
| 44 | - | |
| 45 | - "useGpt4": { | |
| 46 | - "type": "boolean", | |
| 47 | - "default": false | |
| 48 | - }, | |
| 49 | - | |
| 50 | - "customSystemPrompt": { | |
| 51 | - "type": "string", | |
| 52 | - "default": "" | |
| 53 | - } | |
| 54 | - }, | |
| 55 | - "editorScript": "file:../editor.js" | |
| 56 | -} | |
| 2 | + "$schema": "https://schemas.wp.org/trunk/block.json", | |
| 3 | + "apiVersion": 3, | |
| 4 | + "name": "jetpack/ai-assistant", | |
| 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 | + "keywords": [ | |
| 8 | + "AI", | |
| 9 | + "GPT", | |
| 10 | + "AL", | |
| 11 | + "Magic", | |
| 12 | + "help", | |
| 13 | + "assistant" | |
| 14 | + ], | |
| 15 | + "version": "12.5.0", | |
| 16 | + "textdomain": "jetpack", | |
| 17 | + "category": "text", | |
| 18 | + "icon": "<svg viewBox='0 0 32 32' width='32' height='32' xmlns='http://www.w3.org/2000/svg'><path d='M9.33301 5.33325L10.4644 8.20188L13.333 9.33325L10.4644 10.4646L9.33301 13.3333L8.20164 10.4646L5.33301 9.33325L8.20164 8.20188L9.33301 5.33325Z'/><path d='M21.3333 5.33333L22.8418 9.15817L26.6667 10.6667L22.8418 12.1752L21.3333 16L19.8248 12.1752L16 10.6667L19.8248 9.15817L21.3333 5.33333Z'/><path d='M14.6667 13.3333L16.5523 18.1144L21.3333 20L16.5523 21.8856L14.6667 26.6667L12.781 21.8856L8 20L12.781 18.1144L14.6667 13.3333Z'/></svg>", | |
| 19 | + "supports": { | |
| 20 | + "html": false, | |
| 21 | + "multiple": true, | |
| 22 | + "reusable": false | |
| 23 | + }, | |
| 24 | + "attributes": { | |
| 25 | + "content": { | |
| 26 | + "type": "string" | |
| 27 | + }, | |
| 28 | + "originalContent": { | |
| 29 | + "type": "string" | |
| 30 | + }, | |
| 31 | + "promptType": { | |
| 32 | + "type": "string" | |
| 33 | + }, | |
| 34 | + "originalMessages": { | |
| 35 | + "type": "array", | |
| 36 | + "default": [] | |
| 37 | + }, | |
| 38 | + "messages": { | |
| 39 | + "type": "array", | |
| 40 | + "default": [] | |
| 41 | + }, | |
| 42 | + "userPrompt": { | |
| 43 | + "type": "string", | |
| 44 | + "default": "" | |
| 45 | + }, | |
| 46 | + "requestingState": { | |
| 47 | + "type": "string", | |
| 48 | + "default": "init" | |
| 49 | + }, | |
| 50 | + "preTransformAction": { | |
| 51 | + "type": "string", | |
| 52 | + "default": null | |
| 53 | + } | |
| 54 | + }, | |
| 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" | |
| 61 | +} | |