aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsharkiecodes <lanyi_stroud@brown.edu>2025-04-29 23:17:59 -0400
committersharkiecodes <lanyi_stroud@brown.edu>2025-04-29 23:17:59 -0400
commita5f0a1658319901bef0f386a2e70a5e421dfc3b9 (patch)
tree53eddd6fc3172a33a8eb6ed4f06e0a4c74f90fac /src
parent013769e309d7b462b7ae6bc987a6cde2f8a68a24 (diff)
imageboxes and rich text boxes are classified automatically by GPT and store these tags in tags_chat. When ambiguous (there exist multiple slots of the same type), Scrapbook can determine where to place docs through tags
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/scrapbook/ScrapbookBox.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/scrapbook/ScrapbookBox.tsx b/src/client/views/nodes/scrapbook/ScrapbookBox.tsx
index 39729a1c5..dd3eed6e4 100644
--- a/src/client/views/nodes/scrapbook/ScrapbookBox.tsx
+++ b/src/client/views/nodes/scrapbook/ScrapbookBox.tsx
@@ -57,10 +57,11 @@ export class ScrapbookBox extends ViewBoxAnnotatableComponent<FieldViewProps>()
placeholder.x = 0;
placeholder.y = -100;
//placeholder.overrideFields = new List<string>(['x', 'y']); // shouldn't need to do this for layout fields since the placeholder already overrides its protos
-
+
const summary = Docs.Create.TextDocument('summary');
summary.accepts_docType = DocumentType.RTF;
summary.accepts_textType = 'one line';
+ //summary.$tags_chat = new List<string>(['lengthy description']); //we need to go back and set this
const placeholder2 = new Doc();
placeholder2.proto = summary;
placeholder2.original = summary;