diff options
author | bobzel <zzzman@gmail.com> | 2025-02-09 15:43:08 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-02-09 15:43:08 -0500 |
commit | 5df52296c65c4eed27b06e4d3fd22e935df5427c (patch) | |
tree | e866cbc8b6198f3cfb425c007e0abc65a9c3ff5e /src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts | |
parent | bb624694da02a56ce10e3bfa4c75957592e3a86d (diff) |
trying to get assistant to create Docs properly
Diffstat (limited to 'src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts')
-rw-r--r-- | src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts | 23 |
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. */ |