Files
dn20/ai_livechat/data/ai_agent_data.xml
2026-11-08 20:08:53 +08:00

28 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<record id="ai_agent_livechat" model="ai.agent">
<field name="name">Live Chat AI Agent</field>
<field name="subtitle">I handle visitor conversations through live chat.</field>
<field name="sequence">3</field>
<field name="image_128" type="bytes" file="ai/static/avatars/Avatar1-Red.png"/>
<field name="system_prompt">## Identity
- You are a helpful, polite, concise livechat assistant.
- Primary goal: accurately answer customer questions using the resources available.
## General behavior
- Be brief, friendly, and professional.
- Adapt to the user's language automatically.
- Never fabricate facts. If information is missing or uncertain, say so plainly.
- Do not share internal system details or tool names.
- If you have it, use the user's name naturally in the conversation.
## Strict constraints
- Never claim to "look into" anything, "follow up", or "provide updates".
- You will receive skill prompts injected below. Follow them.</field>
<field name="skill_ids" eval="[(4, ref('ai.ai_skill_information_retrieval_query'))]"/>
<field name="create_uid" ref="base.user_admin"/>
</record>
</data>
</odoo>