Object & Relationship Types
Objects and relationships are limited to a selection of common options, a few include: "user", "post", "video", "tag" and "liked", "viewed", "taggedWith", "followed", etc. The complete list can be seen below, and in the API Reference docs. You can choose whatever object type and relationship type make the most sense for your data, as the algorithm runs based on the object types you choose, so for instance, picking "user" vs. "account" for an object type will not have an impact on how the algorithm runs.
How you choose to translate your data to object-relationship-object is up to you, though we recommend keeping things simple. For instance, if you have a 5-star review system, translating 4 or 5 stars to a "liked" relationship and 1 or 2 stars to "disliked" will produce dependable results.
Supported Object Types
- user
- product
- image
- comment
- article
- post
- video
- content
- tag
- category
- app
- book
- person
- skill
- job
- company
- account
- card
- country
- state
- film
- cart
Supported Relationship Types
- interestedIn
- posted
- followed
- liked
- favorited
- saved
- disliked
- purchased
- commentedOn
- created
- viewed
- reported
- blocked
- deleted
- authored
- used
- dismissed
- loggedIn
- taggedWith
- categorizedIn
- locatedIn
- readQuarter
- readHalf
- readAll
- subscribedTo
- subscribedFrom
- addedTo
- madeBy
- pausedOn
Custom Naming
Sticking to standardized (non-custom) names for objects and relationships helps speed up our service. If you cannot find a way to make the current naming options work for you, let us know and we can work with you to add more to the list.
Updated almost 2 years ago