diff options
Diffstat (limited to 'src/client/views/nodes/chatbot/tools')
| -rw-r--r-- | src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts | 2 | ||||
| -rw-r--r-- | src/client/views/nodes/chatbot/tools/DictionaryTool.ts | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts b/src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts index 36f133503..5f3af8296 100644 --- a/src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts +++ b/src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts @@ -16,7 +16,7 @@ const supportedDocumentTypes: supportedDocumentTypesType[] = ['text', 'html', 'e const documentTypesInfo = { text: { options: ['title', 'backgroundColor', 'fontColor', 'text_align', 'layout'], - dataDescription: 'The text content of the document.', + dataDescription: 'The text content of the text document. Should contain all the text content.', }, html: { options: ['title', 'backgroundColor', 'layout'], diff --git a/src/client/views/nodes/chatbot/tools/DictionaryTool.ts b/src/client/views/nodes/chatbot/tools/DictionaryTool.ts index fa554e7b3..377101641 100644 --- a/src/client/views/nodes/chatbot/tools/DictionaryTool.ts +++ b/src/client/views/nodes/chatbot/tools/DictionaryTool.ts @@ -2,7 +2,6 @@ import { Observation } from '../types/types'; import { ParametersType, ToolInfo } from '../types/tool_types'; import { BaseTool } from './BaseTool'; -// Define the tool's parameters const dictionaryToolParams = [ { name: 'word', @@ -14,7 +13,6 @@ const dictionaryToolParams = [ type DictionaryToolParamsType = typeof dictionaryToolParams; -// Define the tool's metadata and rules const dictionaryToolInfo: ToolInfo<DictionaryToolParamsType> = { name: 'dictionary', citationRules: 'No citation needed.', |
