> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# TypeSafe AI connector

- Connector: `appmixer.ai.typesafe`
- Version: 1.0.2
- Components: 6 (0 triggers, 6 actions)

Integrate with TypeSafe AI and its Jev decision model. Instead of generating text, Jev answers typed questions about your content — classify into one of your options, score on your scale, or verify a statement — and returns the decision with calibrated probabilities and a confidence score in well under a second. English is the primary language; other languages work with lower accuracy.

- Connector page: <https://connectors.appmixer.com/connector/appmixer.ai.typesafe/1.0.2>
- Source code: <https://github.com/clientIO/appmixer-connectors/tree/dev/src/appmixer/ai/typesafe>
- Download package: <https://connectors.appmixer.com/connector/appmixer.ai.typesafe/1.0.2/download>

## Authentication

**Type:** API Key

**Fields:**

- `API Key` (text): Generate a key in the [TypeSafe console](https://console.typesafe.ai/keys) under **API Keys**.

## Actions (6)

- [Ask Questions](https://connectors.appmixer.com/connector/appmixer.ai.typesafe/1.0.2/component/appmixer.ai.typesafe.AskQuestions.md) (`appmixer.ai.typesafe.AskQuestions`): Ask several questions about the same content in one TypeSafe Jev request, mixing all three types: `choice` (Classify Text), `score` (Score Text) and `noul` (Verify Statement). This is the recommended way to ask more than one thing: the content is sent and billed once and the questions are evaluated in parallel, so it is faster and cheaper than one component per question. The answers are returned keyed by your question ids. Works best with English content.
- [Classify Text](https://connectors.appmixer.com/connector/appmixer.ai.typesafe/1.0.2/component/appmixer.ai.typesafe.ClassifyText.md) (`appmixer.ai.typesafe.ClassifyText`): Pick which of your options fits the content best (a Jev `choice` question). The answer is always one of the option keys you supply, with a probability per option and a confidence score, so it can drive a Switch or Condition directly. Asking several things about the same content? Use Ask Questions instead: one request is faster and cheaper than chaining components, because the content is sent and billed only once. Works best with English content.
- [List Models](https://connectors.appmixer.com/connector/appmixer.ai.typesafe/1.0.2/component/appmixer.ai.typesafe.ListModels.md) (`appmixer.ai.typesafe.ListModels`): Retrieves the TypeSafe models available to your account, with their names, descriptions and release dates.
- [Make API Call](https://connectors.appmixer.com/connector/appmixer.ai.typesafe/1.0.2/component/appmixer.ai.typesafe.MakeApiCall.md) (`appmixer.ai.typesafe.MakeApiCall`): Performs an arbitrary authorized call to the TypeSafe API, for example `POST /v1/systemone` with a request you build yourself.
- [Score Text](https://connectors.appmixer.com/connector/appmixer.ai.typesafe/1.0.2/component/appmixer.ai.typesafe.ScoreText.md) (`appmixer.ai.typesafe.ScoreText`): Rate the content on your own scale of 2 to 10 levels (a Jev `score` question). Returns the probability-weighted score, the most likely level with its description, a probability per level and a confidence score. Asking several things about the same content? Use Ask Questions instead: one request is faster and cheaper than chaining components, because the content is sent and billed only once. Works best with English content.
- [Verify Statement](https://connectors.appmixer.com/connector/appmixer.ai.typesafe/1.0.2/component/appmixer.ai.typesafe.VerifyStatement.md) (`appmixer.ai.typesafe.VerifyStatement`): Check whether a statement is true for the content (a Jev `noul` question). Returns the probability that the statement holds and a true/false result against your threshold. Asking several things about the same content? Use Ask Questions instead: one request is faster and cheaper than chaining components, because the content is sent and billed only once. Works best with English content.

## Changelog

### 1.0.2

- Quote CSV cells that hold a comma, a double quote or a line break and map cells by header column when exporting results to a file.

### 1.0.1

- MakeApiCall: Request Headers and Query Parameters set in the Designer are now sent. They were silently dropped: the key-value field stores its rows as a JSON object string, which the component did not parse.

### 1.0.0

- Initial release: Classify Text, Score Text, Verify Statement, Ask Questions, List Models and Make API Call for the TypeSafe AI Jev decision model.
