File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/uipath_langchain/vectorstores Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11[project ]
22name = " uipath-langchain"
3- version = " 0.0.111 "
3+ version = " 0.0.112 "
44description = " UiPath Langchain"
55readme = { file = " README.md" , content-type = " text/markdown" }
66requires-python = " >=3.10"
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ class ContextGroundingVectorStore(VectorStore):
4444 def __init__ (
4545 self ,
4646 index_name : str ,
47+ folder_path : Optional [str ] = None ,
4748 uipath_sdk : Optional [UiPath ] = None ,
4849 ):
4950 """Initialize the ContextGroundingVectorStore.
@@ -53,6 +54,7 @@ def __init__(
5354 uipath_sdk: Optional SDK instance to use. If not provided, a new instance will be created.
5455 """
5556 self .index_name = index_name
57+ self .folder_path = folder_path
5658 self .sdk = uipath_sdk or UiPath ()
5759
5860 def similarity_search_with_score (
@@ -73,6 +75,7 @@ def similarity_search_with_score(
7375 name = self .index_name ,
7476 query = query ,
7577 number_of_results = k ,
78+ folder_path = self .folder_path ,
7679 )
7780
7881 # Convert the results to Documents with scores
@@ -142,6 +145,7 @@ async def asimilarity_search_with_score(
142145 name = self .index_name ,
143146 query = query ,
144147 number_of_results = k ,
148+ folder_path = self .folder_path ,
145149 )
146150
147151 # Convert the results to Documents with scores
You can’t perform that action at this time.
0 commit comments