Knowledgebase indeices have.names like “ed247ef6-8ab8-11ef-bf8f-4e013e2ddde4” in the OpenSearch database. Is there any easy way to tell which indices belong to which knowledgebases and especially if any were left behind from a knowledgebase that was already deleted?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
The index name is in the knowledgebase URL
https://cloud.digitalocean.com/gen-ai/knowledge-bases/{index name is here}
Hey @setec,
Good question, I was wondering the same thing when poking around the OpenSearch data.
From what I’ve seen, the index names in OpenSearch are just UUIDs, and I haven’t found an obvious way to map those directly back to a specific knowledge base or source from the UI or API. I think if you look at the timestamps or patterns in the names, you might be able to line them up with when you added certain sources, but that’s kind of guesswork.
Not sure if the system is supposed to clean up old indices when you delete a knowledge base, but I wouldn’t count on it 100%. Could be worth asking support if there’s a safe way to check for or clean up orphaned ones: https://do.co/support
If I find anything more concrete, I’ll share it here.
- Bobby