diff options
| author | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-11-12 07:53:22 -0500 |
|---|---|---|
| committer | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-11-12 07:53:22 -0500 |
| commit | f2a4c9e484340b0542b896974673ffa13fbc0ac5 (patch) | |
| tree | 6edd167cec1b54bb40d46cd64e0250dd4034fdb4 /src/client/views/nodes/chatbot/tools/CreateDocumentTool.ts | |
| parent | c358fba1ee2aa54a97373d07e7b218c74dfd9bf0 (diff) | |
comparison box with assistant working
Diffstat (limited to 'src/client/views/nodes/chatbot/tools/CreateDocumentTool.ts')
| -rw-r--r-- | src/client/views/nodes/chatbot/tools/CreateDocumentTool.ts | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/client/views/nodes/chatbot/tools/CreateDocumentTool.ts b/src/client/views/nodes/chatbot/tools/CreateDocumentTool.ts index ebe0448aa..7b78ed510 100644 --- a/src/client/views/nodes/chatbot/tools/CreateDocumentTool.ts +++ b/src/client/views/nodes/chatbot/tools/CreateDocumentTool.ts @@ -68,6 +68,28 @@ const example = [ height: 300, }, { + doc_type: 'comparison', + title: 'WWI vs. WWII', + data: [ + { + doc_type: 'text', + title: 'WWI', + data: 'From 1914 to 1918, fighting took place across several continents, at sea and, for the first time, in the air.', + width: 300, + height: 300, + }, + { + doc_type: 'text', + title: 'WWII', + data: 'A devastating global conflict spanning from 1939 to 1945, saw the Allied powers fight against the Axis powers.', + width: 300, + height: 300, + }, + ], + width: 300, + height: 300, + }, + { doc_type: 'collection', title: 'Science Collection', data: [ |
