uipath-langchain 0.0.137__py3-none-any.whl → 0.0.138__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.

Potentially problematic release.


This version of uipath-langchain might be problematic. Click here for more details.

@@ -1,11 +1,11 @@
1
1
  import asyncio
2
- import uuid
3
2
  from typing import List, Optional
4
3
 
5
4
  from openinference.instrumentation.langchain import (
6
5
  LangChainInstrumentor,
7
6
  get_current_span,
8
7
  )
8
+ from uipath._cli._evals._console_progress_reporter import ConsoleProgressReporter
9
9
  from uipath._cli._evals._progress_reporter import StudioWebProgressReporter
10
10
  from uipath._cli._evals._runtime import UiPathEvalContext, UiPathEvalRuntime
11
11
  from uipath._cli._runtime._contracts import (
@@ -39,11 +39,13 @@ def langgraph_eval_middleware(
39
39
 
40
40
  event_bus = EventBus()
41
41
 
42
- if not kwargs.get("no_report", False):
42
+ if kwargs.get("register_progress_reporter", False):
43
43
  progress_reporter = StudioWebProgressReporter(
44
44
  spans_exporter=LangChainExporter()
45
45
  )
46
46
  asyncio.run(progress_reporter.subscribe_to_eval_runtime_events(event_bus))
47
+ console_reporter = ConsoleProgressReporter()
48
+ asyncio.run(console_reporter.subscribe_to_eval_runtime_events(event_bus))
47
49
 
48
50
  def generate_runtime_context(
49
51
  context_entrypoint: str, langgraph_config: LangGraphConfig, **context_kwargs
@@ -56,7 +58,7 @@ def langgraph_eval_middleware(
56
58
  runtime_entrypoint = entrypoint or auto_discover_entrypoint()
57
59
 
58
60
  eval_context = UiPathEvalContext.with_defaults(
59
- entrypoint=runtime_entrypoint, execution_id=str(uuid.uuid4()), **kwargs
61
+ entrypoint=runtime_entrypoint, **kwargs
60
62
  )
61
63
  eval_context.eval_set = eval_set or EvalHelpers.auto_discover_eval_set()
62
64
  eval_context.eval_ids = eval_ids
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath-langchain
3
- Version: 0.0.137
3
+ Version: 0.0.138
4
4
  Summary: UiPath Langchain
5
5
  Project-URL: Homepage, https://uipath.com
6
6
  Project-URL: Repository, https://github.com/UiPath/uipath-langchain-python
@@ -26,7 +26,7 @@ Requires-Dist: openai>=1.65.5
26
26
  Requires-Dist: openinference-instrumentation-langchain>=0.1.50
27
27
  Requires-Dist: pydantic-settings>=2.6.0
28
28
  Requires-Dist: python-dotenv>=1.0.1
29
- Requires-Dist: uipath<2.2.0,>=2.1.65
29
+ Requires-Dist: uipath<2.2.0,>=2.1.76
30
30
  Provides-Extra: langchain
31
31
  Description-Content-Type: text/markdown
32
32
 
@@ -2,7 +2,7 @@ uipath_langchain/__init__.py,sha256=VBrvQn7d3nuOdN7zEnV2_S-uhmkjgEIlXiFVeZxZakQ,
2
2
  uipath_langchain/middlewares.py,sha256=6ljfbtWekrYc5G9KWDLSaViJ1DVIaNM-4qeB1BfHywE,731
3
3
  uipath_langchain/_cli/__init__.py,sha256=juqd9PbXs4yg45zMJ7BHAOPQjb7sgEbWE9InBtGZhfo,24
4
4
  uipath_langchain/_cli/cli_dev.py,sha256=3e9RldNGirIk9184NdLK6kDuGeeqZjekTxbSZRtXjBE,1505
5
- uipath_langchain/_cli/cli_eval.py,sha256=OBU8ADax8eF6KKOC8vxqdDR8YbuXiIe_r632p7SzveA,3386
5
+ uipath_langchain/_cli/cli_eval.py,sha256=rsa13I3bPxAsc0Gf5KFyvf5AMT8WdhgY7kT7ZAyXrJM,3572
6
6
  uipath_langchain/_cli/cli_init.py,sha256=xhxJ8tuMSrVUNHvltgyPpOrvgMA-wq9shHeYYwvHILs,8199
7
7
  uipath_langchain/_cli/cli_new.py,sha256=KKLxCzz7cDQ__rRr_a496IHWlSQXhmrBNgmKHnXAnTY,2336
8
8
  uipath_langchain/_cli/cli_run.py,sha256=hRcoXJgOIFceCswzTfZKyzqVee3j-oSh-13EfuQmmE8,2614
@@ -34,8 +34,8 @@ uipath_langchain/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
34
34
  uipath_langchain/tools/preconfigured.py,sha256=xCP0hiQuFKIv45PTvMsoWlwsxJDs7goyZujKflYBngY,7476
35
35
  uipath_langchain/vectorstores/__init__.py,sha256=w8qs1P548ud1aIcVA_QhBgf_jZDrRMK5Lono78yA8cs,114
36
36
  uipath_langchain/vectorstores/context_grounding_vectorstore.py,sha256=TncIXG-YsUlO0R5ZYzWsM-Dj1SVCZbzmo2LraVxXelc,9559
37
- uipath_langchain-0.0.137.dist-info/METADATA,sha256=tYkBQ1NZGqzxGefhPDnDELJi2McbQnAZHiNdtbNVyxE,4275
38
- uipath_langchain-0.0.137.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
39
- uipath_langchain-0.0.137.dist-info/entry_points.txt,sha256=FUtzqGOEntlJKMJIXhQUfT7ZTbQmGhke1iCmDWZaQZI,81
40
- uipath_langchain-0.0.137.dist-info/licenses/LICENSE,sha256=JDpt-uotAkHFmxpwxi6gwx6HQ25e-lG4U_Gzcvgp7JY,1063
41
- uipath_langchain-0.0.137.dist-info/RECORD,,
37
+ uipath_langchain-0.0.138.dist-info/METADATA,sha256=aM1VS1o-g7Fc7KBltSpLGugqNLi3b3qAbzHE2cy_xs8,4275
38
+ uipath_langchain-0.0.138.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
39
+ uipath_langchain-0.0.138.dist-info/entry_points.txt,sha256=FUtzqGOEntlJKMJIXhQUfT7ZTbQmGhke1iCmDWZaQZI,81
40
+ uipath_langchain-0.0.138.dist-info/licenses/LICENSE,sha256=JDpt-uotAkHFmxpwxi6gwx6HQ25e-lG4U_Gzcvgp7JY,1063
41
+ uipath_langchain-0.0.138.dist-info/RECORD,,