TypeSafeSDK.ChoiceAnswer (TypeSafeSDK v0.4.0)

Copy Markdown View Source

A selected option, independent confidence and complete option distribution.

Summary

Types

t()

@type t() :: %TypeSafeSDK.ChoiceAnswer{
  choice: atom() | String.t(),
  confidence: number(),
  id: atom() | String.t() | nil,
  option_order: list(),
  probabilities: map(),
  raw: map() | nil
}