You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""You are an evaluator that helps determine if the predicted and expected values match for document attribute extraction. You will consider the context and meaning rather than just exact string matching.""",
74
+
# Set default LLM evaluation settings from typed config
or"""You are an evaluator that helps determine if the predicted and expected values match for document attribute extraction. You will consider the context and meaning rather than just exact string matching."""
74
83
)
75
84
76
-
self.default_task_prompt=self.llm_config.get(
77
-
"task_prompt",
78
-
"""I need to evaluate attribute extraction for a document of class: {DOCUMENT_CLASS}.
85
+
self.default_task_prompt= (
86
+
self.config.evaluation.llm_method.task_prompt
87
+
or"""I need to evaluate attribute extraction for a document of class: {DOCUMENT_CLASS}.
79
88
80
89
For the attribute named "{ATTRIBUTE_NAME}" described as "{ATTRIBUTE_DESCRIPTION}":
0 commit comments