langchain 0.3.3__py3-none-any.whl → 0.3.5__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 langchain might be problematic. Click here for more details.
- langchain/agents/agent.py +2 -2
- langchain/agents/openai_functions_agent/agent_token_buffer_memory.py +1 -1
- langchain/agents/output_parsers/tools.py +1 -1
- langchain/agents/tools.py +1 -1
- langchain/chains/conversation/base.py +1 -1
- langchain/chains/router/multi_retrieval_qa.py +1 -1
- langchain/chat_models/base.py +31 -28
- langchain/evaluation/comparison/eval_chain.py +3 -3
- langchain/evaluation/criteria/eval_chain.py +2 -2
- langchain/evaluation/scoring/eval_chain.py +2 -2
- langchain/retrievers/document_compressors/chain_extract.py +2 -7
- langchain/smith/evaluation/string_run_evaluator.py +1 -1
- {langchain-0.3.3.dist-info → langchain-0.3.5.dist-info}/METADATA +3 -3
- {langchain-0.3.3.dist-info → langchain-0.3.5.dist-info}/RECORD +17 -17
- {langchain-0.3.3.dist-info → langchain-0.3.5.dist-info}/LICENSE +0 -0
- {langchain-0.3.3.dist-info → langchain-0.3.5.dist-info}/WHEEL +0 -0
- {langchain-0.3.3.dist-info → langchain-0.3.5.dist-info}/entry_points.txt +0 -0
langchain/agents/agent.py
CHANGED
|
@@ -1022,7 +1022,7 @@ class Agent(BaseSingleActionAgent):
|
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
1024
|
|
|
1025
|
-
class ExceptionTool(BaseTool):
|
|
1025
|
+
class ExceptionTool(BaseTool): # type: ignore[override]
|
|
1026
1026
|
"""Tool that just returns the query."""
|
|
1027
1027
|
|
|
1028
1028
|
name: str = "_Exception"
|
|
@@ -1182,7 +1182,7 @@ class AgentExecutor(Chain):
|
|
|
1182
1182
|
def _action_agent(self) -> Union[BaseSingleActionAgent, BaseMultiActionAgent]:
|
|
1183
1183
|
"""Type cast self.agent.
|
|
1184
1184
|
|
|
1185
|
-
|
|
1185
|
+
If the `agent` attribute is a Runnable, it will be converted one of
|
|
1186
1186
|
RunnableAgentType in the validate_runnable_agent root_validator.
|
|
1187
1187
|
|
|
1188
1188
|
To support instantiating with a Runnable, here we explicitly cast the type
|
|
@@ -12,7 +12,7 @@ from langchain.agents.format_scratchpad import (
|
|
|
12
12
|
from langchain.memory.chat_memory import BaseChatMemory
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
class AgentTokenBufferMemory(BaseChatMemory):
|
|
15
|
+
class AgentTokenBufferMemory(BaseChatMemory): # type: ignore[override]
|
|
16
16
|
"""Memory used to save agent output AND intermediate steps.
|
|
17
17
|
|
|
18
18
|
Parameters:
|
|
@@ -14,7 +14,7 @@ from langchain_core.outputs import ChatGeneration, Generation
|
|
|
14
14
|
from langchain.agents.agent import MultiActionAgentOutputParser
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
class ToolAgentAction(AgentActionMessageLog):
|
|
17
|
+
class ToolAgentAction(AgentActionMessageLog): # type: ignore[override]
|
|
18
18
|
tool_call_id: str
|
|
19
19
|
"""Tool call that this message is responding to."""
|
|
20
20
|
|
langchain/agents/tools.py
CHANGED
|
@@ -9,7 +9,7 @@ from langchain_core.callbacks import (
|
|
|
9
9
|
from langchain_core.tools import BaseTool, tool
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class InvalidTool(BaseTool):
|
|
12
|
+
class InvalidTool(BaseTool): # type: ignore[override]
|
|
13
13
|
"""Tool that is run when invalid tool name is encountered by agent."""
|
|
14
14
|
|
|
15
15
|
name: str = "invalid_tool"
|
|
@@ -21,7 +21,7 @@ from langchain.memory.buffer import ConversationBufferMemory
|
|
|
21
21
|
),
|
|
22
22
|
removal="1.0",
|
|
23
23
|
)
|
|
24
|
-
class ConversationChain(LLMChain):
|
|
24
|
+
class ConversationChain(LLMChain): # type: ignore[override, override]
|
|
25
25
|
"""Chain to have a conversation and load context from memory.
|
|
26
26
|
|
|
27
27
|
This class is deprecated in favor of ``RunnableWithMessageHistory``. Please refer
|
|
@@ -19,7 +19,7 @@ from langchain.chains.router.multi_retrieval_prompt import (
|
|
|
19
19
|
)
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
class MultiRetrievalQAChain(MultiRouteChain):
|
|
22
|
+
class MultiRetrievalQAChain(MultiRouteChain): # type: ignore[override]
|
|
23
23
|
"""A multi-route chain that uses an LLM router chain to choose amongst retrieval
|
|
24
24
|
qa chains."""
|
|
25
25
|
|
langchain/chat_models/base.py
CHANGED
|
@@ -19,7 +19,6 @@ from typing import (
|
|
|
19
19
|
overload,
|
|
20
20
|
)
|
|
21
21
|
|
|
22
|
-
from langchain_core._api import beta
|
|
23
22
|
from langchain_core.language_models import (
|
|
24
23
|
BaseChatModel,
|
|
25
24
|
LanguageModelInput,
|
|
@@ -30,7 +29,7 @@ from langchain_core.language_models.chat_models import (
|
|
|
30
29
|
generate_from_stream,
|
|
31
30
|
)
|
|
32
31
|
from langchain_core.messages import AnyMessage, BaseMessage
|
|
33
|
-
from langchain_core.runnables import Runnable, RunnableConfig
|
|
32
|
+
from langchain_core.runnables import Runnable, RunnableConfig, ensure_config
|
|
34
33
|
from langchain_core.runnables.schema import StreamEvent
|
|
35
34
|
from langchain_core.tools import BaseTool
|
|
36
35
|
from langchain_core.tracers import RunLog, RunLogPatch
|
|
@@ -83,7 +82,6 @@ def init_chat_model(
|
|
|
83
82
|
# FOR CONTRIBUTORS: If adding support for a new provider, please append the provider
|
|
84
83
|
# name to the supported list in the docstring below. Do *not* change the order of the
|
|
85
84
|
# existing providers.
|
|
86
|
-
@beta()
|
|
87
85
|
def init_chat_model(
|
|
88
86
|
model: Optional[str] = None,
|
|
89
87
|
*,
|
|
@@ -96,38 +94,39 @@ def init_chat_model(
|
|
|
96
94
|
) -> Union[BaseChatModel, _ConfigurableModel]:
|
|
97
95
|
"""Initialize a ChatModel from the model name and provider.
|
|
98
96
|
|
|
99
|
-
Must have the integration package corresponding to the model provider
|
|
97
|
+
**Note:** Must have the integration package corresponding to the model provider
|
|
98
|
+
installed.
|
|
100
99
|
|
|
101
100
|
Args:
|
|
102
101
|
model: The name of the model, e.g. "gpt-4o", "claude-3-opus-20240229".
|
|
103
102
|
model_provider: The model provider. Supported model_provider values and the
|
|
104
|
-
corresponding integration package:
|
|
105
|
-
|
|
106
|
-
- openai
|
|
107
|
-
- anthropic
|
|
108
|
-
- azure_openai
|
|
109
|
-
- google_vertexai
|
|
110
|
-
- google_genai
|
|
111
|
-
- bedrock
|
|
112
|
-
- bedrock_converse
|
|
113
|
-
- cohere
|
|
114
|
-
- fireworks
|
|
115
|
-
- together
|
|
116
|
-
- mistralai
|
|
117
|
-
- huggingface
|
|
118
|
-
- groq
|
|
119
|
-
- ollama
|
|
103
|
+
corresponding integration package are:
|
|
104
|
+
|
|
105
|
+
- 'openai' -> langchain-openai
|
|
106
|
+
- 'anthropic' -> langchain-anthropic
|
|
107
|
+
- 'azure_openai' -> langchain-openai
|
|
108
|
+
- 'google_vertexai' -> langchain-google-vertexai
|
|
109
|
+
- 'google_genai' -> langchain-google-genai
|
|
110
|
+
- 'bedrock' -> langchain-aws
|
|
111
|
+
- 'bedrock_converse' -> langchain-aws
|
|
112
|
+
- 'cohere' -> langchain-cohere
|
|
113
|
+
- 'fireworks' -> langchain-fireworks
|
|
114
|
+
- 'together' -> langchain-together
|
|
115
|
+
- 'mistralai' -> langchain-mistralai
|
|
116
|
+
- 'huggingface' -> langchain-huggingface
|
|
117
|
+
- 'groq' -> langchain-groq
|
|
118
|
+
- 'ollama' -> langchain-ollama
|
|
120
119
|
|
|
121
120
|
Will attempt to infer model_provider from model if not specified. The
|
|
122
121
|
following providers will be inferred based on these model prefixes:
|
|
123
122
|
|
|
124
|
-
- gpt-3
|
|
125
|
-
- claude...
|
|
126
|
-
- amazon....
|
|
127
|
-
- gemini...
|
|
128
|
-
- command...
|
|
129
|
-
- accounts/fireworks...
|
|
130
|
-
- mistral...
|
|
123
|
+
- 'gpt-3...' | 'gpt-4...' | 'o1...' -> 'openai'
|
|
124
|
+
- 'claude...' -> 'anthropic'
|
|
125
|
+
- 'amazon....' -> 'bedrock'
|
|
126
|
+
- 'gemini...' -> 'google_vertexai'
|
|
127
|
+
- 'command...' -> 'cohere'
|
|
128
|
+
- 'accounts/fireworks...' -> 'fireworks'
|
|
129
|
+
- 'mistral...' -> 'mistralai'
|
|
131
130
|
configurable_fields: Which model parameters are
|
|
132
131
|
configurable:
|
|
133
132
|
|
|
@@ -286,6 +285,10 @@ def init_chat_model(
|
|
|
286
285
|
Support for langchain_aws.ChatBedrockConverse added
|
|
287
286
|
(model_provider="bedrock_converse").
|
|
288
287
|
|
|
288
|
+
.. versionchanged:: 0.3.5
|
|
289
|
+
|
|
290
|
+
Out of beta.
|
|
291
|
+
|
|
289
292
|
""" # noqa: E501
|
|
290
293
|
if not model and not configurable_fields:
|
|
291
294
|
configurable_fields = ("model", "model_provider")
|
|
@@ -530,7 +533,7 @@ class _ConfigurableModel(Runnable[LanguageModelInput, Any]):
|
|
|
530
533
|
return model
|
|
531
534
|
|
|
532
535
|
def _model_params(self, config: Optional[RunnableConfig]) -> dict:
|
|
533
|
-
config = config
|
|
536
|
+
config = ensure_config(config)
|
|
534
537
|
model_params = {
|
|
535
538
|
_remove_prefix(k, self._config_prefix): v
|
|
536
539
|
for k, v in config.get("configurable", {}).items()
|
|
@@ -95,7 +95,7 @@ def resolve_pairwise_criteria(
|
|
|
95
95
|
return criteria_
|
|
96
96
|
|
|
97
97
|
|
|
98
|
-
class PairwiseStringResultOutputParser(BaseOutputParser[dict]):
|
|
98
|
+
class PairwiseStringResultOutputParser(BaseOutputParser[dict]): # type: ignore[override]
|
|
99
99
|
"""A parser for the output of the PairwiseStringEvalChain.
|
|
100
100
|
|
|
101
101
|
Attributes:
|
|
@@ -151,7 +151,7 @@ class PairwiseStringResultOutputParser(BaseOutputParser[dict]):
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
|
|
154
|
-
class PairwiseStringEvalChain(PairwiseStringEvaluator, LLMEvalChain, LLMChain):
|
|
154
|
+
class PairwiseStringEvalChain(PairwiseStringEvaluator, LLMEvalChain, LLMChain): # type: ignore[override]
|
|
155
155
|
"""A chain for comparing two outputs, such as the outputs
|
|
156
156
|
of two models, prompts, or outputs of a single model on similar inputs.
|
|
157
157
|
|
|
@@ -391,7 +391,7 @@ Performance may be significantly worse with other models."
|
|
|
391
391
|
return self._prepare_output(result)
|
|
392
392
|
|
|
393
393
|
|
|
394
|
-
class LabeledPairwiseStringEvalChain(PairwiseStringEvalChain):
|
|
394
|
+
class LabeledPairwiseStringEvalChain(PairwiseStringEvalChain): # type: ignore[override]
|
|
395
395
|
"""A chain for comparing two outputs, such as the outputs
|
|
396
396
|
of two models, prompts, or outputs of a single model on similar inputs,
|
|
397
397
|
with labeled preferences.
|
|
@@ -164,7 +164,7 @@ def resolve_criteria(
|
|
|
164
164
|
return criteria_
|
|
165
165
|
|
|
166
166
|
|
|
167
|
-
class CriteriaEvalChain(StringEvaluator, LLMEvalChain, LLMChain):
|
|
167
|
+
class CriteriaEvalChain(StringEvaluator, LLMEvalChain, LLMChain): # type: ignore[override]
|
|
168
168
|
"""LLM Chain for evaluating runs against criteria.
|
|
169
169
|
|
|
170
170
|
Parameters
|
|
@@ -508,7 +508,7 @@ class CriteriaEvalChain(StringEvaluator, LLMEvalChain, LLMChain):
|
|
|
508
508
|
return self._prepare_output(result)
|
|
509
509
|
|
|
510
510
|
|
|
511
|
-
class LabeledCriteriaEvalChain(CriteriaEvalChain):
|
|
511
|
+
class LabeledCriteriaEvalChain(CriteriaEvalChain): # type: ignore[override]
|
|
512
512
|
"""Criteria evaluation chain that requires references."""
|
|
513
513
|
|
|
514
514
|
@classmethod
|
|
@@ -144,7 +144,7 @@ class ScoreStringResultOutputParser(BaseOutputParser[dict]):
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
|
|
147
|
-
class ScoreStringEvalChain(StringEvaluator, LLMEvalChain, LLMChain):
|
|
147
|
+
class ScoreStringEvalChain(StringEvaluator, LLMEvalChain, LLMChain): # type: ignore[override]
|
|
148
148
|
"""A chain for scoring on a scale of 1-10 the output of a model.
|
|
149
149
|
|
|
150
150
|
Attributes:
|
|
@@ -396,7 +396,7 @@ Performance may be significantly worse with other models."
|
|
|
396
396
|
return self._prepare_output(result)
|
|
397
397
|
|
|
398
398
|
|
|
399
|
-
class LabeledScoreStringEvalChain(ScoreStringEvalChain):
|
|
399
|
+
class LabeledScoreStringEvalChain(ScoreStringEvalChain): # type: ignore[override]
|
|
400
400
|
"""A chain for scoring the output of a model on a scale of 1-10.
|
|
401
401
|
|
|
402
402
|
Attributes:
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
import asyncio
|
|
6
5
|
from typing import Any, Callable, Dict, Optional, Sequence, cast
|
|
7
6
|
|
|
8
7
|
from langchain_core.callbacks.manager import Callbacks
|
|
@@ -92,12 +91,8 @@ class LLMChainExtractor(BaseDocumentCompressor):
|
|
|
92
91
|
callbacks: Optional[Callbacks] = None,
|
|
93
92
|
) -> Sequence[Document]:
|
|
94
93
|
"""Compress page content of raw documents asynchronously."""
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
self.llm_chain.ainvoke(self.get_input(query, doc), callbacks=callbacks)
|
|
98
|
-
for doc in documents
|
|
99
|
-
]
|
|
100
|
-
)
|
|
94
|
+
inputs = [self.get_input(query, doc) for doc in documents]
|
|
95
|
+
outputs = await self.llm_chain.abatch(inputs, {"callbacks": callbacks})
|
|
101
96
|
compressed_docs = []
|
|
102
97
|
for i, doc in enumerate(documents):
|
|
103
98
|
if len(outputs[i]) == 0:
|
|
@@ -239,7 +239,7 @@ class StringExampleMapper(Serializable):
|
|
|
239
239
|
return self.map(example)
|
|
240
240
|
|
|
241
241
|
|
|
242
|
-
class StringRunEvaluatorChain(Chain, RunEvaluator):
|
|
242
|
+
class StringRunEvaluatorChain(Chain, RunEvaluator): # type: ignore[override, override]
|
|
243
243
|
"""Evaluate Run and optional examples."""
|
|
244
244
|
|
|
245
245
|
run_mapper: StringRunMapper
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: langchain
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.5
|
|
4
4
|
Summary: Building applications with LLMs through composability
|
|
5
5
|
Home-page: https://github.com/langchain-ai/langchain
|
|
6
6
|
License: MIT
|
|
@@ -15,14 +15,14 @@ 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.13,<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"
|
|
22
22
|
Requires-Dist: numpy (>=1.26.0,<2.0.0) ; python_version >= "3.12"
|
|
23
23
|
Requires-Dist: pydantic (>=2.7.4,<3.0.0)
|
|
24
24
|
Requires-Dist: requests (>=2,<3)
|
|
25
|
-
Requires-Dist: tenacity (>=8.1.0
|
|
25
|
+
Requires-Dist: tenacity (>=8.1.0,!=8.4.0,<10)
|
|
26
26
|
Project-URL: Repository, https://github.com/langchain-ai/langchain
|
|
27
27
|
Project-URL: Release Notes, https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain%3D%3D0%22&expanded=true
|
|
28
28
|
Project-URL: Source Code, https://github.com/langchain-ai/langchain/tree/master/libs/langchain
|
|
@@ -7,7 +7,7 @@ langchain/_api/path.py,sha256=ovJP6Pcf7L_KaKvMMet9G9OzfLTb-sZV2pEw3Tp7o3I,122
|
|
|
7
7
|
langchain/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
langchain/adapters/openai.py,sha256=kWvS_DdRtpcc49vDY8zLUo3BrtXA3a89bLJu3Sksvaw,1996
|
|
9
9
|
langchain/agents/__init__.py,sha256=JQJ3VlqRMRpHbjR-pkzy1yowJkdEmsQEPXTptkyHc-o,6282
|
|
10
|
-
langchain/agents/agent.py,sha256=
|
|
10
|
+
langchain/agents/agent.py,sha256=OyOGrmxzZ2Cirn3hB74P5Jen1o1Lcnat0pHtYHcuRT0,62383
|
|
11
11
|
langchain/agents/agent_iterator.py,sha256=Zr0aikktn-aotTvoaVGJxXIBIkHidIQGkfQIKvovkxg,16454
|
|
12
12
|
langchain/agents/agent_toolkits/__init__.py,sha256=N0ylx2gzwaOqaoHRXQs9jvYNIzrnTM-2rgjNkCU5UII,7370
|
|
13
13
|
langchain/agents/agent_toolkits/ainetwork/__init__.py,sha256=henfKntuAEjG1KoN-Hk1IHy3fFGCYPWLEuZtF2bIdZI,25
|
|
@@ -113,7 +113,7 @@ langchain/agents/mrkl/prompt.py,sha256=2dTMP2lAWiLvCtuEijgQRjbKDlbPEnmx77duMwdJ7
|
|
|
113
113
|
langchain/agents/openai_assistant/__init__.py,sha256=Xssaqoxrix3hn1gKSOLmDRQzTxAoJk0ProGXmXQe8Mw,114
|
|
114
114
|
langchain/agents/openai_assistant/base.py,sha256=UGUEVtJCNudTWYoyc4-z1N7BQpKWnwKybeO9bZzivD0,27957
|
|
115
115
|
langchain/agents/openai_functions_agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
116
|
-
langchain/agents/openai_functions_agent/agent_token_buffer_memory.py,sha256=
|
|
116
|
+
langchain/agents/openai_functions_agent/agent_token_buffer_memory.py,sha256=G5vrWDbv3oWojxafiW2qSae7Z7WUdZugI-ywjTP0zZ4,3790
|
|
117
117
|
langchain/agents/openai_functions_agent/base.py,sha256=katIW0vE87B7ezm9WU_fEMfeHSQPHZptM0zppQfnY-4,13474
|
|
118
118
|
langchain/agents/openai_functions_multi_agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
119
119
|
langchain/agents/openai_functions_multi_agent/base.py,sha256=dRVNujpitWkqgjleJaT7KdVM2y1qoe3Vyu0wQ-NGLWM,12638
|
|
@@ -126,7 +126,7 @@ langchain/agents/output_parsers/openai_tools.py,sha256=A_GpcYqy3xnkKrlBtrmHIUWww
|
|
|
126
126
|
langchain/agents/output_parsers/react_json_single_input.py,sha256=SUkOGmdGGzxB4e1CNJD1eo4dJneiMYsgfGVHpxZ5bfI,2473
|
|
127
127
|
langchain/agents/output_parsers/react_single_input.py,sha256=lIHosxNep1YFCgW9h71gEDWs59dmGeWlWedl9gWf11k,3218
|
|
128
128
|
langchain/agents/output_parsers/self_ask.py,sha256=-4_-hQbKB1ichR5odEyeYUV-wIdLmP5eGDxzw77Cop4,1545
|
|
129
|
-
langchain/agents/output_parsers/tools.py,sha256=
|
|
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
132
|
langchain/agents/react/agent.py,sha256=13-AjCDM3G6r_vfkaq6hj3L6c89_NFqgQK7L2iurCgc,5101
|
|
@@ -145,7 +145,7 @@ langchain/agents/structured_chat/output_parser.py,sha256=UgxCyLrMfhG-caAWzpcr6is
|
|
|
145
145
|
langchain/agents/structured_chat/prompt.py,sha256=OiBTRUOhvhSyO2jO2ByUUiaCrkK_tIUH9pMWWKs-aF4,992
|
|
146
146
|
langchain/agents/tool_calling_agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
147
147
|
langchain/agents/tool_calling_agent/base.py,sha256=pEL8y4YN9pQICFYpkPi76jnMVD5-PZWIrgUIPat87F8,3870
|
|
148
|
-
langchain/agents/tools.py,sha256=
|
|
148
|
+
langchain/agents/tools.py,sha256=vaPCNS-KNCZxEuwPjf7S-afLQcItlwqXt_zezmmz_Zc,1473
|
|
149
149
|
langchain/agents/types.py,sha256=reTknIC_U9YMexGn3LoHJ5ApW3SuMm9S4QGJs5gTjoM,1475
|
|
150
150
|
langchain/agents/utils.py,sha256=ZmO8uwuQYrwo-Yk1XwMt_EPiE_8F_hSybBZdMQ46cis,555
|
|
151
151
|
langchain/agents/xml/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -228,7 +228,7 @@ langchain/chains/constitutional_ai/models.py,sha256=D_p--Zt-ut32VuU5nHdqmPv5vFZE
|
|
|
228
228
|
langchain/chains/constitutional_ai/principles.py,sha256=vElwvF1w4h8URsj38ucmoKp9hUCzf0sJyoNQmKv1Kws,21739
|
|
229
229
|
langchain/chains/constitutional_ai/prompts.py,sha256=vL7qEGpLZShdKY8i07874peWB63eTYud6iPJcWcD-Y4,9072
|
|
230
230
|
langchain/chains/conversation/__init__.py,sha256=hpIiQSoUe0bGkqAGKxG_CEYRFsjHRL4l5uBEpCBetFc,71
|
|
231
|
-
langchain/chains/conversation/base.py,sha256=
|
|
231
|
+
langchain/chains/conversation/base.py,sha256=3SGiejrTCS9bcbL1U7TGwlbyiC9YoxT2AeJYm-DHh-0,5586
|
|
232
232
|
langchain/chains/conversation/memory.py,sha256=KoKmk5FjPEkioolvmFxcJgRr2wRdWIe1LNBHCtGgUKo,1396
|
|
233
233
|
langchain/chains/conversation/prompt.py,sha256=84xC4dy8yNiCSICT4b6UvZdQXpPifMVw1hf7WnFAVkw,913
|
|
234
234
|
langchain/chains/conversational_retrieval/__init__.py,sha256=hq7jx-kmg3s8qLYnV7gPmzVIPcGqW69H6cXIjklvGjY,49
|
|
@@ -330,7 +330,7 @@ langchain/chains/router/llm_router.py,sha256=6FQUTXvZ9pekVkPeTNvQsj1jD9JdmfpMkxI
|
|
|
330
330
|
langchain/chains/router/multi_prompt.py,sha256=pqBIW8fLH6esLd9uiuGS5aJeXuuPTQcv7jaOHU8YhSE,4887
|
|
331
331
|
langchain/chains/router/multi_prompt_prompt.py,sha256=T8UbIuxblnI6Byhw-BMAzwQcbB5ww3N6BiMqMJxS6Jc,1156
|
|
332
332
|
langchain/chains/router/multi_retrieval_prompt.py,sha256=VUYGLWbwGiv03aSMW5sjdGNwsEa9FKgq0RcK5o3lkH4,1079
|
|
333
|
-
langchain/chains/router/multi_retrieval_qa.py,sha256=
|
|
333
|
+
langchain/chains/router/multi_retrieval_qa.py,sha256=tjIhHEbOwtF3CLq0qQ8Kd78ao5BXRKZLsm9UlmHrdtQ,4254
|
|
334
334
|
langchain/chains/sequential.py,sha256=w65OznBVUsE1jUOsCWNlHbFjhhwQj2o296iOXgtQ7Rs,7465
|
|
335
335
|
langchain/chains/sql_database/__init__.py,sha256=jQotWN4EWMD98Jk-f7rqh5YtbXbP9XXA0ypLGq8NgrM,47
|
|
336
336
|
langchain/chains/sql_database/prompt.py,sha256=W0xFqVZ18PzxmutnIBJrocXus8_QBByrKtxg8CjGaYw,15458
|
|
@@ -360,7 +360,7 @@ langchain/chat_models/azure_openai.py,sha256=aRNol2PNC49PmvdZnwjhQeMFRDOOelPNAXz
|
|
|
360
360
|
langchain/chat_models/azureml_endpoint.py,sha256=6mxXm8UFXataLp0NYRGA88V3DpiNKPo095u_JGj7XGE,863
|
|
361
361
|
langchain/chat_models/baichuan.py,sha256=3-GveFoF5ZNyLdRNK6V4i3EDDjdseOTFWbCMhDbtO9w,643
|
|
362
362
|
langchain/chat_models/baidu_qianfan_endpoint.py,sha256=CZrX2SMpbE9H7wBXNC6rGvw-YqQl9zjuJrClYQxEzuI,715
|
|
363
|
-
langchain/chat_models/base.py,sha256=
|
|
363
|
+
langchain/chat_models/base.py,sha256=Y8cqyWUy_wK1XqPF3C6Ini93vz3U63UA2FGHni1YZXU,31650
|
|
364
364
|
langchain/chat_models/bedrock.py,sha256=HRV3T_0mEnZ8LvJJqAA_UVpt-_03G715oIgomRJw55M,757
|
|
365
365
|
langchain/chat_models/cohere.py,sha256=EYOECHX-nKRhZVfCfmFGZ2lr51PzaB5OvOEqmBCu1fI,633
|
|
366
366
|
langchain/chat_models/databricks.py,sha256=5_QkC5lG4OldaHC2FS0XylirJouyZx1YT95SKwc12M0,653
|
|
@@ -629,10 +629,10 @@ langchain/evaluation/agents/__init__.py,sha256=Z3RFhkBgSauIRNp5dEUgkzY1Tr3kSeUwu
|
|
|
629
629
|
langchain/evaluation/agents/trajectory_eval_chain.py,sha256=APBJIYNHyHnfnveICRmalS0N2khBDo1BtYYHM1p-7gU,13933
|
|
630
630
|
langchain/evaluation/agents/trajectory_eval_prompt.py,sha256=NY-kAJqoXfPP9zI9WsvEHEDp00ImG1Po9vBZm3U684M,5939
|
|
631
631
|
langchain/evaluation/comparison/__init__.py,sha256=1nxR3mXQ8eimpDjfarJgDRe30YjL2yeOYkFaNj09fRY,1401
|
|
632
|
-
langchain/evaluation/comparison/eval_chain.py,sha256=
|
|
632
|
+
langchain/evaluation/comparison/eval_chain.py,sha256=YnZwd4-a0VLoJMxIW8lXTB3X03HtwZ2lA9cN5dSDmNA,15952
|
|
633
633
|
langchain/evaluation/comparison/prompt.py,sha256=_mvS1BsSm4aBHUQjUWtNAYGwtLj9sYOIvPi4jZRWs6M,2359
|
|
634
634
|
langchain/evaluation/criteria/__init__.py,sha256=FE5qrrz5JwWXJWXCzdyNRevEPfmmfBfjfHx-hR3pCWg,1647
|
|
635
|
-
langchain/evaluation/criteria/eval_chain.py,sha256=
|
|
635
|
+
langchain/evaluation/criteria/eval_chain.py,sha256=JkBEsgNPymOT3OqTSveRAsIr2Sk1O1oWjJZ664t0BuM,21279
|
|
636
636
|
langchain/evaluation/criteria/prompt.py,sha256=6OgXmdvlYVzRMeAxa1fYGIxqeNAz1NkFCZ6ezLgUnZM,1756
|
|
637
637
|
langchain/evaluation/embedding_distance/__init__.py,sha256=YLtGUI4ZMxjsn2Q0dGZ-R9YMFgZsarfJv9qzNEnrLQs,324
|
|
638
638
|
langchain/evaluation/embedding_distance/base.py,sha256=qFmOREYG4IVzRlX1xAY2LismotP_H7Az1-Alsbtop78,17059
|
|
@@ -652,7 +652,7 @@ langchain/evaluation/regex_match/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
|
|
|
652
652
|
langchain/evaluation/regex_match/base.py,sha256=EKLoQOK1ncUF0wEIbzp7JjYwuyeLRkk4wvTXyD1UTZs,2407
|
|
653
653
|
langchain/evaluation/schema.py,sha256=P1Rz7OjGq3fLg1-J8tU1ebwnr0h_sVcTDwrrQcs5RMs,18182
|
|
654
654
|
langchain/evaluation/scoring/__init__.py,sha256=D5zPsGRGCpg3KJkfAu2SN096jZi9FRlDlG4fiYV1Ko8,1113
|
|
655
|
-
langchain/evaluation/scoring/eval_chain.py,sha256=
|
|
655
|
+
langchain/evaluation/scoring/eval_chain.py,sha256=WANw9mtcHXWNDFMX3PVzIAS-ILozTcdY9ARakvcKkoU,15457
|
|
656
656
|
langchain/evaluation/scoring/prompt.py,sha256=WqNq8bktJUjU8tcHWVuPJFWgsOIc-G7fYMDiejHhWIY,2130
|
|
657
657
|
langchain/evaluation/string_distance/__init__.py,sha256=qAz9Z709ocAi_Yd9nbkKnFt16nc9d_gTT55N7okXWmE,286
|
|
658
658
|
langchain/evaluation/string_distance/base.py,sha256=tD0mZLlwAw7TUqtvXfYJqPcM10tmOJNfsEB3aNuM1WE,14013
|
|
@@ -868,7 +868,7 @@ langchain/retrievers/databerry.py,sha256=uMTLwG-QWCaORSPeFshi105VvXCizjF6551XHXX
|
|
|
868
868
|
langchain/retrievers/docarray.py,sha256=5BHkTy7uI5HUFi-k9qS6ZYxMyGdKbAwxhKqpz3cNCTM,791
|
|
869
869
|
langchain/retrievers/document_compressors/__init__.py,sha256=H0xp8dSYIEYZWdAEQN_zY4DX6gx3kepw9jTC_gUSZyk,1263
|
|
870
870
|
langchain/retrievers/document_compressors/base.py,sha256=YEIubk7rAFiL052hOLwPfnM06o_sAE-DegbM4BwwC98,2937
|
|
871
|
-
langchain/retrievers/document_compressors/chain_extract.py,sha256=
|
|
871
|
+
langchain/retrievers/document_compressors/chain_extract.py,sha256=v0F2uIV5KS0BScfzLAPaWhue9ZD47-tM_2L5gqodY7A,4475
|
|
872
872
|
langchain/retrievers/document_compressors/chain_extract_prompt.py,sha256=FezN4Fk0tRcRFcD1Nf1r2SUyUt49yQKzdcV_iCQj6rE,366
|
|
873
873
|
langchain/retrievers/document_compressors/chain_filter.py,sha256=hWDsvyeVvcqGZkEtN-7FIE-iZq7HA-oD-JwBeXzwKW0,4719
|
|
874
874
|
langchain/retrievers/document_compressors/chain_filter_prompt.py,sha256=FTQRPiEsZ0Q9MQXXkpBwxtcqJ9D6Zq0GbuTmMpXHobA,231
|
|
@@ -986,7 +986,7 @@ langchain/smith/evaluation/config.py,sha256=_bJ0gHUjHudKKW53zvOQFvZMEmFPqhHz-qXj
|
|
|
986
986
|
langchain/smith/evaluation/name_generation.py,sha256=IWocrWNjWnV8GhHJ7BrbGcWK1v9TUikzubpSBNz4Px4,9936
|
|
987
987
|
langchain/smith/evaluation/progress.py,sha256=yFa-v03LPwk4UbZl3PcoO31hAJgORZ5luJ429isZDIA,3310
|
|
988
988
|
langchain/smith/evaluation/runner_utils.py,sha256=plGtXQjshhxU3NfEixgeIK7zLD-P32WhwMVstVaqnwY,54222
|
|
989
|
-
langchain/smith/evaluation/string_run_evaluator.py,sha256=
|
|
989
|
+
langchain/smith/evaluation/string_run_evaluator.py,sha256=PVy7CIlADMrGjmsDT3SYJ7utA28T7V8TLpJnDFqDqDI,17149
|
|
990
990
|
langchain/smith/evaluation/utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
991
991
|
langchain/sql_database.py,sha256=PbNTfJjIUemMO9ZkLiMIpKF-9GJ7Kto3ShcQrLPoOqk,664
|
|
992
992
|
langchain/storage/__init__.py,sha256=Wm7zDu_UBenWVknjoTiRpafsDgubMJdB1oEuV88aVyk,1585
|
|
@@ -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.5.dist-info/LICENSE,sha256=TsZ-TKbmch26hJssqCJhWXyGph7iFLvyFBYAa3stBHg,1067
|
|
1339
|
+
langchain-0.3.5.dist-info/METADATA,sha256=TGCziqE7oRhm_CkPRT9PJYdUYOunkQ6MEfrwJQF0UUM,7076
|
|
1340
|
+
langchain-0.3.5.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
1341
|
+
langchain-0.3.5.dist-info/entry_points.txt,sha256=IgKjoXnkkVC8Nm7ggiFMCNAk01ua6RVTb9cmZTVNm5w,58
|
|
1342
|
+
langchain-0.3.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|