The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Fix typos in eval_chain.py (#9365)
Tong Gao3c8e9a96411e
diff --git a/libs/langchain/langchain/evaluation/criteria/eval_chain.py b/libs/langchain/langchain/evaluation/criteria/eval_chain.pyindex 99fd0226d9..5bd3694e7d 100644--- a/libs/langchain/langchain/evaluation/criteria/eval_chain.py+++ b/libs/langchain/langchain/evaluation/criteria/eval_chain.py@@ -148,8 +148,8 @@ class CriteriaEvalChain(StringEvaluator, LLMEvalChain, LLMChain):llm : BaseLanguageModelThe language model to use for evaluation.criteria : Union[Mapping[str, str]]- The criteriaor rubric to evaluate the runs against. It can be a mapping of- criterion name to its sdescription, or a single criterion name.+ The criteria or rubric to evaluate the runs against. It can be a mapping of+ criterion name to its description, or a single criterion name.prompt : Optional[BasePromptTemplate], default=NoneThe prompt template to use for generating prompts. If not provided, adefault prompt template will be used based on the value of