aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/chatbot/tools
diff options
context:
space:
mode:
authorA.J. Shulman <Shulman.aj@gmail.com>2024-12-20 15:45:01 -0500
committerA.J. Shulman <Shulman.aj@gmail.com>2024-12-20 15:45:01 -0500
commit971d107574031885c17c339d39c4fd813682cc02 (patch)
tree947d9c0f347f8871616ef2053da994ddd5342e63 /src/client/views/nodes/chatbot/tools
parentf915013d2ccfaeb7f04bf8bfea57e6d7d1f66b81 (diff)
working new tool
Diffstat (limited to 'src/client/views/nodes/chatbot/tools')
-rw-r--r--src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts2
-rw-r--r--src/client/views/nodes/chatbot/tools/DictionaryTool.ts2
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.',