BehaviorGPT-v4
A foundation model for behavior. Give it what someone did, such as searches, views and purchases, and it ranks what they most likely do next. One 12.5B-parameter model, pretrained on 150 billion actions, ranks these catalogs with no training on them.
π The Python call behind these results
Three people type the same word. Each searched for something else first. BehaviorGPT reads the whole sequence, so they get different results. Retail catalog, 500,000 products.
What you are looking at
BehaviorGPT reads a person's history in order (what they searched, which items they looked at) and scores every item in a catalog by how likely it is to come next. Search, "more like this", "bought together" and recommendations for a new visitor are all the same call with different histories.
- Items are read from their content, not their ids. Each item is embedded from its name, brand, categories, picture and price. That is why the model ranks catalogs it has never seen, a museum's art included, as soon as they are uploaded, with no interaction data and no training.
- The whole sequence counts. "gloves" after "golf clubs" is not "gloves" after "kitchen". Try the Same search, different past tab.
- One forward pass per request. Item vectors are computed once when a catalog is uploaded, so ranking a whole catalog costs one pass over the history.
The catalogs
- Retail: 500,000 Amazon products across every department.
- Amazon sports & outdoors: the portal's Amazon sample, from Amazon Reviews: Sports and Outdoors.
- Art Institute of Chicago: 19,000 public-domain artworks from the museum's open access collection.
Use it yourself
pip install behaviorgpt
Get a free API key at portal.unboxai.com, upload your own catalog, or start from the code under any result in the Try it tab. Docs and examples are in the SDK on GitHub.
Privacy
This page keeps nothing. Your history lives in this browser tab and is gone when you close it. The page sets no cookies, and its calls to the Unbox AI API name no visitor, so nothing is recorded as anyone's history.