We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8112da commit c78c263Copy full SHA for c78c263
src/ragas/testset/synthesizers/multi_hop/specific.py
@@ -81,7 +81,11 @@ async def _generate_scenarios(
81
overlapped_items = []
82
overlapped_items = triplet[1].properties[self.relation_overlap_property]
83
if overlapped_items:
84
- themes = list(dict(overlapped_items).keys())
+ themes = (
85
+ list(overlapped_items.keys())
86
+ if isinstance(overlapped_items, dict)
87
+ else overlapped_items
88
+ )
89
prompt_input = ThemesPersonasInput(
90
themes=themes, personas=persona_list
91
)
0 commit comments