aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/chatbot/tools
diff options
context:
space:
mode:
authorA.J. Shulman <Shulman.aj@gmail.com>2024-11-07 11:32:52 -0500
committerA.J. Shulman <Shulman.aj@gmail.com>2024-11-07 11:32:52 -0500
commit68b07c07b41449067eec8f8cd22475a64eb91e67 (patch)
tree665114eb69209c3d4f13ba86bfe116d3b6238939 /src/client/views/nodes/chatbot/tools
parentab6672a702986d9b22de4f2df7955a0297308cab (diff)
working to create docs but wrong doc types/not compatible with LLM
Diffstat (limited to 'src/client/views/nodes/chatbot/tools')
-rw-r--r--src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts8
1 files changed, 7 insertions, 1 deletions
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;