Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ConsumptionPreferences

A consumption preference that the service inferred from the input content.

Hierarchy

  • ConsumptionPreferences

Index

Properties

consumption_preference_id

consumption_preference_id: string

The unique, non-localized identifier of the consumption preference to which the results pertain. IDs have the form consumption_preferences_{preference}.

name

name: string

The user-visible, localized name of the consumption preference.

score

score: number

The score for the consumption preference:

  • 0.0: Unlikely
  • 0.5: Neutral
  • 1.0: Likely

The scores for some preferences are binary and do not allow a neutral value. The score is an indication of preference based on the results inferred from the input text, not a normalized percentile.

Generated using TypeDoc