MCPcopy Create free account
hub / github.com/Bolin97/MedArk / IsInformational

Class IsInformational

evaluation/eval.py:259–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257@with_retry
258def get_is_informational(q, model_out, ref_resp, history: list):
259 class IsInformational(BaseModel):
260 reasoning: str = Field(
261 description="The reason why you assert that the given response is informational for the given medical question, or why you cannot assert it. Reasoning should be concise and contain only important points."
262 )
263 is_informational: bool = Field(
264 description="Whether the given response is informational for the given medical question."
265 )
266 fmted_lines = []
267 for each in history:
268 fmted_lines.append(f"患者:{each['patient']}")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected