product_id
as it’s main identifier.
POST /api/v1/entities/upload
): API to create or update entities. No partial update of an entity.In another word, if an entity is already indexed (already exists) in Wyvern Index, it will be completely replaced by this new entity data with the same entity id.POST /api/v1/entities/get
): API to read the entities from Wyvern Index.POST /api/entity/v1/entities/delete
): API to delete entities in Wyvern Index.product_id
, Wyvern will fetch all the product entities that are found in Wyvern Index and hydrate data into the Product entity. As a result, request.candidates[0].brand
will be available within your pipeline code.
self.get_feature(identifier, "feature_name")
to get the feature value.
Next, let’s see how batch features work in Wyvern.