Knowledge stores
A knowledge store contains your videos plus the understanding the platform derives from them: spatiotemporal context, a typed ontology, and embeddings for semantic retrieval. The KnowledgeStores class provides methods to create and manage knowledge stores.
Methods
Create a knowledge store
Description: This method creates a knowledge store.
Provide a name. Optionally include a description, a metadata map, and an ingestionConfig object that controls how content added to the store is processed. The ingestionConfig object is immutable after creation.
Function signature and example:
Parameters
The IngestionConfig object contains the following property:
Return value
Returns a KnowledgeStore object. The KnowledgeStore object contains the following properties:
API Reference
Related guide
List knowledge stores
Description: This method returns a list of the knowledge stores in your account.
Function signature and example:
Parameters
Return value
Returns a Page<KnowledgeStore> object that allows you to iterate through the paginated list of knowledge stores. For the properties of each KnowledgeStore object, see Create a knowledge store.
API Reference
Retrieve a knowledge store
Description: This method retrieves the details of a specific knowledge store.
Function signature and example:
Parameters
Return value
Returns a KnowledgeStore object. For its properties, see Create a knowledge store.
API Reference
Update a knowledge store
Description: This method updates the specified knowledge store. Only the name, description, and metadata fields can be updated.
Function signature and example:
Parameters
Return value
Returns a KnowledgeStore object. For its properties, see Create a knowledge store.
API Reference
Delete a knowledge store
Description: This method deletes the specified knowledge store and all its items.
Function signature and example:
Parameters
Return value
This method does not return a value.