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
Copy file name to clipboardExpand all lines: README.md
+6-63Lines changed: 6 additions & 63 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,15 +11,13 @@ A collection of easy-to-digest [Agent Script](https://developer.salesforce.com/d
11
11
12
12
-[Prerequisites](#prerequisites)
13
13
14
-
- Install the app with either one of these options:
15
-
-**Option 1:**[Developer Edition Org installation](#installing-the-app-using-a-developer-edition-org) - Use this option if you want the app deployed to a more permanent environment than a Scratch org.
16
-
-**Option 2:**[Scratch Org installation](#installing-the-app-using-a-scratch-org) - Use this option if you are a developer who wants to experience the app and the code in a temporary environment.
14
+
-[Installing the app using a Developer Edition Org](#installing-the-app-using-a-developer-edition-org)
4. Authorize your Developer Edition org and provide it with an alias (**agent-script-recipes**in the command below):
63
-
64
-
```bash
65
-
sf org login web -s -a agent-script-recipes
66
-
```
67
-
68
-
5. Deploy the app to your org:
69
-
70
-
```bash
71
-
sf project deploy start -d force-app
72
-
```
73
-
74
-
6. Assign the `Agent_Script_Recipes_Data` and `Agent_Script_Recipes_App` permission sets to the default user:
75
-
76
-
```bash
77
-
sf org assign permset -n Agent_Script_Recipes_Data
78
-
sf org assign permset -n Agent_Script_Recipes_App
79
-
```
80
-
81
-
7. Import some sample data:
82
-
83
-
```bash
84
-
sf data import tree --plan data/data-plan.json
85
-
```
86
-
87
-
8. Open your org with the **Agentforce Studio** app displayed:
88
-
89
-
```bash
90
-
sf org open -p "/lightning/n/standard-AgentforceStudio?c__nav=agents"
91
-
```
92
-
93
-
> [!TIP]
94
-
>**Agentforce Studio** can be reached from the App Launcher. From there, click **View All**thenselectthe**Agentforce Studio** app.
95
-
96
-
**Post installation:** when working with the recipes, assign the **Agent Script Recipes Data** permission set to your agent user to avoid access issues.
97
-
98
-
## Installing the app using a Scratch Org
99
-
100
-
1. Follow these steps if you haven't configured a Dev Hub org:
101
-
1. [Select and enable a Dev Hub org](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_setup_enable_devhub.htm). You can use a free [Developer Edition Org](https://developer.salesforce.com/signup).
102
-
103
-
1. Authorize your Dev Hub org and provide it with an alias (**myhuborg** in the command below):
Copy file name to clipboardExpand all lines: force-app/future_recipes/complexStateManagement/aiAuthoringBundles/ComplexStateManagement/ComplexStateManagement.agent
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@ start_agent topic_selector:
38
38
description: "Welcome users and begin task management"
39
39
40
40
reasoning:
41
+
instructions:|
42
+
Select the tool that best matches the user's message and conversation history. If it's unclear, make your best guess.
41
43
actions:
42
44
begin_task_management: @utils.transition to @topic.task_management
43
45
description: "Start managing tasks with complex state operations"
Copy file name to clipboardExpand all lines: force-app/future_recipes/conditionalLogicPatterns/aiAuthoringBundles/ConditionalLogicPatterns/ConditionalLogicPatterns.agent
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -42,11 +42,8 @@ start_agent topic_selector:
42
42
description: "Welcome applicants and begin loan evaluation process"
43
43
44
44
reasoning:
45
-
instructions: ->
46
-
| Welcome to the loan application process. I'll help evaluate your loan application
47
-
using comprehensive conditional logic to assess eligibility fairly and consistently.
48
-
Let's start by gathering your information.
49
-
45
+
instructions:|
46
+
Select the tool that best matches the user's message and conversation history. If it's unclear, make your best guess.
50
47
actions:
51
48
start_evaluation: @utils.transition to @topic.loan_evaluation
52
49
description: "Begin the loan evaluation with conditional logic"
0 commit comments