Skip to content

Commit 1d42ab3

Browse files
authored
update cocoinsight screenshot and simpify template for product taxonomy example (#449)
1 parent a0fd841 commit 1d42ab3

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed
Loading

examples/product_taxonomy_knowledge_graph/main.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,20 @@
1111
PRODUCT_TEMPLATE = """
1212
# {{ title }}
1313
14-
{% if highlights %}
1514
## Highlights
1615
{% for highlight in highlights %}
1716
- {{ highlight }}
1817
{% endfor %}
19-
{% endif %}
2018
21-
22-
{% if description %}
2319
## Description
24-
2520
{{ description.header | default('') }}
26-
2721
{{ description.paragraph | default('') }}
28-
29-
{% if description.bullets %}
3022
{% for bullet in description.bullets %}
23+
3124
- {{ bullet }}
3225
{% endfor %}
33-
{% endif %}
3426
35-
{% endif %}
36-
"""
27+
"""
3728

3829
@dataclasses.dataclass
3930
class ProductInfo:

0 commit comments

Comments
 (0)