MCPcopy Create free account
hub / github.com/InternScience/SciReason / ResponseDataSample

Class ResponseDataSample

opencompass/datasets/teval/schema.py:6–19  ·  view source on GitHub ↗

Args: template(str): Format string with keyword-only arguments. For example '{who} like {what}' pred(Any): Parsed data from LLM generating response. gt(Any): Ground truth data meta_data(dict, optional): Meta information will be used to evaluate

Source from the content-addressed store, hash-verified

4
5@dataclass
6class ResponseDataSample:
7 """
8 Args:
9 template(str): Format string with keyword-only arguments. For
10 example '{who} like {what}'
11 pred(Any): Parsed data from LLM generating response.
12 gt(Any): Ground truth data
13 meta_data(dict, optional): Meta information will be used to evaluate
14 LLM's response
15 """
16 template: str
17 pred: Any
18 gt: Any
19 meta_data: dict = None

Callers 5

_process_responseMethod · 0.85
_process_responseMethod · 0.85
_process_responseMethod · 0.85
_process_responseMethod · 0.85
_process_responseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected