From 68b07c07b41449067eec8f8cd22475a64eb91e67 Mon Sep 17 00:00:00 2001 From: "A.J. Shulman" Date: Thu, 7 Nov 2024 11:32:52 -0500 Subject: working to create docs but wrong doc types/not compatible with LLM --- src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (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 af0dcc79c..bb1761cee 100644 --- a/src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts +++ b/src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts @@ -51,7 +51,13 @@ const createAnyDocumentToolParams = [ { name: 'options', type: 'string', - description: `A JSON string representing the document options. Available options depend on the document type. For example, for 'text' documents, options include: ${documentOptionsDescription['text'].join(', ')}.`, + description: `A JSON string representing the document options. Available options depend on the document type.\n + For example, for 'text' documents, options include: ${documentOptionsDescription['text'].join(', ')}.\n + For 'image' documents, options include: ${documentOptionsDescription['image'].join(', ')}.\n + For 'pdf' documents, options include: ${documentOptionsDescription['pdf'].join(', ')}.\n + For 'video' documents, options include: ${documentOptionsDescription['video'].join(', ')}.\n + For 'audio' documents, options include: ${documentOptionsDescription['audio'].join(', ')}.\n + For 'web' documents, options include: ${documentOptionsDescription['web'].join(', ')}.\n`, required: false, }, ] as const; -- cgit v1.2.3-70-g09d2