diff --git a/examples/product_taxonomy_knowledge_graph/img/cocoinsight.png b/examples/product_taxonomy_knowledge_graph/img/cocoinsight.png index 435bb78e..82c4891a 100644 Binary files a/examples/product_taxonomy_knowledge_graph/img/cocoinsight.png and b/examples/product_taxonomy_knowledge_graph/img/cocoinsight.png differ diff --git a/examples/product_taxonomy_knowledge_graph/main.py b/examples/product_taxonomy_knowledge_graph/main.py index 5413dfbe..f880dfbf 100644 --- a/examples/product_taxonomy_knowledge_graph/main.py +++ b/examples/product_taxonomy_knowledge_graph/main.py @@ -11,29 +11,20 @@ PRODUCT_TEMPLATE = """ # {{ title }} -{% if highlights %} ## Highlights {% for highlight in highlights %} - {{ highlight }} {% endfor %} -{% endif %} - -{% if description %} ## Description - {{ description.header | default('') }} - {{ description.paragraph | default('') }} - -{% if description.bullets %} {% for bullet in description.bullets %} + - {{ bullet }} {% endfor %} -{% endif %} -{% endif %} - """ + """ @dataclasses.dataclass class ProductInfo: