- Newest
- Most votes
- Most comments
Deletes a knowledge base. Before deleting a knowledge base, you should disassociate the knowledge base from any agents that it is associated with by making a DisassociateAgentKnowledgeBase request.
To delete a knowledge base :
- Before the following steps, make sure to delete the knowledge base from any agents that it's associated with. To do this, carry out the following steps:
- From the left navigation pane, select Agents.
- Choose the Name of the agent that you want to delete the knowledge base from.
- A red banner appears to warn you to delete the reference to the knowledge base, which no longer exists, from the agent.
- Select the radio button next to the knowledge base that you want to remove. Select More and then choose Delete.
-
Sign in to the AWS Management Console, and open the Amazon Bedrock console at https://console.aws.amazon.com/bedrock/.
-
From the left navigation pane, select Knowledge base.
-
Choose a knowledge base or select the radio button next to a knowledge base. Then choose Delete.
-
Review the warnings for deleting a knowledge base. If you accept these conditions, enter delete in the input box and select Delete to confirm.
-
To fully delete the vector embeddings for your knowledge base, you need to delete the vector index containing the data embeddings.
You can see this documentation to know more: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-manage.html https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DeleteKnowledgeBase.html
I managed to delete one of the two knowledge bases. I did that by going to the datasource of the knowledge base, and changing its delete policy from DELETE to RETAIN.
However, when I try to do the same for the other datasource, it says the following: undefined The role with name AmazonBedrockExecutionRoleForKnowledgeBase_d2j7q cannot be found.
Please provide further instructions.
Thank you!
Relevant content
- asked 5 months ago
- asked 10 days ago
- AWS OFFICIALUpdated 24 days ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a month ago
Thanks for the answer, but I have no agents associated with existing knowledge bases...