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

@@ -17,7 +17,7 @@ async def generate_report(state: GraphInput) -> GraphOutput:
17
17
  elif os.getenv("OPENAI_API_KEY"):
18
18
  llm_model = ChatOpenAI(model="gpt-4o-mini", temperature=0)
19
19
  else:
20
- raise Exception("Error: Missing API Key. Please define either ANTHROPIC_API_KEY or OPENAI_API_KEY.")
20
+ raise Exception("Missing API Key. Please define either ANTHROPIC_API_KEY or OPENAI_API_KEY.")
21
21
 
22
22
  system_prompt = "You are a report generator. Please provide a brief report based on the given topic."
23
23
  output = await llm_model.ainvoke([SystemMessage(system_prompt), HumanMessage(state.topic)])
@@ -26,16 +26,16 @@ def generate_script(target_directory):
26
26
  def generate_pyproject(target_directory, project_name):
27
27
  project_toml_path = os.path.join(target_directory, "pyproject.toml")
28
28
  toml_content = f"""[project]
29
- name = "{project_name}"
30
- version = "0.0.1"
31
- description = "{project_name}"
32
- authors = [{{ name = "John Doe", email = "john.doe@myemail.com" }}]
33
- dependencies = [
34
- "uipath-langchain>=0.0.95",
35
- "langchain-anthropic>=0.3.8",
36
- ]
37
- requires-python = ">=3.10"
38
- """
29
+ name = "{project_name}"
30
+ version = "0.0.1"
31
+ description = "{project_name}"
32
+ authors = [{{ name = "John Doe", email = "john.doe@myemail.com" }}]
33
+ dependencies = [
34
+ "uipath-langchain>=0.0.95",
35
+ "langchain-anthropic>=0.3.8",
36
+ ]
37
+ requires-python = ">=3.10"
38
+ """
39
39
 
40
40
  with open(project_toml_path, "w") as f:
41
41
  f.write(toml_content)
@@ -1,5 +1,4 @@
1
1
  import asyncio
2
- import logging
3
2
  from os import environ as env
4
3
  from typing import Optional
5
4
 
@@ -12,7 +11,6 @@ from ._runtime._exception import LangGraphRuntimeError
12
11
  from ._runtime._runtime import LangGraphRuntime
13
12
  from ._utils._graph import LangGraphConfig
14
13
 
15
- logger = logging.getLogger(__name__)
16
14
  load_dotenv()
17
15
 
18
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath-langchain
3
- Version: 0.0.99
3
+ Version: 0.0.101
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
@@ -25,7 +25,7 @@ Requires-Dist: pydantic-settings>=2.6.0
25
25
  Requires-Dist: python-dotenv>=1.0.1
26
26
  Requires-Dist: requests>=2.23.3
27
27
  Requires-Dist: types-requests>=2.32.0.20241016
28
- Requires-Dist: uipath<2.1.0,>=2.0.28
28
+ Requires-Dist: uipath<2.1.0,>=2.0.31
29
29
  Provides-Extra: langchain
30
30
  Description-Content-Type: text/markdown
31
31
 
@@ -38,6 +38,8 @@ A Python SDK that enables developers to build and deploy LangGraph agents to the
38
38
 
39
39
  This package is an extension to the [UiPath Python SDK](https://github.com/UiPath/uipath-python).
40
40
 
41
+ This [quickstart guide](docs/quick_start.md) walks you through deploying your first agent to UiPath Cloud Platform.
42
+
41
43
  ## Requirements
42
44
 
43
45
  - Python 3.10 or higher
@@ -2,8 +2,8 @@ uipath_langchain/__init__.py,sha256=VBrvQn7d3nuOdN7zEnV2_S-uhmkjgEIlXiFVeZxZakQ,
2
2
  uipath_langchain/middlewares.py,sha256=tre7o9DFMgWk1DJiEEUmT6_wiP-PPkWtKmG0iOyvr9c,509
3
3
  uipath_langchain/_cli/__init__.py,sha256=juqd9PbXs4yg45zMJ7BHAOPQjb7sgEbWE9InBtGZhfo,24
4
4
  uipath_langchain/_cli/cli_init.py,sha256=B5BVUA7pDvKyRRGEx5mgmeE5SJvLPM3cnLGt6a9iixY,7417
5
- uipath_langchain/_cli/cli_new.py,sha256=sXUhRmCQmjUePkXOqz4t_f_SOjIMYWIDyIB_AZ5W2Fw,2674
6
- uipath_langchain/_cli/cli_run.py,sha256=zMn2P1gB1ogM8_EmZsIhqNpeI9Oc02Z5Gj-oni7eUV4,2915
5
+ uipath_langchain/_cli/cli_new.py,sha256=WwuHFPvKxUolf2tJFZD6PitZJaR-5EU9T-WTqpDuhOw,2438
6
+ uipath_langchain/_cli/cli_run.py,sha256=8-7NBguH3ACwN3bHEtyj2d3N-FFLJQLaiHDNI_3hnQE,2863
7
7
  uipath_langchain/_cli/_runtime/_context.py,sha256=wr4aNn06ReIXmetEZ6b6AnpAt64p13anQ2trZ5Bzgio,807
8
8
  uipath_langchain/_cli/_runtime/_escalation.py,sha256=oA5NvZvCo8ngELFJRyhZNM69DxVHrshhMY6CUk_cukQ,8055
9
9
  uipath_langchain/_cli/_runtime/_exception.py,sha256=USKkLYkG-dzjX3fEiMMOHnVUpiXJs_xF0OQXCCOvbYM,546
@@ -11,7 +11,7 @@ uipath_langchain/_cli/_runtime/_input.py,sha256=gKzPaGW-EzgeAskWJjbCWnfZRLu_BM7l
11
11
  uipath_langchain/_cli/_runtime/_output.py,sha256=WQSrsvGaaclZ6GLWEh6Nk1Mz1iGaIB45PgIX3DS3AN4,16130
12
12
  uipath_langchain/_cli/_runtime/_runtime.py,sha256=wj6e6tQdP2GjuSM-6G6Ug-FMqwOHwfUq-DGbd1gMfIg,11825
13
13
  uipath_langchain/_cli/_templates/langgraph.json.template,sha256=eeh391Gta_hoRgaNaZ58nW1LNvCVXA7hlAH6l7Veous,107
14
- uipath_langchain/_cli/_templates/main.py.template,sha256=FQIldd8PKYAxL9oAS6Y1CB0mKtY4LroXdYW8Hg_ZnHo,1202
14
+ uipath_langchain/_cli/_templates/main.py.template,sha256=9JEyPxwc4Ce8Dfd2UAgHgpwkkjuXwWXOQZ-65P53QuM,1195
15
15
  uipath_langchain/_cli/_utils/_graph.py,sha256=WLBSJfPc3_C07SqJhePRe17JIc5wcBvEqLviMcNOdTA,6950
16
16
  uipath_langchain/_utils/__init__.py,sha256=WoY66enCygRXTh6v5B1UrRcFCnQYuPJ8oqDkwomXzLc,194
17
17
  uipath_langchain/_utils/_request_mixin.py,sha256=t_1HWBxqEl-wsSk9ubmIM-8vs9BlNy4ZVBxtDxktn6U,18489
@@ -36,8 +36,8 @@ uipath_langchain/utils/_request_mixin.py,sha256=WFyTDyAthSci1DRwUwS21I3hLntD7HdV
36
36
  uipath_langchain/utils/_settings.py,sha256=MhwEVj4gVRSar0RBf2w2hTjO-5Qm-HpCuufqN3gSWjA,3390
37
37
  uipath_langchain/utils/_sleep_policy.py,sha256=e9pHdjmcCj4CVoFM1jMyZFelH11YatsgWfpyrfXzKBQ,1251
38
38
  uipath_langchain/vectorstores/context_grounding_vectorstore.py,sha256=eTa5sX43-ydB1pj9VNHUPbB-hC36fZK_CGrNe5U2Nrw,9393
39
- uipath_langchain-0.0.99.dist-info/METADATA,sha256=mamkEiJxHULdqwBAs-oZJ5m5mKY24lONJQeiCxXI2cs,3819
40
- uipath_langchain-0.0.99.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
41
- uipath_langchain-0.0.99.dist-info/entry_points.txt,sha256=FUtzqGOEntlJKMJIXhQUfT7ZTbQmGhke1iCmDWZaQZI,81
42
- uipath_langchain-0.0.99.dist-info/licenses/LICENSE,sha256=JDpt-uotAkHFmxpwxi6gwx6HQ25e-lG4U_Gzcvgp7JY,1063
43
- uipath_langchain-0.0.99.dist-info/RECORD,,
39
+ uipath_langchain-0.0.101.dist-info/METADATA,sha256=_DMJPrVOEPDT_0kJm6aLPYMzME2NfuQYx55jAd3qeT8,3937
40
+ uipath_langchain-0.0.101.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
41
+ uipath_langchain-0.0.101.dist-info/entry_points.txt,sha256=FUtzqGOEntlJKMJIXhQUfT7ZTbQmGhke1iCmDWZaQZI,81
42
+ uipath_langchain-0.0.101.dist-info/licenses/LICENSE,sha256=JDpt-uotAkHFmxpwxi6gwx6HQ25e-lG4U_Gzcvgp7JY,1063
43
+ uipath_langchain-0.0.101.dist-info/RECORD,,