William Fu-Hinthorn
4455e4185c
Improve docs
2024-11-27 14:16:00 -08:00
William Fu-Hinthorn
112a4f6c12
Test put-time fields
2024-11-27 13:19:04 -08:00
William Fu-Hinthorn
34a4ca3eaf
Rename file
2024-11-27 11:52:11 -08:00
William Fu-Hinthorn
d75492c330
Rename config
2024-11-27 11:20:03 -08:00
William Fu-Hinthorn
0ed26a3af9
handle no emb situation
2024-11-27 06:40:21 -08:00
William Fu-Hinthorn
9a83dd7900
Add test
2024-11-26 19:23:48 -08:00
William Fu-Hinthorn
b03235f92d
Add in-mem vector search
2024-11-26 18:59:44 -08:00
William FH and GitHub
8f649abd0a
Release PG Checkpointer ( #2536 )
2024-11-26 01:44:45 +00:00
William FH and GitHub
1febec7c0d
Dedup store batch operations ( #2534 )
2024-11-25 16:31:26 -08:00
William FH and GitHub
679a7365da
Add default ns in put_writes ( #2404 )
2024-11-18 22:55:12 -08:00
Nuno Campos and GitHub
167405daf2
Merge pull request #2434 from langchain-ai/nc/15nov/update-state-copy-parent
...
lib: When copying checkpoint, make it a child of the parent
2024-11-18 08:34:34 -08:00
William FH and GitHub
c6360e5408
[Checkpoint] 2.0.5 ( #2450 )
2024-11-18 08:19:17 -08:00
886df0fa86
checkpoint: Add option to use persistent dict for in-memory checkpointer ( #2439 )
...
- This should only be used in very specific circunstances, sqlite or
postgres adapters much more appropriate in most circunstances
---------
Co-authored-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com >
2024-11-18 16:04:05 +00:00
Nuno Campos
36e49eb190
Add distinct source
2024-11-15 17:04:40 -08:00
Nuno Campos
7051bccc30
checkpoint 2.0.4
2024-11-13 17:37:01 -08:00
Nuno Campos and GitHub
f11127648e
Merge pull request #2346 from langchain-ai/nc/4nov/send-eager
...
lib: Execute Sends in the superstep that originated them (feature-flagged)
2024-11-13 13:39:50 -08:00
Nuno Campos
03bc9ba6e6
Make Command a dataclass
2024-11-13 13:11:28 -08:00
William FH and GitHub
7b4c29a20d
[Checkpointers] MemorySaver: refrain from overwriting writes ( #2399 )
2024-11-13 00:20:38 +00:00
Nuno Campos
86d2847dab
Use neg idx
2024-11-11 17:57:45 -08:00
Nuno Campos
89a0859928
Execute Sends in same super step that triggered them
...
- Keep old code path for compatibility with existing checkpoints
- Keep a similar order of application of updates, in some cases there will be no visible change
- Update task path for Sends to contain the path of all the parent tasks (multiple parents when a Send task creates another Send)
- That lineage path is used to ensure order of application of updates respects their logical lineage (ie updates from parents always applied before their child tasks)
- Move Interrupt writes to use negative indexes, which allow replacing/shadowing (when task is re-run it may interrupt again, or succeed)
- Runner will now attempt to schedule new Send tasks as soon as the write is received (ie while the originating node is still running)
- Update kafka scheduler to support new Send behavior
2024-11-11 14:01:16 -08:00
Nuno Campos
efb1dd6a10
lib: Rename Control to GraphCommand
2024-11-11 13:01:04 -08:00
Nuno Campos
010564cbb3
lib: Make Control object serializable
2024-11-05 15:24:20 -08:00
Vadym Barda and GitHub
a0e99f704f
checkpoint: release 2.0.2 ( #2179 )
2024-10-24 13:52:02 -04:00
Vadym Barda and GitHub
def3e06b4a
move py.typed to submodules for namespace packages ( #2177 )
2024-10-24 13:43:43 -04:00
Nuno Campos
dc47c7b357
lib: Add result for each task in a checkpoint
...
- Note this requires disabling the optimization that avoids saving writes for the last task in a step
2024-10-11 16:08:00 -07:00
William FH and GitHub
254b12a62d
Use AsyncBatch for postgres store ( #2020 )
2024-10-08 06:58:26 +00:00
Riya Sinha and GitHub
61798d09d2
checkpoint: set CheckpointNS ConfigurableFieldSpec model default to empty string ( #2019 )
2024-10-07 18:38:18 +00:00
William FH and GitHub
57727be9db
Checkpoint 2.0.1 ( #2018 )
2024-10-06 14:10:48 -07:00
William FH and GitHub
05dbc1d498
Validate in async batched store ( #2017 )
2024-10-06 14:09:35 -07:00
William FH and GitHub
018e9ac42e
Check is string in store namespace validation (on put) ( #2007 )
2024-10-04 17:55:30 +00:00
William FH and GitHub
c74aba8cc5
[Docs] Storage ref docs ( #1985 )
2024-10-02 16:53:39 -07:00
William FH and GitHub
a3cb9c1a94
Validate no empty namespace is added ( #1961 )
...
Also check the root label isn't "langgraph"
2024-10-01 18:43:45 -07:00
William FH and GitHub
db87642a10
Revert "Validate not empty ( #1957 )" ( #1960 )
...
This reverts commit cf67acb699 .
2024-10-01 17:44:08 -07:00
William FH and GitHub
cf67acb699
Validate not empty ( #1957 )
2024-10-01 17:23:44 -07:00
Vadym Barda and GitHub
78c9c15b14
langgraph, checkpoint: update versions ( #1942 )
2024-10-01 13:43:07 -04:00
Vadym Barda and GitHub
3c9441c039
checkpoint: release 1.0.14 ( #1917 )
2024-09-30 14:54:00 -04:00
Vadym Barda and GitHub
7071817155
checkpoint: fix namespace issues ( #1915 )
2024-09-30 14:52:57 -04:00
William FH and GitHub
9ad617bb7a
[Release] 1.0.13 ( #1903 )
2024-09-30 10:16:50 -07:00
Nuno Campos and GitHub
b1a4243055
Implement new Store interface ( #1834 )
2024-09-29 17:06:42 -07:00
Vadym Barda and GitHub
03be3b6567
docs: reorganize API refs ( #1884 )
2024-09-27 18:12:12 -04:00
Vadym Barda and GitHub
a319727a9e
checkpoint: release 1.0.12 ( #1888 )
2024-09-27 14:19:00 -04:00
vbarda
4271afeb42
checkpoint: support serde for SecretStr
2024-09-26 21:09:07 -04:00
Vadym Barda and GitHub
72c5bc35cd
checkpoint: update note in MemorySaver ( #1862 )
2024-09-26 15:07:36 +00:00
Vadym Barda and GitHub
434e7519bc
checkpoint: release 1.0.11 ( #1814 )
2024-09-23 17:58:25 -04:00
Nuno Campos and GitHub
7b94f1e326
Update __init__.py
2024-09-20 10:50:40 -07:00
Nuno Campos
5de9b35416
Finish
2024-09-19 13:01:54 -07:00
Nuno Campos
cc318b1156
Fix
2024-09-19 11:43:30 -07:00
Nuno Campos
9a8cc75ea2
Fix some typing issues in langgraph lib
2024-09-19 11:38:41 -07:00
Nuno Campos
c793a9e36d
Use type var default
2024-09-19 08:28:59 -07:00
Nuno Campos
333c5f5501
Fix type issues in tests
2024-09-18 18:16:51 -07:00