API Reference ExTypesafe v#0.1.0

Copy Markdown View Source

Modules

Elixir client for the TypeSafe AI API.

A configured TypeSafe API client.

Configuration for the TypeSafe API client.

Represents an error returned by the TypeSafe API or the client itself.

Typed question structs for the TypeSafe API.

Picks one option from a set you define. Returns the chosen option and the full probability distribution across all options.

A yes/no question. Returns the probability the answer is yes (0.0–1.0).

Rates the state along a rubric you define. Returns a probability-weighted value across your levels.

Structs representing a successful TypeSafe API response.

Answer to a Choice question.

Answer to a Noul (yes/no) question.

Answer to a Score question.

Token usage for a TypeSafe API request.