From a5f0a1658319901bef0f386a2e70a5e421dfc3b9 Mon Sep 17 00:00:00 2001 From: sharkiecodes Date: Tue, 29 Apr 2025 23:17:59 -0400 Subject: 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 --- src/client/views/nodes/scrapbook/ScrapbookBox.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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() placeholder.x = 0; placeholder.y = -100; //placeholder.overrideFields = new List(['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(['lengthy description']); //we need to go back and set this const placeholder2 = new Doc(); placeholder2.proto = summary; placeholder2.original = summary; -- cgit v1.2.3-70-g09d2