API Reference typesafe_ex v#0.2.1

Copy Markdown View Source

Modules

An Elixir client for TypeSafe's System One API.

A question that locates something in an image. The answer is a TypeSafe.BoxAnswer: the box's four edges, as fractions of the image.

The answer to a TypeSafe.Box: where something is in an image.

A question that selects one option from a defined set.

Connection settings, built with TypeSafe.new/1. The API key is kept out of inspect/1 output.

Why a call failed. Returned as {:error, %TypeSafe.Error{}}, raised by the bang functions.

A PNG or JPEG to send with a call.

A model name the account can send, from TypeSafe.models/1.

A yes/no question. The answer is the probability that the answer is yes.

The answer to a TypeSafe.Noul: noul is the probability of yes, from 0 to 1.

When and how long to wait before retrying. The defaults match TypeSafe's official SDKs

A question that rates the state against ordered levels, worst or least first.