🔧 fix(frontend_node/textsplitters.py): add is_list=True to the 'documents' parameter to indicate it is a list
🔧 fix(frontend_node/vectorstores.py): add is_list=True to the 'field' parameter to indicate it is a list
This commit is contained in:
parent
0450c4c8cc
commit
82b973de43
2 changed files with 2 additions and 1 deletions
|
|
@ -15,6 +15,7 @@ class TextSplittersFrontendNode(FrontendNode):
|
|||
required=True,
|
||||
show=True,
|
||||
name="documents",
|
||||
is_list=True,
|
||||
)
|
||||
)
|
||||
name = "separator"
|
||||
|
|
|
|||
|
|
@ -259,7 +259,7 @@ class VectorStoreFrontendNode(FrontendNode):
|
|||
field.required = False
|
||||
field.show = True
|
||||
field.advanced = False
|
||||
|
||||
field.is_list = True
|
||||
elif "embedding" in field.name:
|
||||
# for backwards compatibility
|
||||
field.name = "embedding"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue