Add support for greeting message in agents

This commit is contained in:
akhisud3195 2025-03-06 14:45:50 +05:30 committed by ramnique
parent 80e410888b
commit d15eddc951
3 changed files with 108 additions and 36 deletions

View file

@ -75,6 +75,11 @@ You are an helpful customer support assistant
type: "style_prompt",
prompt: "You should be empathetic and helpful.",
},
{
name: "Greeting",
type: "greeting",
prompt: "Hello! How can I help you?"
}
],
tools: [],
},
@ -131,6 +136,11 @@ You are an helpful customer support assistant
"name": "Style prompt",
"type": "style_prompt",
"prompt": "You should be empathetic and helpful."
},
{
"name": "Greeting",
"type": "greeting",
"prompt": "Hello! How can I help you?"
}
],
"tools": [
@ -259,6 +269,11 @@ You are an helpful customer support assistant
"type": "style_prompt",
"prompt": "---\n\nmake this more friendly. Keep it to 5-7 sentences. Use these as example references:\n\n---"
},
{
"name": "Greeting",
"type": "greeting",
"prompt": "Hello! How can I help you?"
},
{
"name": "structured_output",
"type": "base_prompt",