@langwatch/scenario
    Preparing search index...

    Variable conversationConst

    conversation: {
        firstUserMessage: StateMapping;
        lastAgentMessage: StateMapping;
        messages: StateMapping;
        transcript: StateMapping;
    } = ...

    Inputs that read the conversation of the run.

    Type Declaration

    • ReadonlyfirstUserMessage: StateMapping

      state.firstUserMessage() || undefined: the text of the first message the simulated user sent.

    • ReadonlylastAgentMessage: StateMapping

      messageText(state.lastAgentMessage()): the text of the last message the agent under test sent.

    • Readonlymessages: StateMapping

      state.messages: the whole conversation as a list of messages.

    • Readonlytranscript: StateMapping

      state.transcript(): the whole conversation as role: content lines.