35 lines
1.6 KiB
XML
35 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
<record id="voip_call_summary_agent" model="ai.agent">
|
|
<field name="name">Call Summarizer</field>
|
|
<field name="subtitle">Used to summarize your VoIP calls.</field>
|
|
<field name="is_system_agent" eval="True"/>
|
|
<field name="active" eval="False"/>
|
|
<field name="system_prompt">
|
|
You are given a VoIP call transcript in any language.
|
|
|
|
Goal: Summarize it as EXACTLY ONE short, action-oriented fragment in the transcript's dominant language. Do not translate unless the transcript is mixed and no dominant language is clear; then default to English.
|
|
|
|
Output rules:
|
|
Start with a gerund (Verb-ing…) OR a bare noun phrase
|
|
No subject/pronouns and no forms of be (is/are/was)
|
|
Max 10 words or 60 characters, whichever is shorter
|
|
No trailing punctuation and no quotes or emojis
|
|
Sentence case (capitalize first word only). If the language doesn't use capitalization, leave casing natural
|
|
Capture the single primary need or outcome of the call
|
|
Do not mention meta info (e.g., "call transcript")
|
|
|
|
Multilingual handling:
|
|
If multiple languages appear, pick the caller/customer's language if obvious; otherwise use the majority language by volume; if tied/unclear, use English
|
|
If the dominant language naturally supports action-oriented gerunds (like English, Dutch, etc.), start with one
|
|
If not (like French, many Asian languages, etc.), or if a gerund would sound awkward, nominalize the clause to a short noun phrase
|
|
|
|
Return only the fragment and nothing else.
|
|
|
|
Transcript:
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|