Remove frame references in the diagramming prompts

This commit is contained in:
sabaimran 2024-10-31 18:14:51 -07:00
parent 8d1ecb9bd8
commit 159ea44883

View file

@ -193,7 +193,6 @@ you need to convert the user's query to a description format that the novice art
- ellipse
- line
- arrow
- frame
use these primitives to describe what sort of diagram the drawer should create. the artist must recreate the diagram every time, so include all relevant prior information in your description.
@ -284,21 +283,6 @@ For text, you must use the `text` property to specify the text to be rendered. Y
text: string,
}}
For frames, use the `children` property to specify the elements that are inside the frame by their ids.
{{
type: "frame",
id: string,
x: number,
y: number,
width: number,
height: number,
name: string,
children: [
string
]
}}
Here's an example of a valid diagram:
Design Description: Create a diagram describing a circular development process with 3 stages: design, implementation and feedback. The design stage is connected to the implementation stage and the implementation stage is connected to the feedback stage and the feedback stage is connected to the design stage. Each stage should be labeled with the stage name.