odoo/enterprise#106196
Created by Basit Arshad (baar)
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- ci/l10n: (runtime 22s)
- label
- odoo-dev:master-AI-website-builder-baar
- head
- 9c896170337ca96588ac41415d416535da374035
- merged
- 1 day ago by Website, Francois Georis (fge)
| odoo/odoo | odoo/enterprise | |
|---|---|---|
| master | #258133 | #106196 |
[IMP] ai_website: add AI Website Builder assistant
Introduction of an AI agent to edit the website page being edited.
What it can currently do
- Add some snippets to the page and edit them on the fly.
- Make any modifications on the header, footer and wrap element.
- Add some images given by the user or fetched from Unsplash
- Read and write user_custom_rules.scss
- Generate pictures
What it cannot currently do
- Change theme and use tools from the editor
- Add some JavaScript to the page
- etc.
Basic flow
Every time the user sends a message, the context given in the prompt
is updated with the page information and content as well as the CSS
variable values of the theme.
When asking for a change on the page, the agent can use a tool to
retrieve the HTML of standard snippets, it can also search for images.
When it has everything it needs, it will call the tool to apply changes
on the page. It has a lot of liberty to do so as it can add and replace
any element with arbitrary (sanitized) HTML.
Community PR: odoo/odoo#258133