From ca460454991c226b1de806df6fa50fc56be2313d Mon Sep 17 00:00:00 2001 From: JB Anderson <35785660+JBAnderson5@users.noreply.github.com> Date: Wed, 23 Oct 2024 23:49:47 -0700 Subject: [PATCH] Hotfix for WMS ID: 11732 (#352) * Added ATOM steps * Update manifest.json * Updated images * update manifest.json * Update manifest.json * Added zip files * Updated few links * Update introduction.md * Updated files * Updated files * updated intro * Update provision.md * Update introduction.md * Updated files * completed first draft of intro * Updated files * Updated files * Updated files * Updated files * Update provision.md * Updated need help links * Update provision.md * Update provision.md * Deleted images from sample workshop * Updated Provision.md * Updated Provision.md * Updated Provision.md and addded and image * Update provision.md * Update provision.md * Update provision.md * added a couple new labs and started working on filling in the content for them * Updated files * Added another lab Added another lab * Update provision.md Updated few steps * Updated names * Updated Updated * Updated * Updated files * Updated file Updated * Updated instructions Updated instructions * added new workshop for generative-ai-agent-oda * started work on outlining the labs * moved content from word to git for intro and agent lab. updated manifests * updated terraform lab * created functions lab * moved oda and vb labs from word to markdown * Add files via upload * Update introduction.md * Add files via upload * Update agent.md * Add files via upload * Update agent.md * Add files via upload * Update agent.md * updated genai agent oda lab. updated screenshots and linked to hosted artifacts * updated manifest files and added link to atom livelab * removed learn more section from all but intro lab * lots of minor fixes. * added instructions to view ODA analytics and add users to VB app * Updated files Updated files * Updated files Updated files * updated vb instructions for promoting app to live and adding users to app * Updated date * added optional instructions to customize ODA chat * clarified oda instructions * worked through some TODOs and started user lab * minor formatting fixes * trying copy codeblock without specified language * trying new codeblock syntax * updated all codeblocks to be copyable * updating instructions * lots of minor tweaks going through qa checklist * Update oda.md * updated vb lab * updated par links * updated syntax for oda lab * updated docs and images to reflect new solution artifacts and feature enhancements * Update oda.md * Update oda.md * Add files via upload * Add files via upload * Update oda.md * Update oda.md * Add files via upload * Update oda.md * Add files via upload * Add files via upload * Update oda.md * updated link to oda artifacts * Add files via upload * Update oda.md * Add files via upload * Update oda.md * Add files via upload * Update oda.md * Update agent.md * added resolution to issue when vb needs to be upgraded * updated all labs for publishing along with updated artifact links * removed changes to files in atom workshop * updated lab with detailed instructions on policies for ODA cross tenancy and in non default domain * fixed display formatting issue * updated tf lab to match latest code changes * Update oda.md * Add files via upload * Update oda.md * Update agent.md * Add files via upload * Add files via upload * Update oda.md * Update oda.md * finalized artifacts for version 1.2 * updated terraform lab code * updated names of images to comply with all lowercase filename requirement * fixed code block copy formatting issue * trying another format * fixed typo * Update oda.md --------- Co-authored-by: abhinavoracle <43648968+abhinavoracle@users.noreply.github.com> Co-authored-by: kaushik-kundu --- generative-ai-agent-oda/oda/oda.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/generative-ai-agent-oda/oda/oda.md b/generative-ai-agent-oda/oda/oda.md index 3cf72456..8b93a13a 100644 --- a/generative-ai-agent-oda/oda/oda.md +++ b/generative-ai-agent-oda/oda/oda.md @@ -63,7 +63,7 @@ For Policy Definitions required for multi-tenancy deployment (where ODA and Gene ![Policy Details](images/policy_details.png) - **Note** If you are using a non-default identity domain - then instead of of just supplying the dynamic group name, you need to provide domain-name/group-name in the policy statements. + **Note** If you are using a non-default identity domain - then instead of of just indicating the dynamic group name, you need to indicate domain-name/group-name in the policy statements. ## Task 2: Provision Oracle Digital Assistant @@ -121,7 +121,7 @@ This task involves creating REST service which will be used by ODA to connect to ![ODA create session api](images/oda_create_session_api2.png) -9. Test the GenAIAgentCreateSession Rest API service, by clicking on the Test Request button. You should see Response Status 200, with a proper Resoponse Body. Ensure that the "welcomeMessage and "id" fields are not blank / null. +9. Test the GenAIAgentCreateSession Rest API service, by clicking on the Test Request button. You should see Response Status 200, with a proper Resoponse Body. Ensure that the "id" field is not blank / null. If the "welcomeMessage" field is blank in this Rest API response, a generic message would be shown in the ODA chatbot. ![ODA create session api](images/oda_create_session_api3.png) @@ -219,10 +219,12 @@ If the Policy Definitions are not correctly defined, please define them as follo 1. In the tenancy where the ODA instance is hosted - Locate Policies under Identity & Security, ensure that you are in your "root" compartment, and then define the following policies. - ``` + ``` + endorse any-user to manage agent-family in any-tenancy where request.principal.type='odainstance' endorse any-user to manage genai-agent-family in any-tenancy where request.principal.type='odainstance' - endorse any-user to manage object-family in any-tenancy where request.principal.type='odainstance' + endorse any-user to manage object-family in any-tenancy where request.principal.type='odainstance' + ``` ![ODA Instance Policy](images/create_policy.png) @@ -232,11 +234,13 @@ If the Policy Definitions are not correctly defined, please define them as follo _Please ensure to replace the ODATenancyOCID and ODAInstanceOCID with the proper OCID values._ - ``` - define tenancy oda-instance-tenancy as ODATenancyOCI + ``` + + define tenancy oda-instance-tenancy as ODATenancyOCID admit any-user of tenancy oda-instance-tenancy to manage agent-family in tenancy where request.principal.id in ('ODAInstanceOCID') admit any-user of tenancy oda-instance-tenancy to manage genai-agent-family in tenancy where request.principal.id in ('ODAInstanceOCID') - admit any-user of tenancy oda-instance-tenancy to manage object-family in tenancy where request.principal.id in ('ODAInstanceOCID') + admit any-user of tenancy oda-instance-tenancy to manage object-family in tenancy where request.principal.id in ('ODAInstanceOCID') + ``` ![ODA Instance Policy](images/create_policy.png)