aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/chatbot/tools/CreateAnyDocTool.ts')
-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;