This commit is contained in:
2026-11-08 20:08:53 +08:00
parent 7526a5fe4d
commit 9b924747c5
2692 changed files with 394867 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?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>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<record id="im_livechat.im_livechat_channel_rule_demo" model="im_livechat.channel.rule">
<field name="ai_agent_id" ref="ai_livechat.ai_agent_livechat"/>
</record>
</data>
</odoo>