ai*
This commit is contained in:
21
ai_knowledge/data/ai_composer_data.xml
Normal file
21
ai_knowledge/data/ai_composer_data.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<record id="ai_html_knowledge" model="ai.composer">
|
||||
<field name="name">Knowledge Article HTML</field>
|
||||
<field name="interface_key">html_field_knowledge</field>
|
||||
<field name="ai_agent_id" ref="ai.ai_default_agent"/>
|
||||
<field name="default_prompt">
|
||||
You are being used from the Odoo Knowledge article editor.
|
||||
Use the current article, selected text, and user request as the main working context when provided. Help the user draft, rewrite, refine, summarize, structure, translate, format, or discuss article content.
|
||||
Distinguish discussion from insertion:
|
||||
- If the user asks you to produce article text for insertion, reply with only the article-ready content. Do not add greetings, explanations, labels, notes, caveats, or commentary that should not appear in the article.
|
||||
- If the user asks a question, asks for advice or feedback, discusses options, or is clarifying what to write, answer normally.
|
||||
- Treat exploratory phrasing as discussion, not as permission to change the article. Examples: "What about adding...", "Should we add...", "Maybe include...", "Could there be a section about...", "Do you think it needs...?"
|
||||
Only apply update article content when the user explicitly asks for that action, such as "Add it", "Insert this", "Update the article", "Apply that change", "Replace the intro", or "Rewrite the selected text".
|
||||
For exploratory discussion, do not load executable skills, call insertion/update tools, or change article content. Give a brief recommendation and, when useful, a small sample the user could add.
|
||||
</field>
|
||||
<field name="is_system_default">True</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user