src/models/struxgpt_v1.py [202:211]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @staticmethod
    def check_struct_item(item, classtype=StructItem):
        if isinstance(item, dict):
            if classtype is StructItem:
                item = StructItem(struct_dict=item)
            elif classtype is AspectItem:
                item = AspectItem(aspect_dict=item)
            else:
                raise NotImplementedError(str(classtype))
        else:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/models/struxgpt_v2.py [502:511]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @staticmethod
    def check_struct_item(item, classtype=StructItem):
        if isinstance(item, dict):
            if classtype is StructItem:
                item = StructItem(struct_dict=item)
            elif classtype is AspectItem:
                item = AspectItem(aspect_dict=item)
            else:
                raise NotImplementedError(str(classtype))
        else:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



