Skip to content

Type Alias: AiDecisionState ​

ts
type AiDecisionState = 
  | string
  | Record<string, unknown>
  | (
  | {
  text: string;
  type: "text";
}
  | {
  type: "json";
  value: unknown;
})[];

What a decision is about: text, a JSON object, or text and JSON parts in order (256 KiB at most).

Released under the Apache-2.0 License.