src/models/struxgpt_v1.py [76:81]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def load_from_dict(self, struct_dict: dict):
        self.scope = struct_dict['scope']
        self.aspects = [AspectItem(aspect_dict=aspect_dict) for aspect_dict in struct_dict['aspects']]
        self.raw_query = struct_dict.get('raw_query', None)
        self.raw_response = struct_dict.get('raw_response', None)
        self.valid = self.scope is not None and len(self.aspects) > 0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/models/struxgpt_v2.py [215:220]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def load_from_dict(self, struct_dict: dict):
        self.scope = struct_dict['scope']
        self.aspects = [AspectItem(aspect_dict=aspect_dict) for aspect_dict in struct_dict['aspects']]
        self.raw_query = struct_dict.get('raw_query', None)
        self.raw_response = struct_dict.get('raw_response', None)
        self.valid = self.scope is not None and len(self.aspects) > 0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



