ai*
This commit is contained in:
27
ai_livechat/data/ai_agent_data.xml
Normal file
27
ai_livechat/data/ai_agent_data.xml
Normal 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>
|
||||
8
ai_livechat/data/im_livechat_channel_rule_demo.xml
Normal file
8
ai_livechat/data/im_livechat_channel_rule_demo.xml
Normal 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>
|
||||
Reference in New Issue
Block a user