ReasoningFixture

The fixture: the steps to translate, and what they must produce.

import type { ReasoningFixture } from '@threadplane/angular/chat/testing';

Declaration

export interface ReasoningFixture  {
  readonly events: readonly ReasoningFixtureEvent[];
  readonly messageId: string;
  readonly reasoning: string;
  readonly response: string;
}

Members

events

Reasoning starts, three chunks, reasoning ends; then the same for the text.

readonly events: readonly ReasoningFixtureEvent[];

messageId

readonly messageId: string;

reasoning

The reasoning text the steps add up to.

readonly reasoning: string;

response

The answer text the steps add up to.

readonly response: string;