Create a TrajectoryEvalChain object from a language model chain.
from_llm(
cls,
llm: BaseLanguageModel,
agent_tools: Sequence[BaseTool] | None = None,
output_parser: TrajectoryOutputParser | None = None,
**kwargs: Any = {}
) -> TrajectoryEvalChain| Name | Type | Description |
|---|---|---|
llm* | BaseLanguageModel | The language model chain. |
agent_tools | Sequence[BaseTool] | None | Default: NoneA list of tools available to the agent. |
output_parser * | unknown | The output parser used to parse the chain output into a score. |
**kwargs | Any | Default: {}Additional keyword arguments. |