LLM Wrapper to use
Key to use for output, defaults to text
Prompt object to use
Optional
criterionOptional
evaluationThe name of the evaluation.
Optional
llmKwargs to pass to LLM
Optional
memoryOptional
skipOptional
skipStatic
deserializeLoad a chain from a json-like object describing it.
Static
fromLLMCreate a new TrajectoryEvalChain.
Optional
agentTools: StructuredToolInterface[]The tools used by the agent.
Optional
chainOptions: Partial<Omit<LLMEvalChainInput<EvalOutputType, BaseLanguageModelInterface>, "llm">>The options for the chain.
Static
resolveStatic
tools
A chain for evaluating ReAct style agents.
This chain is used to evaluate ReAct style agents by reasoning about the sequence of actions taken and their outcomes.