Nuno Campos
574614eab9
Fix aiosqlite checkpointer running setup multiple times if called in parallel
...
Use a lock instead
2024-05-03 11:40:23 -07:00
William FH and GitHub
b185efe365
Check if conn is alive ( #381 )
2024-05-03 11:38:18 -07:00
Nuno Campos
d6091f5fa4
0.0.42
2024-05-03 11:06:42 -07:00
Nuno Campos and GitHub
01860d6a73
Merge pull request #380 from langchain-ai/nc/3may/state-graph-prefer-pydantic-io-schema
...
StateGraph: use state schema as input/output schema if already a pydantic model
2024-05-03 11:03:49 -07:00
Nuno Campos
0e30723684
Lint
2024-05-03 11:01:34 -07:00
Nuno Campos and GitHub
3ae17e9dd1
Merge pull request #379 from langchain-ai/nc/3may/checkpoint-end-of-step-costfree
...
Make end-of-step chckpointing costfree
2024-05-03 11:00:56 -07:00
Nuno Campos and GitHub
47d057557c
Merge pull request #378 from langchain-ai/nc/3may/state-history-pagination
...
Implement cursor pagination for get_state_history (time travel endpoint)
2024-05-03 11:00:24 -07:00
Nuno Campos
2ab84d1562
StateGraph: use state schema as input/output schema if already a pydantic model
2024-05-03 10:59:00 -07:00
Nuno Campos
45149d2dc5
Make end-of-step chckpointing costfree
...
- instead of waiting for checkpoint put before proceeding, submit to executor / event loop and await all at the end
2024-05-03 10:54:32 -07:00
Nuno Campos
42d3215e34
Implement cursor pagination for get_state_history (time travel endpoint)
...
- interface in base checkpointer
- implement in sqlite, aiosqlite, memory
- implement in Pregel.get_state_history()
2024-05-03 10:34:11 -07:00
Nuno Campos
d732385b7c
0.0.41
2024-05-03 10:09:04 -07:00
Nuno Campos and GitHub
bdea491801
Merge pull request #377 from langchain-ai/nc/3may/config-schema
...
Optional 2nd arg to StateGraph with config schema
2024-05-03 10:08:05 -07:00
Nuno Campos
467f42d799
Optional 2nd arg to StateGraph with config schema
2024-05-03 10:05:14 -07:00
Nuno Campos and GitHub
740011efa6
Merge pull request #376 from langchain-ai/harrison/configuration-branch
...
add how-to notebook for configuration
2024-05-03 10:01:19 -07:00
Harrison Chase
301d71ec34
cr
2024-05-02 18:57:06 -07:00
William FH and GitHub
8a38226078
Customer Support Bot Tutorial (Flight Assistant) ( #375 )
2024-05-02 16:53:18 -07:00
Nuno Campos and GitHub
8ec1d2e3e9
Merge pull request #363 from langchain-ai/harrison/add-args
...
Harrison/add args
2024-05-02 15:49:21 -07:00
Nuno Campos
27efba27c0
Update tests
2024-05-02 09:31:22 -07:00
Nuno Campos
d723a1e752
Add name to debug payload
2024-05-02 09:26:32 -07:00
Harrison Chase
dea85d236c
Merge branch 'master' into harrison/add-args
2024-05-01 08:26:00 -07:00
Harrison Chase
97f3d66c0e
cr
2024-05-01 08:17:21 -07:00
Nuno Campos
b2020c1972
0.0.40
2024-04-30 16:55:44 -07:00
Nuno Campos and GitHub
7d3133b239
Merge pull request #370 from langchain-ai/nc/30apr/stream-mode-debug
...
Implement stream_mode=debug
2024-04-30 16:54:37 -07:00
Nuno Campos
5e322a6550
Implement stream_mode=debug
...
- outputs 3 types of payloads
-- task: node about to be executed
-- task_result: result of node execution
-- checkpoint: state values at end of superstep
2024-04-30 16:15:38 -07:00
Nuno Campos and GitHub
49c95cefcf
Merge pull request #369 from langchain-ai/nc/30apr/test-async-cancellation
...
Add tests for async cancellation
2024-04-30 14:37:56 -07:00
Nuno Campos and GitHub
14a256919d
Merge pull request #368 from langchain-ai/dqbd/pregel-serializable
...
feat(pregel): mark graph as serializable
2024-04-30 13:58:02 -07:00
Nuno Campos
281e312d40
Add tests for async cancellation
...
- when outer invoke/stream is cancelled currently running nodes should be cancelled
- when multiple nodes run in parallel and one fails the others should be cancelled
2024-04-30 13:57:11 -07:00
Nuno Campos and GitHub
d042f0d5fe
Merge pull request #367 from langchain-ai/nc/30apr/interrupt-before-all
...
Implement interrupt_before=* and interrupt_after=*
2024-04-30 13:19:02 -07:00
Tat Dat Duong
2e3a690b34
feat(pregel): mark graph as serializable
2024-04-30 22:18:10 +02:00
Nuno Campos
280839b9df
Try to avoid using deprecated method
2024-04-30 10:16:53 -07:00
Nuno Campos and GitHub
c293d3d71d
Merge pull request #366 from langchain-ai/nc/30apr/pregel-no-implicit-channels
...
Pregel: Remove implicit creation of channels referenced by nodes
2024-04-30 10:06:14 -07:00
Nuno Campos
afa6a91934
Implement interrupt_before=* and interrupt_after=*
...
- This interrupts execution before/after all nodes
2024-04-30 10:05:53 -07:00
Nuno Campos
9a79eb54f9
Finish fixing tests
2024-04-30 09:23:41 -07:00
Nuno Campos
96870c0935
Pregel: Remove implicit creation of channels referenced by nodes
...
- channels must be declared in the constructor args
2024-04-30 09:04:19 -07:00
Nuno Campos and GitHub
f6d332beb9
Merge pull request #362 from langchain-ai/nc/29apr/support-cond-edge-list-literal
...
For cond edges support specifying list of possible destinations as a list or typing annotation
2024-04-30 08:56:05 -07:00
Nuno Campos and GitHub
9505d8cc84
Merge pull request #365 from langchain-ai/nc/29apr/support-non-str-thread-ids
...
Nc/29apr/support non str thread ids
2024-04-30 08:54:14 -07:00
Nuno Campos
7554309abf
Update tests
2024-04-29 17:46:42 -07:00
Nuno Campos
ca2c93e0a1
Lint
2024-04-29 17:41:36 -07:00
Nuno Campos
516a74351d
Support non str ids in sqlite checkpointers
2024-04-29 17:41:03 -07:00
Harrison Chase
aa48a3be3d
cr
2024-04-29 16:37:16 -07:00
Jose Mayorga and GitHub
75bb0e83cd
Fixes #248 , pattern validation failure ( #277 )
2024-04-29 15:27:23 -07:00
Aryan Verma and GitHub
ee8fad5f7f
Fix/call the correct variable authoring_graph during compilation ( #292 )
2024-04-29 15:27:03 -07:00
Trung Phan and GitHub
a72d162a10
Fix typo in examples/human-in-the-loop.ipynb ( #359 )
2024-04-29 15:26:14 -07:00
Arno Angerer and GitHub
ede895cd9f
Added required gpt4all dependency ( #357 )
...
For the GPT4AllEmbeddings to work (in the Indexing part) the `gpt4all` package is required. This PR adds it to the list of required dependencies at the top of the notebook
2024-04-29 15:25:52 -07:00
Harrison Chase
a32fe442f0
cr
2024-04-29 14:59:31 -07:00
Harrison Chase
d12c2bae6b
add arguments to chat agent executor
2024-04-29 14:58:25 -07:00
Brant and GitHub
32ac2fdacb
fix: examples plan-and-execute ( #316 )
2024-04-29 14:47:40 -07:00
Nuno Campos
a3c867d688
Remove add_condition_nodes
2024-04-29 11:13:16 -07:00
Nuno Campos
3a59fb2247
Pass add_condition_node
2024-04-29 11:04:15 -07:00
Nuno Campos
4a28f19922
Remove labels if redundant
2024-04-29 10:44:45 -07:00