---
title: "Evaluate"
description: "Ask several questions about one piece of content in a single step."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/typesafe/evaluate"
---
# Evaluate

> Ask several questions about one piece of content in a single step.

<block-meta block="Yes" channels="Any" folder="typesafe" group="TypeSafe" groupTo="/build/workflows/blocks/typesafe" icon="i-lucide-layers" pipe="Value" scope="Any" tool="Yes" type="typesafe.evaluate">



</block-meta>

**Evaluate** sends every question in one step. They all read the same **State**, and each answer comes back under the **Id** you set. Mix [Choice](https://docs.vettero.com/build/workflows/blocks/typesafe/choice), [Score](https://docs.vettero.com/build/workflows/blocks/typesafe/score), and [Noul](https://docs.vettero.com/build/workflows/blocks/typesafe/noul).

Ask every question you might need, including ones that only matter for some inputs. Later blocks can ignore answers they do not use. A question cannot see another question's answer. If the next question depends on an earlier answer, use a second block after this one.

## Configure

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Model
      </strong>
    </td>
    
    <td>
      <code>
        jev-latest
      </code>
      
       (default), <code>
        jev-preview
      </code>
      
      , or <code>
        jev-1.13.0
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        State
      </strong>
    </td>
    
    <td>
      The text or JSON every question reads
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Id
      </strong>
    </td>
    
    <td>
      Name for this answer. Later blocks read <code>
        answers.<id>
      </code>
      
      . The model does not see the id.
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Type
      </strong>
    </td>
    
    <td>
      Choice, Score, or Noul
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Instructions
      </strong>
    </td>
    
    <td>
      One specific question
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Options
      </strong>
    </td>
    
    <td>
      Shown for Choice. Key and description, 1 to 255.
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Levels
      </strong>
    </td>
    
    <td>
      Shown for Score. 2 to 10 descriptions, low to high.
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Yes means
      </strong>
      
       / <strong>
        No means
      </strong>
    </td>
    
    <td>
      Shown for Noul. Optional.
    </td>
  </tr>
</tbody>
</table>

## Handles

<table>
<thead>
  <tr>
    <th>
      Handle
    </th>
    
    <th>
      Role
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        In
      </strong>
      
       (target)
    </td>
    
    <td>
      Incoming connection
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Out
      </strong>
      
       (source)
    </td>
    
    <td>
      Continues after every answer returns
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

The next block reads this on the data pipe (`pipe.value`).

<table>
<thead>
  <tr>
    <th>
      Key
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        model
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      The Jev version that answered
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        answers
      </code>
    </td>
    
    <td>
      object
    </td>
    
    <td>
      One answer per id
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        usage
      </code>
    </td>
    
    <td>
      object
    </td>
    
    <td>
      <code>
        input_tokens
      </code>
      
       and <code>
        output_tokens
      </code>
      
       for the whole call
    </td>
  </tr>
</tbody>
</table>

Each answer has a `type`.

**Choice:** `choice`, `probabilities`, `confidence`.

**Score:** `score`, `legend`, `probabilities`, `confidence`.

**Noul:** `noul`. Evaluate always returns the probability. **Yes at** is only on the Noul block.

## Use case

- Classify the team, score frustration, and check urgency on one ticket, then branch on the fields you care about.


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
