block.json
61 lines
| 1 | { |
| 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 | } |