Updating a Knowledge Base in Generative AI Agents
-
On the Knowledge Bases list page, select the knowledge base that you want to update.
If you need help finding the list page, see Listing Knowledge Bases.
- Select Edit.
- If the knowledge base is service managed, update the name and description.
-
If the knowledge base is an OCI OpenSearch type, update the following information:
- OpenSearch cluster name
- OpenSearch index information:
- Index Name
- Body key
- Embed body key (Optional)
- URL key (Optional)
- Title key (Optional)
- For Secret details, you can update one or change to one of these options.
- Basic auth secret: For this option, update the Vault secret for OCI Search with OpenSearch.
- IDCS secret: For this option update the following information for the IDCS confidential application that you want to use for the agent:
- Identity domain application name - Change the compartment if the identity domain is in another compartment.
- Client Id for the OpenSearch cluster's IDCS client application.
- Client secret vault that contains the client secret - Change the compartment if the secret is in another compartment.
- Scope URL that's the API endpoint for the identity domain's resource server application and includes the agent scope. For example, for
genaiagent
scope, the URL ishttps://*.agent.aiservice.us-chicago-1.oci.oraclecloud.com/genaiagent
.
To learn about OpenSearch clusters, read about an OpenSearch cluster's detail page.
-
If the knowledge base is an Oracle AI Vector Search type, update the Database tool connection and then select Test connection and confirm a successful connection to the database. If successful, the database name and version is displayed. Then, update the Vector search function for the database tool connection.
Note
See the RAG Tool Oracle Database Guidelines for Generative AI Agents to help you enter the values for this step. - Select Save changes.
- (Optional) Select Add tags to add tags to this knowledge base. Then, select the Tags tab to view and manage the defined and free-form tags for this knowledge base.