Add assets to a knowledge store
After you create a knowledge store, add assets to it for indexing. The platform processes each item asynchronously.
Prerequisites
- You’ve already uploaded your content, and the asset has reached the
readystatus. See the Upload content page for details. - You’ve already created a knowledge store. See the Create a knowledge store page for details.
Add an asset
To add an asset to a knowledge store, use the example code below, replacing the placeholders surrounded by <> with your values:
Wait for indexing
Poll the item status until it reaches ready:
Indexing takes longer than asset processing. One asset can exist in multiple knowledge stores. For the full list of item statuses, see the Knowledge stores page.
Jupyter notebook
Download the notebook to run this guide interactively.