LLM Wrapper to use
Key to use for output, defaults to text
Prompt object to use
OptionalcriterionOptionalevaluationThe name of the evaluation.
OptionalllmKwargs to pass to LLM
OptionalmemoryOptionalskipOptionalskipStaticdeserializeLoad a chain from a json-like object describing it.
StaticfromLLMCreate a new TrajectoryEvalChain.
OptionalagentTools: StructuredToolInterface[]The tools used by the agent.
OptionalchainOptions: Partial<Omit<LLMEvalChainInput<EvalOutputType, BaseLanguageModelInterface>, "llm">>The options for the chain.
StaticresolveStatictools
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.