Added three new keys on hypothesis reasoning (#138)

* Added three new keys on hypothesis reasoning

* Updated two scenario rich text
This commit is contained in:
Xisen Wang
2024-08-01 10:53:37 +08:00
committed by GitHub
parent 2c1e1193be
commit 0a4bca5ffa
6 changed files with 46 additions and 61 deletions
+7 -1
View File
@@ -25,15 +25,21 @@ class Hypothesis:
- Belief
"""
def __init__(self, hypothesis: str, reason: str, concise_reason: str) -> None:
def __init__(self, hypothesis: str, reason: str, concise_reason: str, concise_observation: str, concise_justification: str, concise_knowledge: str) -> None:
self.hypothesis: str = hypothesis
self.reason: str = reason
self.concise_reason: str = concise_reason
self.concise_observation: str = concise_observation
self.concise_justification: str = concise_justification
self.concise_knowledge: str = concise_knowledge
def __str__(self) -> str:
return f"""Hypothesis: {self.hypothesis}
Reason: {self.reason}
Concise Reason & Knowledge: {self.concise_reason}
Concise Observation: {self.concise_observation}
Concise Justification: {self.concise_justification}
Concise Knowledge: {self.concise_knowledge}
"""
# source: data_ana | model_nan = None