mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 23:01:09 +03:00
Add description for file input
This commit is contained in:
@@ -1,9 +1,6 @@
|
|||||||
import { ICommonObject, INode, INodeData, INodeOutputsValue, INodeParams } from '../../../src/Interface'
|
import { ICommonObject, INode, INodeData, INodeOutputsValue, INodeParams } from '../../../src/Interface'
|
||||||
import { Embeddings } from 'langchain/embeddings/base'
|
|
||||||
import { getBaseClasses, getCredentialData, getCredentialParam } from '../../../src/utils'
|
import { getBaseClasses, getCredentialData, getCredentialParam } from '../../../src/utils'
|
||||||
import { VectaraStore, VectaraLibArgs, VectaraFilter, VectaraContextConfig } from 'langchain/vectorstores/vectara'
|
import { VectaraStore, VectaraLibArgs, VectaraFilter, VectaraContextConfig } from 'langchain/vectorstores/vectara'
|
||||||
import { Document } from 'langchain/document'
|
|
||||||
import { flatten } from 'lodash'
|
|
||||||
|
|
||||||
class VectaraUpload_VectorStores implements INode {
|
class VectaraUpload_VectorStores implements INode {
|
||||||
label: string
|
label: string
|
||||||
@@ -37,6 +34,8 @@ class VectaraUpload_VectorStores implements INode {
|
|||||||
{
|
{
|
||||||
label: 'File',
|
label: 'File',
|
||||||
name: 'file',
|
name: 'file',
|
||||||
|
description:
|
||||||
|
'File to upload to Vectara. Supported file types: https://docs.vectara.com/docs/api-reference/indexing-apis/file-upload/file-upload-filetypes',
|
||||||
type: 'file'
|
type: 'file'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user