Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This lab assumes you have:

> **Note** Tasks 2-8 are for the sql tool. If you don't plan on using the sql tool, you can skip these steps.

## Task 1: Add Agent Routing Instructions and Create RAG Tool
## Task 1: Add Agent Routing Instructions and Confirm RAG Tool Configuration

1. Navigate to your GenAI Agent created in the previous lab

Expand All @@ -48,11 +48,11 @@ This lab assumes you have:

> **Note** Be sure to replace "info on your dataset" above with a relevant term to your knowledge base to help the agent route to the correct tool. In our example, our dataset relates to wines.

3. Select your agent and create a new tool
3. Select your agent and confirm it has a RAG tool as configured in the previous lab. If not, create a new tool.

![Create RAG Tool](./images/rag/create-rag-tool.png)

4. Give a description of the tool and select the knowledge base you created in the previous lab
4. Confirm the description of the tool and the knowledge base you created in the previous lab

![Configure RAG Tool](./images/rag/config-rag.png)

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,20 @@ Rule 3

## Task 3: Configure Create Session API Endpoint

1. Import the following sample yaml file
1. Download & import the following sample yaml file in ODA > Settings > API Services > More > Import REST Services

[Create Session yaml](https://idb6enfdcxbl.objectstorage.us-chicago-1.oci.customer-oci.com/n/idb6enfdcxbl/b/Livelabs/o/atom-multi-tool-livelab%2FRESTService-GenAIAgentCreateSession.yaml)

![Import Create Session yaml](images/oda/import-yaml.png)

> **Note** The endpoint can also be configured manually by referring to the [Create Session API Documentation](https://docs.oracle.com/en-us/iaas/api/#/en/generative-ai-agents-client/20240531/Session/CreateSession)

2. Change the path variable to point to your agent endpoint id

![Agent Endpoint Config](images/oda/agent-endpoint-config.png)

> **Note** This will be the agent endpoint id, not the agent ocid

3. Test the connection. If successful, you should get a 200 response with a session id. Note the session id for the next Task.

> **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.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion atom-agent-multi-tool/provision-agent/provision-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,17 @@ This task will help you to create Oracle Generative AI Agent under your chosen c

2. Specify the agent name, ensure the correct compartment is selected and indicate a suitable welcome message

Select Add tool > Choose RAG tool

![Create Tool](images/agent/create-tool.png)

Select the Knowledge Base that you created in the previous task. Providing the Welcome message is optional.

Click the “Create” button.

![agent creation wizard](images/agent/agent_wizard.png)

> **Note** The agent tools will be configured in the next lab.
> **Note** The other agent tools will be configured in the next lab.

3. In few minutes the status of recently created Agent will change from Creating to Active

Expand Down