aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts')
-rw-r--r--src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts23
1 files changed, 6 insertions, 17 deletions
diff --git a/src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts b/src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts
index 0049612fd..efc66880f 100644
--- a/src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts
+++ b/src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts
@@ -1,23 +1,12 @@
+import { toLower } from 'lodash';
import { v4 as uuidv4 } from 'uuid';
-import { BaseTool } from './BaseTool';
-import { Observation } from '../types/types';
-import { ParametersType } from '../types/tool_types';
import { DocumentOptions } from '../../../../documents/Documents';
-import { toLower } from 'lodash';
-
-export enum supportedDocumentTypes {
- flashcard = 'flashcard',
- text = 'text',
- html = 'html',
- equation = 'equation',
- functionplot = 'functionplot',
- dataviz = 'dataviz',
- notetaking = 'notetaking',
- rtf = 'rtf',
- message = 'message',
-}
+import { ParametersType } from '../types/tool_types';
+import { Observation } from '../types/types';
+import { BaseTool } from './BaseTool';
+import { supportedDocumentTypes } from './CreateDocumentTool';
-const standardOptions = ['title', 'backgroundColor', 'layout'];
+const standardOptions = ['title', 'backgroundColor'];
/**
* Description of document options and data field for each type.
*/