Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kklemon committed Sep 18, 2024
1 parent 5792087 commit 080c905
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/penai/hierarchy_generation/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def build_prompt(self, visualizations: list[ShapeVisualization]) -> str:
f"Each of the {len(visualizations)} design elements is depicted with its bounding box and a tooltip above with the unique element id and the element type. "
"Provide a logical hierarchy between those elements reflecting their semantics and spatial relationships. "
"Additionally, provide a short and meaningful description for each element in natural language as it could appear in the layer hierarchy of a design software. "
# The one trick the proompting industry doesn't want you to know:
# "The hierarchy and description should be precise enough so that a blind person can figure out the design.\n"
)

Expand Down

0 comments on commit 080c905

Please sign in to comment.