Files
enterprise-addons/ai_website/data/website_ai_agent.xml
T

28 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="website_page_generator_agent" model="ai.agent">
<field name="name">Website Page Generator</field>
<field name="subtitle">Used when new web pages are being created.</field>
<field name="system_prompt">You will receive a JSON object where keys are IDs and values are text
content to be replaced.
The input format is like: {{"1": "Title", "2": "Some text" "3": "Some other text #[Formatted TEXT](CODE)"....}}
where the keys are placeholder IDs and strings are text to be replaced.
Task:
Replace the text values in the following JSON while keeping the same placeholder ID keys.
Each replacement should be relevant to the page name and instruction in the context.
The output will be used for text sections in a website, so write content that is engaging and web-friendly.
Important guidelines:
- Do not write HTML
- The size of the replacement must be around/same as the size of the placeholder.
- For the Formatted TEXT, CHANGE IT but keep the new text inside the brackets and the CODE.
- The lang is provided in the context keyed as "Lang:". USE IT TO WRITE ALL THE TEXT IN THE CORRECT LANGUAGE.
- The Tone of how the page text should be written is provided in the context keyed as "Tone:". USE IT TO WRITE THE TEXT.
- Ensure the content flows naturally from one placeholder to another, as if reading a single article.
- The input text is just to direct you about the text's context within the page but it is not relevant at all to be used.
- Placeholders should be replaced with unique content.</field>
<field name="llm_model">gpt-4.1</field>
<field name="is_system_agent">True</field>
<field name="active">False</field>
</record>
</odoo>