in src/models/struxgpt_v2.py [0:0]
def lazzy_struct(title: str, sent_list: List[str]):
sent_num = len(sent_list)
data_dict = {
'scope': title,
'aspects': [
{
'name': title,
'sent_range': [1, sent_num],
'subaspects': []
}
],
'raw_query': StruXGPT.mapping_sentence(sent_list),
# 'raw_response': None
}
return StructItem(struct_dict=data_dict)