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: atom-agent-multi-tool/deploy-agent-tools/deploy-agent-tools.md
+28-17Lines changed: 28 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,6 @@ This lab will go through the steps on configuring the GenAI Agent tools. First w
6
6
7
7
The following agent tools will be configured:
8
8
* General LLM Chat (Built-in)
9
-
* Document Understanding
10
9
* Weather
11
10
* RAG
12
11
* SQL
@@ -115,11 +114,9 @@ This task will help you ensure that the Dynamic Group and Policy are correctly d
115
114
116
115
This task will help you to create a VCN and private subnet in your compartment. This will be used for the ADB for the SQL Tool.
117
116
118
-
1. Go to Networking -> Virtual cloud networks and Create VCN. Provide IPv4 CIDR Blocks as 10.0.0.0/16
117
+
1. Go to Networking -> Virtual cloud networks and select the VCN created in Lab 1.
119
118
120
-
2. Go to the newly created VCN and click on Create Subnet. Provide IPv4 CIDR Block as 10.0.1.0/24 and click on Private Subnet. You can leave rest as default. Click on Create Subnet.
121
-
122
-
3. Click on newly created subnet and go to the Security List. Add following ingress rules in the security list. Make sure to have the ingress rule to access database port 1521-1522
119
+
2. Click on the private subnet and go to the Security List. Add following ingress rules in the security list. Make sure to have the ingress rule to access database port 1521-1522
123
120
124
121

125
122
@@ -248,7 +245,13 @@ CREATE TABLE Employees (
248
245
</copy>
249
246
```
250
247
251
-
> **Note** If you are using your own table, you can get a better idea of the schema by running DESC table_name;
248
+
> **Note** If using your own table, to get a better idea of the schema run
> ***Note** If your sql tool is not returning the correct response, it can be helpful to provide an in-line example to the tool. Also see [SQL Tool Guidelines](https://docs.oracle.com/en-us/iaas/Content/generative-ai-agents/sqltool-guidelines.htm#sqltool-iclexamples)
271
+
> ***Note** If the sql tool is not returning the correct response, it can be helpful to provide an in-line example to the tool. Also see [SQL Tool Guidelines](https://docs.oracle.com/en-us/iaas/Content/generative-ai-agents/sqltool-guidelines.htm#sqltool-iclexamples)
269
272
270
-
> ***Note** Also make sure your agent is using the correct tool for the job. If the agent is using the wrong tool, make sure to add a more detailed description and/or routing instructions.
273
+
> ***Note** Also make sure the agent is using the correct tool for the job. If the agent is using the wrong tool, make sure to add a more detailed description and/or routing instructions.
271
274
272
-
> ***Note** If you are getting 404 errors, you are likely missing a policy. Refer back to Task 1 step 6.
275
+
> ***Note** If returning 404 errors, there is likely a missing policy. Refer back to [Task 2 step 6](./deploy-agent-tools.md#task-2-dynamic-group-and-policy-definition-for-adb-and-db-tools-connection).
273
276
274
-
> ***Note** If you are querying a large table and getting 100+ rows of results, the query will fail. Try adding more filters to your query to reduce size of response.
277
+
> ***Note** If querying a large table and getting 100+ rows of results, the query will fail. Try adding more filters to the query to reduce size of response.
275
278
276
279
## Task 9: Create a Weather Tool
277
280
278
-
1. Navigate to your agent tools and create a new tool called "get_weather"
281
+
1. Navigate to the agent tools and create a new custom function tool called "get_weather"
279
282
280
283
- Give the following description -
281
284
@@ -306,7 +309,7 @@ In this section, we will delve into the process of creating and deploying an Ora
306
309
307
310
2. Navigate back to your function application created in the previous lab.
308
311
309
-
3. Select Getting Started > Cloud setup and take note of the steps to login and deploy the functions.
312
+
3. Select Application > Cloud shell setup > View guide and take note of the steps to login and deploy the functions.
@@ -315,7 +318,7 @@ In this section, we will delve into the process of creating and deploying an Ora
315
318
- Logging in to the container registry
316
319
- Deploying the function to your application
317
320
318
-
> **Note:** You don't need to run the last invoke command. We will be invoking the function later from ODA.
321
+
> **Note:** The init command doesn't need to be run since the fn is already provided. The last invoke command also doesn't need to be ran. We will be invoking the function later from ODA.
319
322
320
323
4. At the top right of the oci console, open a new cloud shell
321
324
@@ -357,15 +360,23 @@ In this section, we will delve into the process of creating and deploying an Ora
357
360
</copy>
358
361
```
359
362
360
-
- Take note of the function invoke endpoint once created
363
+
- Take note of the function invoke endpoint once created.
> **Note** Functions can sometimes time out when invoked for the first time (cold start). To avoid this, you can enable provisioned concurrency on your function to enable hot starts.
379
+
> **Note** Functions can sometimes time out when invoked for the first time (cold start). To avoid this, enable provisioned concurrency on the function to enable hot starts.
Copy file name to clipboardExpand all lines: atom-agent-multi-tool/integrate-digital-assistant/integrate-digital-assistant.md
+25-16Lines changed: 25 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ This task will help you to create Oracle Digital Assistant under your chosen com
34
34
35
35

36
36
37
-
> **Note:**You can find Digital Assistant under the AI Services.
37
+
> **Note:**Digital Assistant can be found under AI Services.
38
38
39
39
2. Provide the information for **Compartment**, **Name** , **Description** (optional) & **Shape**. Click **Create**
40
40
@@ -87,7 +87,8 @@ Rule 3
87
87
```text
88
88
<copy>
89
89
Allow any-user to use fn-invocation in tenancy where request.principal.id='ocid1.odainstance.oc1.us-chicago-1.XXXXXXXXXXXXXXXXXXXX'
90
-
Allow dynamic-group odaDynamicGroup to use fn-invocation in tenancy
90
+
Allow dynamic-group <your-dynamic-group> to use fn-invocation in tenancy
91
+
Allow dynamic-group <your-dynamic-group> to manage genai-agent-family in tenancy
91
92
</copy>
92
93
```
93
94
@@ -107,11 +108,11 @@ Rule 3
107
108
108
109
3. Test the connection. If successful, you should get a 200 response with a session id. Note the session id for the next Task.
109
110
110
-
> **Note** If you get a 404 error, that likely means a policy is missing or misconfigured. Check Task 2 and make sure the ODA service can connect to the agent service.
111
+
> **Note** If it's throwing a 404 error, that likely means a policy is missing or misconfigured. Check [Task 2](./integrate-digital-assistant.md#task-2-dynamic-group--policy-creation-for-oracle-digital-assistant) and make sure the ODA service can connect to the agent service.
111
112
112
113
## Task 4: Configure API Endpoint to Agent Function
113
114
114
-
1. Open your ODA service console provisioned in Task 1 and navigate to API services > Add Service
115
+
1. Open the ODA service console provisioned in Task 1 and navigate to API services > Add Service
115
116
116
117

117
118
@@ -128,17 +129,21 @@ Rule 3
128
129
</copy>
129
130
```
130
131
131
-
3. If configured correctly, you should get a success response
132
+
> * **Note** Be sure to include OCI Resource Principal as authentication.
133
+
134
+
3. If configured correctly, there should be a success response
132
135
133
136

134
137
135
-
> * **Note** 404 responses usually indicate a policy is missing/misconfigured. Please refer back to Task 2.
138
+
> * **Note** 404 responses usually indicate a policy is missing/misconfigured. Please refer back to [Task 2](./integrate-digital-assistant.md#task-2-dynamic-group--policy-creation-for-oracle-digital-assistant).
139
+
140
+
> * **Note** Session IDs by default last for one hour. After one hour a new session id will have to be created.
136
141
137
-
> * **Note** Session IDs by default last for one hour. After one hour you will have to generate a new session id.
142
+
> * **Note** If the function isn't enabled to have hot starts, the function might need to be invoked twice before getting a 200 response.
138
143
139
144
## Task 5: Import Skill
140
145
141
-
1. Import the following skill
146
+
1. Import the following skill under Development > Skills > Import Skill (top right)
7. Train the bot and select preview (top right). Ask a question such as 'How are you'. If everything was configured correctly, you should get a response.
173
+
7. Set the Result variable to 'agentResult'.
169
174
170
-
> **Note** You can review any unexpected behavior in the preview of ODA to diagnose any issues.
175
+
8. Train the bot and select preview (top right). Ask a question such as 'How are you'. If everything was configured correctly, you should get a response.
176
+
177
+
> **Note** Any unexpected behavior can be reviewed in the preview of ODA to diagnose issues.
171
178
172
179
## Task 6: Configure & Expose Skill
173
180
174
181
1. Navigate to Development > Channels and select 'Add Channel'
175
182
176
183

177
184
178
-
2. Select Oracle Web, disable client authentication, and put '*' as allowed domains
185
+
2. Select Oracle Web, disable client authentication, and put '*' as allowed domains. Also make sure the channel is routed to the skill and enabled.
* Please change value of initUserHiddenMessage on Line 32 from 'what can you do' to 'Hello'
227
+
* Please make sure the initUserHiddenMessage on Line 32 is 'Hello'
221
228
222
229

223
230
@@ -235,15 +242,17 @@ Rule 3
235
242
236
243

237
244
238
-
> * **Note** If you are using your own tables with lots of data and it occasionally throws 'Oops' errors, this can be fixed by optimizing your sql queries. This can be done by filtering your results to remove unnecessary columns, specifically by providing in-line sql example to the sql tool. Refer back to the previous lab on creating sql tools.
245
+
> * **Note** If using your own tables with lots of data and it occasionally throws 'Oops' errors, this can be fixed by optimizing the sql queries. This can be done by filtering the results to remove unnecessary columns, specifically by providing in-line sql example to the sql tool. Refer back to the [previous lab](../deploy-agent-tools/deploy-agent-tools.md#task-8-create-sql-tool) on creating sql tools.
239
246
240
247
* You can also invoke the raq tool or ask general questions
241
248
242
249

243
250
244
251
**Troubleshooting**
245
252
246
-
1. If you get 404 errors, it's likely a permission issue. Please review the policies.
253
+
1. If there are 404 errors, it's likely a permission issue. Please review the policies.
254
+
255
+
2. For other errors, logging can be enabled in the function application under Monitoring > Function Invocation logs.
247
256
248
257
## Acknowledgements
249
258
@@ -255,4 +264,4 @@ Rule 3
255
264
* **Abhinav Jain**, Senior Cloud Engineer, NACIE
256
265
257
266
**Last Updated By/Date:**
258
-
* **Luke Farley**, Senior Cloud Engineer, NACIE, May 2025
Copy file name to clipboardExpand all lines: atom-agent-multi-tool/provision-agent/provision-agent.md
+7-17Lines changed: 7 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,26 +170,14 @@ This task will help you to create Oracle Object Storage Bucket under your chosen
170
170
171
171
**Note:** The Gen AI Agents service currently supports .pdf and .txt file formats
172
172
173
-
<!--TODO: should we provide a sample dataset? -->
173
+
If you would like to use a sample pdf, click [here](https://objectstorage.us-chicago-1.oraclecloud.com/p/FGxCnVLMgA-0O62bDnhbQCc-0dHHE8nbUaWpCGITsYtkeX3LA8dXp7NYeL_F609R/n/idb6enfdcxbl/b/Livelabs/o/atom-multi-tool-livelab/Design%20Considerations%20for%20GenAI%20Apps.pdf)
0 commit comments