uipath-langchain 0.0.111__py3-none-any.whl → 0.0.112__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- uipath_langchain/vectorstores/context_grounding_vectorstore.py +4 -0
- {uipath_langchain-0.0.111.dist-info → uipath_langchain-0.0.112.dist-info}/METADATA +1 -1
- {uipath_langchain-0.0.111.dist-info → uipath_langchain-0.0.112.dist-info}/RECORD +6 -6
- {uipath_langchain-0.0.111.dist-info → uipath_langchain-0.0.112.dist-info}/WHEEL +0 -0
- {uipath_langchain-0.0.111.dist-info → uipath_langchain-0.0.112.dist-info}/entry_points.txt +0 -0
- {uipath_langchain-0.0.111.dist-info → uipath_langchain-0.0.112.dist-info}/licenses/LICENSE +0 -0
|
@@ -44,6 +44,7 @@ class ContextGroundingVectorStore(VectorStore):
|
|
|
44
44
|
def __init__(
|
|
45
45
|
self,
|
|
46
46
|
index_name: str,
|
|
47
|
+
folder_path: Optional[str] = None,
|
|
47
48
|
uipath_sdk: Optional[UiPath] = None,
|
|
48
49
|
):
|
|
49
50
|
"""Initialize the ContextGroundingVectorStore.
|
|
@@ -53,6 +54,7 @@ class ContextGroundingVectorStore(VectorStore):
|
|
|
53
54
|
uipath_sdk: Optional SDK instance to use. If not provided, a new instance will be created.
|
|
54
55
|
"""
|
|
55
56
|
self.index_name = index_name
|
|
57
|
+
self.folder_path = folder_path
|
|
56
58
|
self.sdk = uipath_sdk or UiPath()
|
|
57
59
|
|
|
58
60
|
def similarity_search_with_score(
|
|
@@ -73,6 +75,7 @@ class ContextGroundingVectorStore(VectorStore):
|
|
|
73
75
|
name=self.index_name,
|
|
74
76
|
query=query,
|
|
75
77
|
number_of_results=k,
|
|
78
|
+
folder_path=self.folder_path,
|
|
76
79
|
)
|
|
77
80
|
|
|
78
81
|
# Convert the results to Documents with scores
|
|
@@ -142,6 +145,7 @@ class ContextGroundingVectorStore(VectorStore):
|
|
|
142
145
|
name=self.index_name,
|
|
143
146
|
query=query,
|
|
144
147
|
number_of_results=k,
|
|
148
|
+
folder_path=self.folder_path,
|
|
145
149
|
)
|
|
146
150
|
|
|
147
151
|
# Convert the results to Documents with scores
|
|
@@ -28,9 +28,9 @@ uipath_langchain/tracers/_events.py,sha256=CJri76SSdu7rGJIkXurJ2C5sQahfSK4E5UWwW
|
|
|
28
28
|
uipath_langchain/tracers/_instrument_traceable.py,sha256=0e841zVzcPWjOGtmBx0GeHbq3JoqsmWv6gVPzDOKNTM,13496
|
|
29
29
|
uipath_langchain/tracers/_utils.py,sha256=JOT1tKMdvqjMDtj2WbmbOWMeMlTXBWavxWpogX7KlRA,1543
|
|
30
30
|
uipath_langchain/vectorstores/__init__.py,sha256=w8qs1P548ud1aIcVA_QhBgf_jZDrRMK5Lono78yA8cs,114
|
|
31
|
-
uipath_langchain/vectorstores/context_grounding_vectorstore.py,sha256=
|
|
32
|
-
uipath_langchain-0.0.
|
|
33
|
-
uipath_langchain-0.0.
|
|
34
|
-
uipath_langchain-0.0.
|
|
35
|
-
uipath_langchain-0.0.
|
|
36
|
-
uipath_langchain-0.0.
|
|
31
|
+
uipath_langchain/vectorstores/context_grounding_vectorstore.py,sha256=TncIXG-YsUlO0R5ZYzWsM-Dj1SVCZbzmo2LraVxXelc,9559
|
|
32
|
+
uipath_langchain-0.0.112.dist-info/METADATA,sha256=MSb7h7hBN5BjhDchfFQYu2X4_OTt2hki8Zr5a-t0TDg,4166
|
|
33
|
+
uipath_langchain-0.0.112.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
34
|
+
uipath_langchain-0.0.112.dist-info/entry_points.txt,sha256=FUtzqGOEntlJKMJIXhQUfT7ZTbQmGhke1iCmDWZaQZI,81
|
|
35
|
+
uipath_langchain-0.0.112.dist-info/licenses/LICENSE,sha256=JDpt-uotAkHFmxpwxi6gwx6HQ25e-lG4U_Gzcvgp7JY,1063
|
|
36
|
+
uipath_langchain-0.0.112.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|