You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"afScript": "system:\n @prompt:\n You are a helpful AI assistant.\n\nconfig:\n @agent_id: \"test_agent_001\"\n @agent_name: \"Test_Agent\"\n user_locale: en_US\n\ntrigger default:\n initial_node: greeting\n\nvariables:\n user_name: string = \"Guest\"\n counter: int = 0\n\nblock greeting:\n @prompt:\n Hello! How can I help you today?\n\nblock help:\n @prompt:\n I'm here to assist you with any questions.\n\nfunctions:\n test_function:\n description: \"A simple test function\"\n"
3
+
"agentJson": {
4
+
"schemaVersion": "1.0",
5
+
"globalConfiguration": {
6
+
"developerName": "simple_response_agentV1",
7
+
"label": "Simple Response Agent",
8
+
"description": "A simple agent that responds to user queries.",
"message": "Hello! I'm your SimpleResponseAgent. How can I help you today?",
30
+
"messageType": "Welcome"
31
+
},
32
+
{
33
+
"message": "I'm sorry, I'm having trouble processing your request. Please try again later.",
34
+
"messageType": "Error"
35
+
}
36
+
],
37
+
"modalityParameters": {
38
+
"voice": null,
39
+
"language": {
40
+
"defaultLocale": "en-US",
41
+
"additionalLocales": null,
42
+
"allAdditionalLocales": false
43
+
}
44
+
},
45
+
"additional_parameters": null,
46
+
"company": "A simple company that responds to user queries.",
47
+
"role": "A simple agent that responds to user queries.",
48
+
"stateVariables": [
49
+
{
50
+
"developerName": "user_query",
51
+
"label": "User Query",
52
+
"description": "The user's query",
53
+
"dataType": "string",
54
+
"isList": false,
55
+
"default": "",
56
+
"visibility": "Internal"
57
+
},
58
+
{
59
+
"developerName": "response",
60
+
"label": "Response",
61
+
"description": "The response to the user",
62
+
"dataType": "string",
63
+
"isList": false,
64
+
"default": "",
65
+
"visibility": "Internal"
66
+
},
67
+
{
68
+
"developerName": "processing_complete",
69
+
"label": "Processing Complete",
70
+
"description": "Whether processing is complete",
71
+
"dataType": "boolean",
72
+
"isList": false,
73
+
"default": false,
74
+
"visibility": "Internal"
75
+
}
76
+
],
77
+
"initialNode": "process_query",
78
+
"nodes": [
79
+
{
80
+
"type": "subagent",
81
+
"reasoningType": "salesforce.default",
82
+
"description": "Process the user's query",
83
+
"beforeReasoning": null,
84
+
"instructions": "\n # CONTEXT\n Name: {agentName:-\"Simple Agent\"}\n Description: {agent_description:-\"You are an AI assistant developed by Salesforce\"}\n Role: {agentLabel:-\"You are an AI assistant developed by Salesforce\"}\n Tone: Maintain a {agent_plannerToneType:-\"NEUTRAL\"} tone while being clear and helpful.\n Company: {agent_company:-\"Salesforce\"}\n Locale: {agentLocale:-\"English (United States)\"}\n Location: {agent_userLocation:-\"United States\"}\n Current Date/Time: {current_dateTime:-\"\"}\n",
0 commit comments