TypeSafeSDK.ChoiceAnswer (TypeSafeSDK v0.1.0)

Copy Markdown View Source

A selected label with confidence and label probabilities.

Summary

Types

t()

@type t() :: %TypeSafeSDK.ChoiceAnswer{
  choice: String.t(),
  confidence: number(),
  probabilities: %{required(String.t()) => number()}
}