prompt update (#378)
This commit is contained in:
parent
a193476abe
commit
f578ee2177
2 changed files with 2 additions and 3 deletions
|
|
@ -82,6 +82,7 @@ def v1(context: dict[str, Any]) -> list[Message]:
|
|||
7. If only a date is mentioned without a specific time, use 00:00:00 (midnight) for that date.
|
||||
8. If only year is mentioned, use January 1st of that year at 00:00:00.
|
||||
9. Always include the time zone offset (use Z for UTC if no specific time zone is mentioned).
|
||||
10. A fact discussing that something is no longer true should have a valid_at according to when the negated fact became true.
|
||||
""",
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -101,9 +101,7 @@ def label_propagation(projection: dict[str, list[Neighbor]]) -> list[list[str]]:
|
|||
]
|
||||
|
||||
community_lst.sort(reverse=True)
|
||||
candidate_rank, community_candidate = (
|
||||
community_lst[0] if community_lst else (0, -1)
|
||||
)
|
||||
candidate_rank, community_candidate = community_lst[0] if community_lst else (0, -1)
|
||||
if community_candidate != -1 and candidate_rank > 1:
|
||||
new_community = community_candidate
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue