mirror of
https://github.com/hwchase17/langchain
synced 2024-11-18 09:25:54 +00:00
parent
2673b3a314
commit
3c8e9a9641
@ -148,8 +148,8 @@ class CriteriaEvalChain(StringEvaluator, LLMEvalChain, LLMChain):
|
|||||||
llm : BaseLanguageModel
|
llm : BaseLanguageModel
|
||||||
The language model to use for evaluation.
|
The language model to use for evaluation.
|
||||||
criteria : Union[Mapping[str, str]]
|
criteria : Union[Mapping[str, str]]
|
||||||
The criteriaor rubric to evaluate the runs against. It can be a mapping of
|
The criteria or rubric to evaluate the runs against. It can be a mapping of
|
||||||
criterion name to its sdescription, or a single criterion name.
|
criterion name to its description, or a single criterion name.
|
||||||
prompt : Optional[BasePromptTemplate], default=None
|
prompt : Optional[BasePromptTemplate], default=None
|
||||||
The prompt template to use for generating prompts. If not provided, a
|
The prompt template to use for generating prompts. If not provided, a
|
||||||
default prompt template will be used based on the value of
|
default prompt template will be used based on the value of
|
||||||
|
Loading…
Reference in New Issue
Block a user