Skip to content

Evaluations Reference

This section covers Open Chat Studio's advanced evaluation features: writing custom Python evaluators and configuring continuous dataset ingestion.

For a non-technical overview of datasets, evaluators, and how evaluation runs work, see Evaluations.

Evaluation Execution

When an evaluation is run, each message from the dataset is first passed into the defined chatbot (if applicable). The result, with the added generation output, is then passed into each evaluator in parallel. The evaluators output structured data. This data is compiled into a table, whose rows are each message and the columns are the evaluator output.

flowchart LR
    dataset([Dataset Message]) --> generation{Chatbot Generation}
    generation --> evaluator1([Evaluator])
    generation --> evaluator2([Evaluator])
    evaluator1 --> structured_output([Structured Output])
    evaluator2 --> structured_output

Chatbot Generation

Messages can also optionally be passed into a chatbot, whose generation output will be available to the evaluators.

Session Retention

When evaluations are run with chatbot generation enabled, temporary sessions are created to store the generated responses and conversation context. These evaluation sessions are automatically deleted after 30 days.

Data Retention

Session deletion is permanent and cannot be undone. Ensure you export any evaluation results you need to retain before the 30-day retention period expires.

Source Sessions Unaffected

This automatic deletion only affects sessions created during evaluation runs. Source sessions (the original sessions that datasets may be cloned from) are not affected by this retention policy and remain in the system according to their own lifecycle.

Pages in this section

  • Dataset Structure — field-level reference for dataset rows, cloning field mappings, history syntax, and CSV format details.
  • Python Evaluator — write custom Python code to score messages, for deterministic rules or logic an LLM prompt can't reliably express. See Evaluators for when to choose it over the LLM Evaluator.
  • Auto-Population Rules — continuously ingest new sessions into a session-level dataset from a live chatbot, and trigger automatic delta evaluation runs against the new rows.