Skip to content

Commit ea69985

Browse files
committed
fix: expose document semantic score on cg retrieval [ECS-1652]
1 parent 7fd8bfa commit ea69985

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-langchain"
3-
version = "0.8.7"
3+
version = "0.8.8"
44
description = "Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Cloud Platform"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

src/uipath_langchain/retrievers/context_grounding_retriever.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def _get_relevant_documents(
3535
"source": x.source,
3636
"reference": x.reference,
3737
"page_number": x.page_number,
38+
"score": x.score,
3839
},
3940
)
4041
for x in results
@@ -61,6 +62,7 @@ async def _aget_relevant_documents(
6162
"source": x.source,
6263
"reference": x.reference,
6364
"page_number": x.page_number,
65+
"score": x.score,
6466
},
6567
)
6668
for x in results

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)