Update VectorStoreToolkit imports
This commit is contained in:
parent
eff7dbc009
commit
0ebf7d35e4
1 changed files with 3 additions and 3 deletions
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
from langflow import CustomComponent
|
||||
from langchain.toolkits import VectorStoreToolkit
|
||||
from langchain.agents.agent_toolkits.vectorstore.toolkit import VectorStoreToolkit
|
||||
from langchain.agents.agent_toolkits.vectorstore.toolkit import VectorStoreInfo
|
||||
from langflow.field_typing import (
|
||||
VectorStore,
|
||||
Tool,
|
||||
)
|
||||
|
||||
|
|
@ -17,6 +17,6 @@ class VectorStoreToolkitComponent(CustomComponent):
|
|||
|
||||
def build(
|
||||
self,
|
||||
vectorstore_info: VectorStore,
|
||||
vectorstore_info: VectorStoreInfo,
|
||||
) -> Tool:
|
||||
return VectorStoreToolkit(vectorstore_info=vectorstore_info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue