From 971d107574031885c17c339d39c4fd813682cc02 Mon Sep 17 00:00:00 2001 From: "A.J. Shulman" Date: Fri, 20 Dec 2024 15:45:01 -0500 Subject: working new tool --- src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts | 2 +- src/client/views/nodes/chatbot/tools/DictionaryTool.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/client/views/nodes/chatbot/tools') 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 = { name: 'dictionary', citationRules: 'No citation needed.', -- cgit v1.2.3-70-g09d2