Skip to main content
Context is who this chat is with, and what your app is. Set it only on the first turn. It sticks for the whole conversation. Sending it again on a later turn is a 422. Each field can be up to 4,000 characters.
  • user_context — the shopper (preferences, budget, size).
  • application_context — context on your app, where this conversation is taking place
For hard catalog rules on a single turn (in-stock, a set of retailers), use filters. To bind the chat to a saved set of brands, websites, categories, or products, pass config.collection_id on every turn — Channel3 tells the model what that collection covers so empty results can be explained. See Collections.