langchain 0.3.5__py3-none-any.whl → 0.3.7__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.
- langchain/agents/react/agent.py +6 -0
- {langchain-0.3.5.dist-info → langchain-0.3.7.dist-info}/METADATA +2 -2
- {langchain-0.3.5.dist-info → langchain-0.3.7.dist-info}/RECORD +6 -6
- {langchain-0.3.5.dist-info → langchain-0.3.7.dist-info}/LICENSE +0 -0
- {langchain-0.3.5.dist-info → langchain-0.3.7.dist-info}/WHEEL +0 -0
- {langchain-0.3.5.dist-info → langchain-0.3.7.dist-info}/entry_points.txt +0 -0
langchain/agents/react/agent.py
CHANGED
|
@@ -27,6 +27,12 @@ def create_react_agent(
|
|
|
27
27
|
Based on paper "ReAct: Synergizing Reasoning and Acting in Language Models"
|
|
28
28
|
(https://arxiv.org/abs/2210.03629)
|
|
29
29
|
|
|
30
|
+
.. warning::
|
|
31
|
+
This implementation is based on the foundational ReAct paper but is older and not well-suited for production applications.
|
|
32
|
+
For a more robust and feature-rich implementation, we recommend using the `create_react_agent` function from the LangGraph library.
|
|
33
|
+
See the [reference doc](https://langchain-ai.github.io/langgraph/reference/prebuilt/#langgraph.prebuilt.chat_agent_executor.create_react_agent)
|
|
34
|
+
for more information.
|
|
35
|
+
|
|
30
36
|
Args:
|
|
31
37
|
llm: LLM to use as the agent.
|
|
32
38
|
tools: Tools this agent has access to.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: langchain
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.7
|
|
4
4
|
Summary: Building applications with LLMs through composability
|
|
5
5
|
Home-page: https://github.com/langchain-ai/langchain
|
|
6
6
|
License: MIT
|
|
@@ -15,7 +15,7 @@ Requires-Dist: PyYAML (>=5.3)
|
|
|
15
15
|
Requires-Dist: SQLAlchemy (>=1.4,<3)
|
|
16
16
|
Requires-Dist: aiohttp (>=3.8.3,<4.0.0)
|
|
17
17
|
Requires-Dist: async-timeout (>=4.0.0,<5.0.0) ; python_version < "3.11"
|
|
18
|
-
Requires-Dist: langchain-core (>=0.3.
|
|
18
|
+
Requires-Dist: langchain-core (>=0.3.15,<0.4.0)
|
|
19
19
|
Requires-Dist: langchain-text-splitters (>=0.3.0,<0.4.0)
|
|
20
20
|
Requires-Dist: langsmith (>=0.1.17,<0.2.0)
|
|
21
21
|
Requires-Dist: numpy (>=1,<2) ; python_version < "3.12"
|
|
@@ -129,7 +129,7 @@ langchain/agents/output_parsers/self_ask.py,sha256=-4_-hQbKB1ichR5odEyeYUV-wIdLm
|
|
|
129
129
|
langchain/agents/output_parsers/tools.py,sha256=go3kYKW406Wi8tR8Oqy6YGD26Ab-9PHQtTQ1FHScHA0,3779
|
|
130
130
|
langchain/agents/output_parsers/xml.py,sha256=2MjxW4nAM4sZN-in3K40_K5DBx6cI2Erb0TZbpSoZIY,1658
|
|
131
131
|
langchain/agents/react/__init__.py,sha256=9RIjjaUDfWnoMEMpV57JQ0CwZZC5Soh357QdKpVIM-4,76
|
|
132
|
-
langchain/agents/react/agent.py,sha256=
|
|
132
|
+
langchain/agents/react/agent.py,sha256=TWjUeto0zrhf3YtKZ9NoM-kfOu4VR0ircrST_8HLAaM,5568
|
|
133
133
|
langchain/agents/react/base.py,sha256=Rypd4p-ew5vGePBjo7vNVcxrcLEHn1D9_YZFKPWEXrA,5773
|
|
134
134
|
langchain/agents/react/output_parser.py,sha256=bEL3U3mxYGK7_7Lm4GlOq8JKQTgyHFQQIEVUUZjV1qs,1231
|
|
135
135
|
langchain/agents/react/textworld_prompt.py,sha256=b9WDM8pFmqrfAWJ8n6zkxlPlxQI5oHljZ1R9g5y6cRE,1906
|
|
@@ -1335,8 +1335,8 @@ langchain/vectorstores/xata.py,sha256=HW_Oi5Hz8rH2JaUhRNWQ-3hLYmNzD8eAz6K5YqPArm
|
|
|
1335
1335
|
langchain/vectorstores/yellowbrick.py,sha256=-lnjGcRE8Q1nEPOTdbKYTw5noS2cy2ce1ePOU804-_o,624
|
|
1336
1336
|
langchain/vectorstores/zep.py,sha256=RJ2auxoA6uHHLEZknw3_jeFmYJYVt-PWKMBcNMGV6TM,798
|
|
1337
1337
|
langchain/vectorstores/zilliz.py,sha256=XhPPIUfKPFJw0_svCoBgCnNkkBLoRVVcyuMfOnE5IxU,609
|
|
1338
|
-
langchain-0.3.
|
|
1339
|
-
langchain-0.3.
|
|
1340
|
-
langchain-0.3.
|
|
1341
|
-
langchain-0.3.
|
|
1342
|
-
langchain-0.3.
|
|
1338
|
+
langchain-0.3.7.dist-info/LICENSE,sha256=TsZ-TKbmch26hJssqCJhWXyGph7iFLvyFBYAa3stBHg,1067
|
|
1339
|
+
langchain-0.3.7.dist-info/METADATA,sha256=dnEGxVj9Mtqfl-VUt9arKGHht18C67QuVMiQgYfc7hU,7076
|
|
1340
|
+
langchain-0.3.7.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
1341
|
+
langchain-0.3.7.dist-info/entry_points.txt,sha256=IgKjoXnkkVC8Nm7ggiFMCNAk01ua6RVTb9cmZTVNm5w,58
|
|
1342
|
+
langchain-0.3.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|