langchain-core 1.0.5__py3-none-any.whl → 1.2.1__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.
Files changed (46) hide show
  1. langchain_core/callbacks/manager.py +14 -14
  2. langchain_core/callbacks/usage.py +1 -1
  3. langchain_core/indexing/api.py +2 -0
  4. langchain_core/language_models/__init__.py +15 -5
  5. langchain_core/language_models/_utils.py +1 -0
  6. langchain_core/language_models/chat_models.py +74 -94
  7. langchain_core/language_models/llms.py +5 -3
  8. langchain_core/language_models/model_profile.py +84 -0
  9. langchain_core/load/load.py +14 -1
  10. langchain_core/messages/ai.py +12 -4
  11. langchain_core/messages/base.py +6 -6
  12. langchain_core/messages/block_translators/anthropic.py +27 -8
  13. langchain_core/messages/block_translators/bedrock_converse.py +18 -8
  14. langchain_core/messages/block_translators/google_genai.py +25 -10
  15. langchain_core/messages/content.py +1 -1
  16. langchain_core/messages/tool.py +28 -27
  17. langchain_core/messages/utils.py +45 -18
  18. langchain_core/output_parsers/openai_tools.py +9 -7
  19. langchain_core/output_parsers/pydantic.py +1 -1
  20. langchain_core/output_parsers/string.py +27 -1
  21. langchain_core/prompts/chat.py +22 -17
  22. langchain_core/prompts/string.py +29 -9
  23. langchain_core/prompts/structured.py +7 -1
  24. langchain_core/runnables/base.py +174 -160
  25. langchain_core/runnables/branch.py +1 -1
  26. langchain_core/runnables/config.py +25 -20
  27. langchain_core/runnables/fallbacks.py +1 -2
  28. langchain_core/runnables/graph.py +3 -2
  29. langchain_core/runnables/graph_mermaid.py +5 -1
  30. langchain_core/runnables/passthrough.py +2 -2
  31. langchain_core/tools/base.py +46 -2
  32. langchain_core/tools/convert.py +16 -0
  33. langchain_core/tools/retriever.py +29 -58
  34. langchain_core/tools/structured.py +14 -0
  35. langchain_core/tracers/event_stream.py +9 -4
  36. langchain_core/utils/aiter.py +3 -1
  37. langchain_core/utils/function_calling.py +7 -2
  38. langchain_core/utils/json_schema.py +29 -21
  39. langchain_core/utils/mustache.py +24 -9
  40. langchain_core/utils/pydantic.py +7 -7
  41. langchain_core/utils/uuid.py +54 -0
  42. langchain_core/vectorstores/base.py +26 -18
  43. langchain_core/version.py +1 -1
  44. {langchain_core-1.0.5.dist-info → langchain_core-1.2.1.dist-info}/METADATA +2 -1
  45. {langchain_core-1.0.5.dist-info → langchain_core-1.2.1.dist-info}/RECORD +46 -44
  46. {langchain_core-1.0.5.dist-info → langchain_core-1.2.1.dist-info}/WHEEL +1 -1
@@ -0,0 +1,54 @@
1
+ """UUID utility functions.
2
+
3
+ This module exports a uuid7 function to generate monotonic, time-ordered UUIDs
4
+ for tracing and similar operations.
5
+ """
6
+
7
+ from __future__ import annotations
8
+
9
+ import typing
10
+ from uuid import UUID
11
+
12
+ from uuid_utils.compat import uuid7 as _uuid_utils_uuid7
13
+
14
+ if typing.TYPE_CHECKING:
15
+ from uuid import UUID
16
+
17
+ _NANOS_PER_SECOND: typing.Final = 1_000_000_000
18
+
19
+
20
+ def _to_timestamp_and_nanos(nanoseconds: int) -> tuple[int, int]:
21
+ """Split a nanosecond timestamp into seconds and remaining nanoseconds."""
22
+ seconds, nanos = divmod(nanoseconds, _NANOS_PER_SECOND)
23
+ return seconds, nanos
24
+
25
+
26
+ def uuid7(nanoseconds: int | None = None) -> UUID:
27
+ """Generate a UUID from a Unix timestamp in nanoseconds and random bits.
28
+
29
+ UUIDv7 objects feature monotonicity within a millisecond.
30
+
31
+ Args:
32
+ nanoseconds: Optional ns timestamp. If not provided, uses current time.
33
+ """
34
+ # --- 48 --- -- 4 -- --- 12 --- -- 2 -- --- 30 --- - 32 -
35
+ # unix_ts_ms | version | counter_hi | variant | counter_lo | random
36
+ #
37
+ # 'counter = counter_hi | counter_lo' is a 42-bit counter constructed
38
+ # with Method 1 of RFC 9562, §6.2, and its MSB is set to 0.
39
+ #
40
+ # 'random' is a 32-bit random value regenerated for every new UUID.
41
+ #
42
+ # If multiple UUIDs are generated within the same millisecond, the LSB
43
+ # of 'counter' is incremented by 1. When overflowing, the timestamp is
44
+ # advanced and the counter is reset to a random 42-bit integer with MSB
45
+ # set to 0.
46
+
47
+ # For now, just delegate to the uuid_utils implementation
48
+ if nanoseconds is None:
49
+ return _uuid_utils_uuid7()
50
+ seconds, nanos = _to_timestamp_and_nanos(nanoseconds)
51
+ return _uuid_utils_uuid7(timestamp=seconds, nanos=nanos)
52
+
53
+
54
+ __all__ = ["uuid7"]
@@ -294,8 +294,9 @@ class VectorStore(ABC):
294
294
 
295
295
  Args:
296
296
  query: Input text.
297
- search_type: Type of search to perform. Can be `'similarity'`, `'mmr'`, or
298
- `'similarity_score_threshold'`.
297
+ search_type: Type of search to perform.
298
+
299
+ Can be `'similarity'`, `'mmr'`, or `'similarity_score_threshold'`.
299
300
  **kwargs: Arguments to pass to the search method.
300
301
 
301
302
  Returns:
@@ -328,8 +329,9 @@ class VectorStore(ABC):
328
329
 
329
330
  Args:
330
331
  query: Input text.
331
- search_type: Type of search to perform. Can be `'similarity'`, `'mmr'`, or
332
- `'similarity_score_threshold'`.
332
+ search_type: Type of search to perform.
333
+
334
+ Can be `'similarity'`, `'mmr'`, or `'similarity_score_threshold'`.
333
335
  **kwargs: Arguments to pass to the search method.
334
336
 
335
337
  Returns:
@@ -460,9 +462,10 @@ class VectorStore(ABC):
460
462
  Args:
461
463
  query: Input text.
462
464
  k: Number of `Document` objects to return.
463
- **kwargs: kwargs to be passed to similarity search. Should include
464
- `score_threshold`, An optional floating point value between `0` to `1`
465
- to filter the resulting set of retrieved docs
465
+ **kwargs: Kwargs to be passed to similarity search.
466
+
467
+ Should include `score_threshold`, an optional floating point value
468
+ between `0` to `1` to filter the resulting set of retrieved docs.
466
469
 
467
470
  Returns:
468
471
  List of tuples of `(doc, similarity_score)`
@@ -487,9 +490,10 @@ class VectorStore(ABC):
487
490
  Args:
488
491
  query: Input text.
489
492
  k: Number of `Document` objects to return.
490
- **kwargs: kwargs to be passed to similarity search. Should include
491
- `score_threshold`, An optional floating point value between `0` to `1`
492
- to filter the resulting set of retrieved docs
493
+ **kwargs: Kwargs to be passed to similarity search.
494
+
495
+ Should include `score_threshold`, an optional floating point value
496
+ between `0` to `1` to filter the resulting set of retrieved docs.
493
497
 
494
498
  Returns:
495
499
  List of tuples of `(doc, similarity_score)`
@@ -511,9 +515,10 @@ class VectorStore(ABC):
511
515
  Args:
512
516
  query: Input text.
513
517
  k: Number of `Document` objects to return.
514
- **kwargs: kwargs to be passed to similarity search. Should include
515
- `score_threshold`, An optional floating point value between `0` to `1`
516
- to filter the resulting set of retrieved docs
518
+ **kwargs: Kwargs to be passed to similarity search.
519
+
520
+ Should include `score_threshold`, an optional floating point value
521
+ between `0` to `1` to filter the resulting set of retrieved docs.
517
522
 
518
523
  Returns:
519
524
  List of tuples of `(doc, similarity_score)`.
@@ -560,9 +565,10 @@ class VectorStore(ABC):
560
565
  Args:
561
566
  query: Input text.
562
567
  k: Number of `Document` objects to return.
563
- **kwargs: kwargs to be passed to similarity search. Should include
564
- `score_threshold`, An optional floating point value between `0` to `1`
565
- to filter the resulting set of retrieved docs
568
+ **kwargs: Kwargs to be passed to similarity search.
569
+
570
+ Should include `score_threshold`, an optional floating point value
571
+ between `0` to `1` to filter the resulting set of retrieved docs.
566
572
 
567
573
  Returns:
568
574
  List of tuples of `(doc, similarity_score)`
@@ -900,13 +906,15 @@ class VectorStore(ABC):
900
906
 
901
907
  Args:
902
908
  **kwargs: Keyword arguments to pass to the search function.
909
+
903
910
  Can include:
904
911
 
905
912
  * `search_type`: Defines the type of search that the Retriever should
906
913
  perform. Can be `'similarity'` (default), `'mmr'`, or
907
914
  `'similarity_score_threshold'`.
908
- * `search_kwargs`: Keyword arguments to pass to the search function. Can
909
- include things like:
915
+ * `search_kwargs`: Keyword arguments to pass to the search function.
916
+
917
+ Can include things like:
910
918
 
911
919
  * `k`: Amount of documents to return (Default: `4`)
912
920
  * `score_threshold`: Minimum relevance threshold
langchain_core/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """langchain-core version information and utilities."""
2
2
 
3
- VERSION = "1.0.5"
3
+ VERSION = "1.2.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langchain-core
3
- Version: 1.0.5
3
+ Version: 1.2.1
4
4
  Summary: Building applications with LLMs through composability
5
5
  Project-URL: Homepage, https://docs.langchain.com/
6
6
  Project-URL: Documentation, https://reference.langchain.com/python/langchain_core/
@@ -18,6 +18,7 @@ Requires-Dist: pydantic<3.0.0,>=2.7.4
18
18
  Requires-Dist: pyyaml<7.0.0,>=5.3.0
19
19
  Requires-Dist: tenacity!=8.4.0,<10.0.0,>=8.1.0
20
20
  Requires-Dist: typing-extensions<5.0.0,>=4.7.0
21
+ Requires-Dist: uuid-utils<1.0,>=0.12.0
21
22
  Description-Content-Type: text/markdown
22
23
 
23
24
  # 🦜🍎️ LangChain Core
@@ -15,7 +15,7 @@ langchain_core/retrievers.py,sha256=SXnCc_85rNcLeMa-SjvkijXpFw-I7SVTWYgV1gJQimg,
15
15
  langchain_core/stores.py,sha256=g8aa_VvXf93-Q25QMXX_sBoKC99nu3FtyC4INOUJ3WY,9181
16
16
  langchain_core/structured_query.py,sha256=mat7BKovKjckzMn3-I1El49yeGjg3cqk4ptpJHAPA-4,5123
17
17
  langchain_core/sys_info.py,sha256=SEFI7XL2qpx1lis6cB45o6ZKtRCZWVXwEngU3UGMgrE,3806
18
- langchain_core/version.py,sha256=jWWKpYGZRCxjUlsDuTeoAT_Xmifcmm8HFZDQo6Pc1a4,75
18
+ langchain_core/version.py,sha256=YVDbtmmmtqc1gLKIJJiA56X1AzrA6gRXq59kEr5fIvU,75
19
19
  langchain_core/_api/__init__.py,sha256=PYm_j7qRRKh5ca0TTra5UF-nko3ieZZZ5EeAFAinm3o,1973
20
20
  langchain_core/_api/beta_decorator.py,sha256=IJgG2_kRb2eBmvHfarDjanJY4k1jwoPJWSOHZ5SLB4U,8664
21
21
  langchain_core/_api/deprecation.py,sha256=nReAhxZ1dBwLhHdGAaqqRpf7aLQJ1dw4UtqmrRqeNLE,20296
@@ -24,10 +24,10 @@ langchain_core/_api/path.py,sha256=y3dAvsG4JS0BuWErpJ5KhxCykJX2i03kYdeDU-Iup3Y,1
24
24
  langchain_core/callbacks/__init__.py,sha256=8FK0gmkWnbDYWrShBQowg0OK06Hprdim3sxiOla80xk,4225
25
25
  langchain_core/callbacks/base.py,sha256=a7xwSEi6tPM6ZMmZ438dBI4uyjgcB-KyyWEpIeMb4eU,34020
26
26
  langchain_core/callbacks/file.py,sha256=eD1TBPnEzms0amUV_GnNbfLOPF7Et7Z-sCv6fl-7h38,8332
27
- langchain_core/callbacks/manager.py,sha256=rCKzu8gjE-8wAIHme-vapr05eXaqNvAQV9Kconl-hrM,85316
27
+ langchain_core/callbacks/manager.py,sha256=PG88aQkTcXh5LugBFTd1aIB7BW_CZyL4Qq97WjayFxg,85283
28
28
  langchain_core/callbacks/stdout.py,sha256=dy7jTcYFVKpaYesJoakEcAraBLwhjFR5Efjw91EZY8c,3695
29
29
  langchain_core/callbacks/streaming_stdout.py,sha256=ylgpp4Bhs5Gv1aNeZWuuC2FU7C3IO7Q9CpEDxCgdFXY,4310
30
- langchain_core/callbacks/usage.py,sha256=NGtm_P287FAEGXd6Ci4ZGouywYtNwsoHKno6O9H_zg8,5073
30
+ langchain_core/callbacks/usage.py,sha256=xgDEXLNHspy23SmANusHurt-zP6wgc1aCj0JrVGBKGM,5120
31
31
  langchain_core/document_loaders/__init__.py,sha256=DkZPp9cEVmsnz9SM1xtuefH_fGQFvA2WtpRG6iePPBs,975
32
32
  langchain_core/document_loaders/base.py,sha256=jxmjKXl4mu5EaHwzSrQgNMz7HH2PNvj5RKSrdTXvXDs,4764
33
33
  langchain_core/document_loaders/blob_loaders.py,sha256=9u5VaQ7hNrdzO2fKCJsUZecQQg6FU50D43TSvFr7sD4,1079
@@ -44,37 +44,38 @@ langchain_core/example_selectors/base.py,sha256=4wRCERHak6Ci5JEKHeidQ_pbBgzQyc-v
44
44
  langchain_core/example_selectors/length_based.py,sha256=IcM89ho2xmFLan2-wL29YyUfRwSCg4z8hWLqerx-YSc,3366
45
45
  langchain_core/example_selectors/semantic_similarity.py,sha256=Rh_-8vZi58gwn7Qa3Tk30zsvx7RiPIjFWw2_sfwKHfQ,13577
46
46
  langchain_core/indexing/__init__.py,sha256=KD9ArRpfVccb1fyk2t1QWqrBv1dfyk_Zg9fuSt-BzLQ,1276
47
- langchain_core/indexing/api.py,sha256=TvXGLTCj0Kp-FLZzowXjW5T4SFI8pPUndgDF2IKd3rE,38451
47
+ langchain_core/indexing/api.py,sha256=XbPRhwl6pA7TFr0SQ-K0R8cy5BnWEndjvwtoLTOGq3U,38453
48
48
  langchain_core/indexing/base.py,sha256=rHZNecyskIjRR8L4B5Q-XQgeoVZFI1HUjfox_ExIebM,22449
49
49
  langchain_core/indexing/in_memory.py,sha256=eML8Wtg9m4nOI7RFdoyXWxgxSfrOCEUJn-ipoRbkJOc,3283
50
- langchain_core/language_models/__init__.py,sha256=vhD0sTo9w2VKoR63NojWywv8jfoJEcP6inIkNtY6qa0,3296
51
- langchain_core/language_models/_utils.py,sha256=6Xpqb0fO4KKnA6mX5XfHbmm2xs2TizcqVGfxaj42sOA,11045
50
+ langchain_core/language_models/__init__.py,sha256=_0hyoXyAH3svxVhayiXeZ1m0zLntUNIjG32O9D15h_0,3646
51
+ langchain_core/language_models/_utils.py,sha256=xBhCggkM-VQBTBKLS2SJQNRc59h-zWLzKDLkCYrgwq0,11046
52
52
  langchain_core/language_models/base.py,sha256=8sHklgGdzKoc-VIVVZ46wMGO5mCbcYtRBARfu7Jh0E4,11598
53
- langchain_core/language_models/chat_models.py,sha256=16dfuWqUN-gMO9Fw9jCQxVSf7Tz8SaOsLm-CyDH0Iow,72508
53
+ langchain_core/language_models/chat_models.py,sha256=NUc00503Hn5CQ_O84y1U_IZsPnfA2WsRbaIz8AHQVVM,71902
54
54
  langchain_core/language_models/fake.py,sha256=hb2yU3snYPTueZiJ-0KI0MKHYBNm6zdUw7xe8WqguEY,3732
55
55
  langchain_core/language_models/fake_chat_models.py,sha256=kzvrYAI6gVaY76PPTApMWTn8ZCgJymOPsUaPZLlali4,13509
56
- langchain_core/language_models/llms.py,sha256=7nCj0J38aFF--ATYab7e4GZNnlRjxBrLmFu6Rwa9dh4,54118
56
+ langchain_core/language_models/llms.py,sha256=wNwpMKRsZUlCG8P4KxIZzD0wJLdnI9byNFAtwoRyqTI,54150
57
+ langchain_core/language_models/model_profile.py,sha256=Wl1RzUmf1m81IsDz8I_-WvQNmh5sbPFP0rrWzTbgd6s,2892
57
58
  langchain_core/load/__init__.py,sha256=m3_6Fk2gpYZO0xqyTnZzdQigvsYHjMariLq_L2KwJFk,1150
58
59
  langchain_core/load/dump.py,sha256=DEO-m_bBPyzFCIvxJND-p4iGuNISeWbl8jzcDICt3Bw,2616
59
- langchain_core/load/load.py,sha256=H11FDWivRXutaRpZpamkZAYGzPkXwOjP__TkCkNx4Vg,9295
60
+ langchain_core/load/load.py,sha256=R9zb9Vbd1GNoobsO0EtaMwbejUCL2KL4GCfugeJ-1kI,9647
60
61
  langchain_core/load/mapping.py,sha256=SqBaAWAM2aV_Wgy80DAlS-39tJkHLcCyM45bVVnN12w,29513
61
62
  langchain_core/load/serializable.py,sha256=pm0kA1HZ_wOp0TkJvTbj5bxu0hFWZ0OzQV1BKbVK4jM,11683
62
63
  langchain_core/messages/__init__.py,sha256=hrsxGO0wLEIr81gpu2cL89kV6PeiW1yY-G0rhqYYXms,5723
63
- langchain_core/messages/ai.py,sha256=vS4GXL0K_dganLZxo_RBVWaVbVKwU4lfey-6jSCqkYo,27458
64
- langchain_core/messages/base.py,sha256=HasOOo3qcJQSH_Q6kl7S5AVF4ElZW55My3WJxPS9vTs,16456
64
+ langchain_core/messages/ai.py,sha256=yxfKvLGskeeO1houZfxSCzoDOTfxckbBnUdcZSiacN8,27557
65
+ langchain_core/messages/base.py,sha256=HFuPSibxaXqdrjBltxlfXBNeXFzZD1YBzseoZFxJdAk,16509
65
66
  langchain_core/messages/chat.py,sha256=t9az-R1De2HdiEhhpGyIFonCqY03UAkqMdvttx11rhM,2204
66
- langchain_core/messages/content.py,sha256=M4icC9tEEVBORdcm_W0MqL6QFTFxnx1tpzh7JGvGNAo,41962
67
+ langchain_core/messages/content.py,sha256=yEuLX8EHk_bSKULfXusKjiEwloLFx8ixhN48YUI9HSg,41966
67
68
  langchain_core/messages/function.py,sha256=RlkcFREWGgAlnD0psOOWc2kQa7wVZ-kJBl-mi-UIcdw,2094
68
69
  langchain_core/messages/human.py,sha256=Sgx58Kwlb1y_YaeOXavz1D0V2ald_TAdqlC5zQI_Rz4,2130
69
70
  langchain_core/messages/modifier.py,sha256=8d3mhHnKMDU9Xkw_M3-uf5WBtqA4dZj81tD7A6Zgo_o,875
70
71
  langchain_core/messages/system.py,sha256=x8OBdba68Nt3SiO7aNTaDREq3iDjDV4XyRoqb-ZOmgo,2140
71
- langchain_core/messages/tool.py,sha256=MMklOAPd2e0OAGxM3Iode_Bm3bC74_icN3HnL2FPCig,12584
72
- langchain_core/messages/utils.py,sha256=CXARduPzvNERth0wcqOUJt06RwFCNEGQPdVdfsfaG9A,68766
72
+ langchain_core/messages/tool.py,sha256=3hTelKgMzRRJx0na_kNo6N8n7d__5COsvmxxsabutyY,12665
73
+ langchain_core/messages/utils.py,sha256=lhVMAKylbR922G-yk3YCSWVuzZR8oe19NtgWHg6P5L8,69447
73
74
  langchain_core/messages/block_translators/__init__.py,sha256=ow_94AoqdcAZieFlpjO75l-ZcnBwXznTMhrqruXv8gw,4249
74
- langchain_core/messages/block_translators/anthropic.py,sha256=eN304DgrEFTRl12f4PmU4P8ASTUngMkE7HC9-gpYUGk,19131
75
+ langchain_core/messages/block_translators/anthropic.py,sha256=hpjaX3AK6C3YPe02VU4E_r3Y0XdZhkSXZWT-1vSkDOA,19874
75
76
  langchain_core/messages/block_translators/bedrock.py,sha256=yLjYwtCsYGHBEj9CSXHCZYLmwsA4F6D6NTT5kE11Bww,3511
76
- langchain_core/messages/block_translators/bedrock_converse.py,sha256=YN7xfKPbxjVJujOzEuXbDx3QiDql1ldbLCYQ6bgH6FI,11994
77
- langchain_core/messages/block_translators/google_genai.py,sha256=STcn7J0kZf25M8rYwL02pxth-nbAAeQ_MXqjBdAStL4,22271
77
+ langchain_core/messages/block_translators/bedrock_converse.py,sha256=k1Z8MS3tSN8owgeiG6MjgXQ6NYG7M_3znxw5KqxGsxk,12353
78
+ langchain_core/messages/block_translators/google_genai.py,sha256=wVi4VmMmmRP_VJxALywfBdmO3MGvaPtydUHgcAF6qE4,22952
78
79
  langchain_core/messages/block_translators/google_vertexai.py,sha256=2RzpKFKi1991aWGK8osdkKq8bKadmy8q86kR3r0f6K4,632
79
80
  langchain_core/messages/block_translators/groq.py,sha256=s7xCVITYV2W3CqZpc3OO7hXQRICLqNi8hyPofT2OvqM,5444
80
81
  langchain_core/messages/block_translators/langchain_v0.py,sha256=WAoQGt1qZ5rVZD5n1A1z0dR-DpN6vgrn-gSII1CxhCA,11658
@@ -85,9 +86,9 @@ langchain_core/output_parsers/format_instructions.py,sha256=HK-KjPfQfBNj0V_ato0_
85
86
  langchain_core/output_parsers/json.py,sha256=cN9skZzIJZOyhUnmFwo_0YPemRwICdQa2a_28pphLlU,4648
86
87
  langchain_core/output_parsers/list.py,sha256=uF6V2MAfu7zdKCIFeve4QbE5mFZkYBPwPqF9qjFqCck,7253
87
88
  langchain_core/output_parsers/openai_functions.py,sha256=4tyd1riGCOjEOftIsMT1jbrXNv1HWrcGhHEg-K1M4Tw,10597
88
- langchain_core/output_parsers/openai_tools.py,sha256=Pc80ZIdal27NG-zCFcQ8eKAV9HfoLdOV4hGs8JUthWU,12817
89
- langchain_core/output_parsers/pydantic.py,sha256=5dDtxNPGqFXIkvSoAGU9sPDc1yJrYmpMaO9m7CPokrE,4444
90
- langchain_core/output_parsers/string.py,sha256=8XgjoeKSc39TN8HMXjMgxcE0vvP6b4kk9GZ6HmnAKDQ,969
89
+ langchain_core/output_parsers/openai_tools.py,sha256=Qs3RhCUr1L7Rf4PAqDURKadLHD5UEp91f4oKe5PmSJA,12847
90
+ langchain_core/output_parsers/pydantic.py,sha256=rgwUrmTp2AgdNAij4vHxIjCKcnRAudHnZtSTYhFoDNw,4464
91
+ langchain_core/output_parsers/string.py,sha256=fL5zrW2_zTAnczIjVol5UYcuTFcjlP1JTYMF_fRYJgs,1890
91
92
  langchain_core/output_parsers/transform.py,sha256=FyYvkS1KnAHX9afF1qqdJbUBa_xUyDTvspPQBq8G5uM,5835
92
93
  langchain_core/output_parsers/xml.py,sha256=3OATmB5Ej_6FNCJwkKLX-tyBH1pA2PvdS3JyVKWn-Lc,10974
93
94
  langchain_core/outputs/__init__.py,sha256=CLL4IYb-N18gSXLscJVNWDL2LapGieXJF5EhG8uQSvE,2115
@@ -98,7 +99,7 @@ langchain_core/outputs/llm_result.py,sha256=srdoHk-Vk2Xh40XMYAgfsFwGFmvyk2NOkUkv
98
99
  langchain_core/outputs/run_info.py,sha256=xCMWdsHfgnnodaf4OCMvZaWUfS836X7mV15JPkqvZjo,594
99
100
  langchain_core/prompts/__init__.py,sha256=gXRJkxl6z7AYTGyyQAF0DQYpbwCUvfCFwXFfhSekzDw,3033
100
101
  langchain_core/prompts/base.py,sha256=sqJlloHcbumcoGJZx225Yyj_1irTPX8xsMlElxVr3nw,15804
101
- langchain_core/prompts/chat.py,sha256=hE9ZsoyfhN4CcapDsWLsj5e_3QmqWY_Th0bV2LVnMMI,50242
102
+ langchain_core/prompts/chat.py,sha256=0PA6o5IzHFT1wGRKI4mvmGE4jtAaF7XXUaW24-3SY5M,50454
102
103
  langchain_core/prompts/dict.py,sha256=kSMonougSG-o7BZP1PG9L_Vxkf-Xwzjhn1dHJ9j4Cs8,4700
103
104
  langchain_core/prompts/few_shot.py,sha256=FaVMuen4eG0B-lnSr2-jGC_JMOhYoK1tfG-pJgYfcmg,15794
104
105
  langchain_core/prompts/few_shot_with_templates.py,sha256=aKDMxKFmmK8mzAP6I35vpxQUApLs-9AGKCgNcYK9GlA,7804
@@ -106,38 +107,38 @@ langchain_core/prompts/image.py,sha256=L_5yGsI68Y0pwthA3AS0mQXFMXtvW_kBRItFS6Vpk
106
107
  langchain_core/prompts/loading.py,sha256=hvNsDvqLz5wJA1EywW2wCwKUhJgUzNcIKfp5VEVOEGc,6889
107
108
  langchain_core/prompts/message.py,sha256=3BdmchS6Y0DCo5edE-R3qcbSqfpbv_AGwE5UcYZ6gU8,2636
108
109
  langchain_core/prompts/prompt.py,sha256=TcQZNc-Y6c7CMJwY1HwMvRYU4NcbMdCw6YS37Tc3pWk,10948
109
- langchain_core/prompts/string.py,sha256=hTkXW-SoN4vo_PbOlK_RxXzXhoRQQRucCBJ7F0bFuTE,11012
110
- langchain_core/prompts/structured.py,sha256=Uzh1PBLXzGyZ-4m4W-cMHz8nqL1XmMri8OOkoSSJiq8,5790
110
+ langchain_core/prompts/string.py,sha256=dE5d9vn0UNOijzVXVm27qkF9i6e5p8RahPHzPFHBAas,11958
111
+ langchain_core/prompts/structured.py,sha256=yC5C27zXdOJIDvZ2Xgt7mjciPFy-HG11-Nw3DtDzEKI,6005
111
112
  langchain_core/runnables/__init__.py,sha256=efTnFjwN_QSAv5ThLmKuWeu8P1BLARH-cWKZBuimfDM,3858
112
- langchain_core/runnables/base.py,sha256=vUR1HWB28OkWBWNm03qLCYaewCAWrNguqH9ob-7vJsY,216503
113
- langchain_core/runnables/branch.py,sha256=Wviy59agVKhbwD_GlMZz-HP5pXZgw5oI5MJb1nyQiuc,15776
114
- langchain_core/runnables/config.py,sha256=w2f2BeYbiXIuXxYJCrmSDIh7LgwSyF-7p92W-sxrbKU,19103
113
+ langchain_core/runnables/base.py,sha256=bCc86TSYAxIItnGEU-VN0Jpf64Wb5bWb9wH62A4FhNU,217249
114
+ langchain_core/runnables/branch.py,sha256=JwlIUcCEW9UcdN0V6X5zKOvHXzPQk1gESSkOuZYxXaE,15777
115
+ langchain_core/runnables/config.py,sha256=unfnUWQhZdt8pgFFcJ5I4gNeixmQLcLhqajPLqjepsA,19242
115
116
  langchain_core/runnables/configurable.py,sha256=1FalcSplZ2EITuV-g-TxMoDiS3eZT32OF33ZLjxftd0,24053
116
- langchain_core/runnables/fallbacks.py,sha256=60WZ8RoIlE69HsYqAyLncbdh0OhcBxbwvV3NYZogdyk,24468
117
- langchain_core/runnables/graph.py,sha256=0Zhv5saaIQL1NvfESvkhRIYJGCfJBdrWQZg65jZrK9w,22923
117
+ langchain_core/runnables/fallbacks.py,sha256=6qyQbOQRkXm9JjY1m_6oy6yU0iPupxOmkOvdpkbFs6c,24417
118
+ langchain_core/runnables/graph.py,sha256=7u6LPc6Ih3f6REbyGrRE1R3lacHBTdrt1RPXBAXIdog,23094
118
119
  langchain_core/runnables/graph_ascii.py,sha256=F6EzMEL7yWpZxox1fIMvt3v5-uCp6ISbAAkniin9jIc,10333
119
- langchain_core/runnables/graph_mermaid.py,sha256=k615r8Q641pb_rpjTlmVc5fTlMco-1IIxQI8t3kBceE,16725
120
+ langchain_core/runnables/graph_mermaid.py,sha256=hUy4QLzrd3xPks5x9wAahd9TSbk-pHbrkV2zo8b0IfU,16950
120
121
  langchain_core/runnables/graph_png.py,sha256=pdt7_sRPJw38vkKixdb1yYB78kaxIA5ijnAdjJFt3l4,6473
121
122
  langchain_core/runnables/history.py,sha256=5vvSniD6rjPai3bnxp2WxyTMW2jSHxqN0cZflnjoJs4,24264
122
- langchain_core/runnables/passthrough.py,sha256=OwSGfJAz1uh54ORppmrQozMe5xDOpM2iB2HhjGkdnjo,26230
123
+ langchain_core/runnables/passthrough.py,sha256=Ap9hqQgqghg8nLWs29asKLUigf8KuuJg6LCfyEwNu6U,26191
123
124
  langchain_core/runnables/retry.py,sha256=eG2LUH0cgIzH7Xe7aVbdYww-04f_o74GRd1VxTocjjU,13682
124
125
  langchain_core/runnables/router.py,sha256=oY_PZb3Mh5Z7j4eBVMO_sXP_f6EapxV0NHknhdQw2rA,7134
125
126
  langchain_core/runnables/schema.py,sha256=elc_pen9QvLkM2MoH7QqjRMqDS0yylwjvbl_gdeOD5Y,5719
126
127
  langchain_core/runnables/utils.py,sha256=NLdqnRI8abuOrLZrSJZcJ1r0MQuVzn983q5EUQAlTmk,22188
127
128
  langchain_core/tools/__init__.py,sha256=qe2E9VwZ7hpdkToz96oSJ080a0de9oQwSO9FP1XnmM0,2518
128
- langchain_core/tools/base.py,sha256=ejOqr0b-gJC1keQ666HgJv0kl_Q-F2WLhFs5UXlk5ts,51395
129
- langchain_core/tools/convert.py,sha256=xuvdirFB3a3A_qPN14-msXAvVt0dSUPMzD9iQUZzX8E,16258
129
+ langchain_core/tools/base.py,sha256=L4SWPTTtu2rBdMu6ZCXFmvZycOkZi45vXWA9qE2PMO0,53249
130
+ langchain_core/tools/convert.py,sha256=qE5OBjbnFPmw-kLXO5ZO1zwgZyNliwZqAV-fP1PI1kg,16931
130
131
  langchain_core/tools/render.py,sha256=gD3pXYWjCaDKsYq_MZ-yCRXl1wUJbOh6dJobda9VjYM,1817
131
- langchain_core/tools/retriever.py,sha256=hPdBhK8QBK2bRpyNMtq7VtA1qnTRQurRMRjPbVDNG-k,3791
132
+ langchain_core/tools/retriever.py,sha256=efJk4c6KefIM9hUcOECWzT81XEB8I3I877PVILPhl3g,3028
132
133
  langchain_core/tools/simple.py,sha256=U9R5jIUcZMXKMV5Ezu8G2MX_0ot2nrtvhjgaGHkA53o,6623
133
- langchain_core/tools/structured.py,sha256=KV9u6S33rI0VBPwpA6ZmPtt08j8LZjMDnEgX5EhiDaw,9205
134
+ langchain_core/tools/structured.py,sha256=jKvolVZCWcdjKCiCY92zyrRqST520T0VmmEnS-HqoEo,9602
134
135
  langchain_core/tracers/__init__.py,sha256=Yf0CQ-IcBa8f9lu0wMA_looT6Q8we3C0yd-xMP3c0Sc,1362
135
136
  langchain_core/tracers/_streaming.py,sha256=U9pWQDJNUDH4oOYF3zvUMUtgkCecJzXQvfo-wYARmhQ,982
136
137
  langchain_core/tracers/base.py,sha256=cywwNDlynmidmhOCQ8A1J0qhnvN_orWNB8z2UjvCEGs,25454
137
138
  langchain_core/tracers/context.py,sha256=-7pbOA3QR0OIeehpD9eMpqugGgwLc_XxMjVQRg8GAJI,6194
138
139
  langchain_core/tracers/core.py,sha256=RybGBQP_dfoKcsxcFuJNZa8Luuilgy1WADBdE7eq9uA,23330
139
140
  langchain_core/tracers/evaluation.py,sha256=XmoPqBNFg6H-9K46fWanABAEVUgbob9S7qU-DPcL4RM,8367
140
- langchain_core/tracers/event_stream.py,sha256=bzsu65tlXntEw2tfzSFDpbYVd638RkSBX59V4VoaZLQ,34966
141
+ langchain_core/tracers/event_stream.py,sha256=A-toDACHBaQ5xyNxwbPnfMLsjW-meo5zwcLJBktBNOY,35062
141
142
  langchain_core/tracers/langchain.py,sha256=juy0i7aryBuqWuML9EiNrAI6SAv2qllt5hAE6mC_0HQ,10477
142
143
  langchain_core/tracers/log_stream.py,sha256=9Z43KQD7ZWwEZIUwaFmcFlcoscH1HlKRk6HQPm_xzs8,25425
143
144
  langchain_core/tracers/memory_stream.py,sha256=4bPh6Fhoq84Ul03wIasEju34GHKXj_c9xTIm6nAFG-8,4995
@@ -147,26 +148,27 @@ langchain_core/tracers/schemas.py,sha256=-B159J_A1pLdmN6GLR3yM2S_KozJWawKaFc7vI2
147
148
  langchain_core/tracers/stdout.py,sha256=E8TXpAiKJeLf8hnnBLUie0dINY8V2d7iPyGu5O0OwYg,6715
148
149
  langchain_core/utils/__init__.py,sha256=yn6ZGHMxi7MjqojSBkT2sCxYRpo76zAIBcKnTRaJ2Pc,3041
149
150
  langchain_core/utils/_merge.py,sha256=9wTZdkuG45azGBze7OZFFIoCiidHi3roe6TQiQ5bcV0,7536
150
- langchain_core/utils/aiter.py,sha256=gfFyGWro42FB4R66_tWSyW8XrLLzV7EI9EmLvI8dFGI,10574
151
+ langchain_core/utils/aiter.py,sha256=w0RwfJJPedlyJ00vrToO4Ey2oL2tMt88_Lq__q33fUo,10621
151
152
  langchain_core/utils/env.py,sha256=pQTqZLCjcueoxTd8epc3cr0lRn8njJf_A-bOQfHWPXw,2458
152
153
  langchain_core/utils/formatting.py,sha256=fkieArzKXxSsLcEa3B-MX60O4ZLeeLjiPtVtxCJPcOU,1480
153
- langchain_core/utils/function_calling.py,sha256=aZ21fe1uoxjcbMm-AzUBMkKSvWdu2uUGl3byMeSUbG4,27551
154
+ langchain_core/utils/function_calling.py,sha256=l4ya0wj-ntVQcQ7cZOsO_tzBJ3kuDME7-EnXgNtU51c,27597
154
155
  langchain_core/utils/html.py,sha256=ReIdqTTC8r-AfsqynFjCIaFC9t9sI_vYnmz3DanpVqQ,3714
155
156
  langchain_core/utils/image.py,sha256=1MH8Lbg0f2HfhTC4zobKMvpVoHRfpsyvWHq9ae4xENo,532
156
157
  langchain_core/utils/input.py,sha256=PYuiFKHhygAkM5yp5vxHqJe5Qnz1oay7k5cwx7hGocs,1999
157
158
  langchain_core/utils/interactive_env.py,sha256=LBgNICNAwgwDMOdlVD12TtZfSboPOKXaBS2Jn-bsXQ8,289
158
159
  langchain_core/utils/iter.py,sha256=jqtyfA2129a5ftfuRovpUBEslCGaeuiiGr8bkT-iozI,7300
159
160
  langchain_core/utils/json.py,sha256=twJgPBf86nwZzZDt3LoLbO5YOutWMt49GxpmG_pAoDQ,6571
160
- langchain_core/utils/json_schema.py,sha256=d0yHW6D_IoM7sLGOLxSGcSpAnaYROaqbwmjk7XhvZZ4,9071
161
- langchain_core/utils/mustache.py,sha256=2LgatBIOa1bGU4EaL5xrS076NWqfQkB4Mtencmc3mtQ,21262
162
- langchain_core/utils/pydantic.py,sha256=-xFQM2DAFy9cPkUHCYP87buXdnIYofeYaqZEs-FbQg8,18474
161
+ langchain_core/utils/json_schema.py,sha256=JBAJDxqQXYGLgXRq_1-3kWi75SZp1Ijr4irB08NHWZM,9123
162
+ langchain_core/utils/mustache.py,sha256=aSA8olMczoiVgqx7RUZBRdekJxkGdrQyPnstJMdIDQM,22139
163
+ langchain_core/utils/pydantic.py,sha256=lYfTr5QzOUf3mHlI9cn2OkSJPv28jM-iGvMLOT5ig4o,18488
163
164
  langchain_core/utils/strings.py,sha256=DGhj7CxgxcYIdvMu3Ug93BtayNFaRvyIecgIaxZOa1g,1721
164
165
  langchain_core/utils/usage.py,sha256=vB674Eu69xDGx6JBJlySp6cnePkxCD0Wz26mi502NAM,1211
165
166
  langchain_core/utils/utils.py,sha256=EqczXbgT_IqCkZOU1MJ33mrp2ZHUAeUkVXol4y-euc0,16192
167
+ langchain_core/utils/uuid.py,sha256=8tY4ZjvtIfBM0CvBW--P2sGITdj6DBMBr0ZzO0L41RU,1786
166
168
  langchain_core/vectorstores/__init__.py,sha256=5P0eoeoH5LHab64JjmEeWa6SxX4eMy-etAP1MEHsETY,804
167
- langchain_core/vectorstores/base.py,sha256=ZEY2EBnm5hZciYUTic_f-QoMGLU120jbolIbzZqQmjs,40757
169
+ langchain_core/vectorstores/base.py,sha256=y1hy5PgwCQH9bs4vipbzQgg7kfJ92x8lpfj7RhJ08to,40769
168
170
  langchain_core/vectorstores/in_memory.py,sha256=R71jJ5_RCyViyvndLJ6SSwRiiECl6KpVbcVVGPFyUVM,15692
169
171
  langchain_core/vectorstores/utils.py,sha256=XXpQ2mxado6vrLmZWVTstcxrurBtoHcBZEORITAHWw0,4931
170
- langchain_core-1.0.5.dist-info/METADATA,sha256=RPittwRuncOHvKwbUfW1xlDr1CN2ZmsVQ8AbMIg_5XU,3629
171
- langchain_core-1.0.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
172
- langchain_core-1.0.5.dist-info/RECORD,,
172
+ langchain_core-1.2.1.dist-info/METADATA,sha256=M46Eymh5WUfTsQhT5ezjaReMOuBDv9GBLZVGHoQUx34,3668
173
+ langchain_core-1.2.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
174
+ langchain_core-1.2.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.27.0
2
+ Generator: hatchling 1.28.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any