From 159ea448835b489d61fae46f6f599d76f27a272f Mon Sep 17 00:00:00 2001 From: sabaimran Date: Thu, 31 Oct 2024 18:14:51 -0700 Subject: [PATCH] Remove frame references in the diagramming prompts --- src/khoj/processor/conversation/prompts.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/khoj/processor/conversation/prompts.py b/src/khoj/processor/conversation/prompts.py index 0cca1e37..3cb50715 100644 --- a/src/khoj/processor/conversation/prompts.py +++ b/src/khoj/processor/conversation/prompts.py @@ -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.