Commit Graph
6682 Commits
Author SHA1 Message Date
Nuno Campos 4fd90f8ad6 Rename BaseChannel.empty() to BaseChannel.from_checkpoint()
- clearer name
- channels with complex data structures in checkpoint (eg a set or list) now copy the checkpointed data structures before creating the new channel
2024-03-31 09:25:08 -07:00
Nuno Campos 03b7d6fe0d Remove __end__ node from state graph
No longer necessary with stream output modes
2024-03-30 22:04:27 -07:00
William Fu-Hinthorn 62ac195d39 Run TNT-LLM 2024-03-30 21:53:15 -07:00
Nuno Campos 1ad017781d Add stream_mode=updates or values
- stream(stream_mode="values") yields thre current channel values whenever a channel is updated
- stream(stream_mode="updates") yields the update sent to each channel by each node
- this removes the __end__ value present at the end of each call to Graph/StateGraph/MessageGraph.stream(). To access the __end__ value either call .invoke() or stream(stream_mode="values")
2024-03-30 21:24:39 -07:00
Nuno Campos 885e5884c5 Collect pending writes for each node separately
- ensures that order of updates sent to channels is independent of timing differences when parallel executing multiple nodes
- enables future features
2024-03-30 20:02:17 -07:00
Nuno Campos 0baaf5cd96 Remove private api to mutate values during call to stream() 2024-03-30 19:41:50 -07:00
William Fu-Hinthorn f4ef67c5d3 Draft tnt llm 2024-03-30 16:29:27 -07:00
Mohamed A. FouadandGitHub 4182538b0a Update lats.ipynb (#227)
Fixes a typo.
2024-03-29 16:42:24 -07:00
Nuno CamposandGitHub 15908adcd0 Merge pull request #236 from langchain-ai/jacob/async_edges
Adds async conditional edge support
2024-03-28 15:42:34 -07:00
Lance MartinandGitHub 8f2356b590 Merge pull request #237 from langchain-ai/rlm/adaptive-rag
Add adaptive RAG
2024-03-28 12:07:56 -07:00
Lance Martin cb66b31286 Finalize ntbk 2024-03-28 12:03:52 -07:00
Lance Martin cf7f6243d7 Add set_conditional_entry_point 2024-03-26 16:59:24 -07:00
Lance Martin aefea04d31 Add adaptive RAG 2024-03-26 16:33:31 -07:00
Nuno Campos 5aa036639b Update 2024-03-26 15:42:16 -07:00
jacoblee93 e79453633d Simplify 2024-03-26 12:59:26 -07:00
jacoblee93 a6a9def91a Adds async conditional edge support 2024-03-26 12:46:15 -07:00
Nuno Campos 2b42407f05 0.0.30 2024-03-22 08:23:34 -07:00
Nuno CamposandGitHub 458d71e694 Merge pull request #226 from langchain-ai/nc/21mar/add-message-graph-test
Add one more test for message graph
2024-03-21 18:00:00 -07:00
Nuno CamposandGitHub 49d3943ffd Merge pull request #164 from langchain-ai/nc/29feb/waiting-edge
Add StateGraph.add_edge(string[], string)
2024-03-21 17:59:46 -07:00
Nuno Campos 62dfa48ce5 Lint 2024-03-21 17:58:23 -07:00
Nuno Campos db2ec5b2de Rename to add_edge(string[], string) 2024-03-21 17:56:35 -07:00
Nuno Campos e11153cf09 Fix graph repr 2024-03-21 16:53:59 -07:00
Nuno Campos 319d72952c Add one more test for message graph 2024-03-21 16:35:26 -07:00
Nuno Campos ccea395002 Fox 2024-03-21 16:06:23 -07:00
Nuno Campos 01c32c2464 Finish 2024-03-21 15:54:03 -07:00
Nuno Campos 6cb5062c1a Lol 2024-03-21 14:30:51 -07:00
Nuno Campos 158f84c826 WIP Waiting edge 2024-03-21 14:29:40 -07:00
Nuno CamposandGitHub ad5938f53e Merge pull request #224 from langchain-ai/nc/21mar/message-graph-coerce-to-msg
MessageGraph: convert message chunks to messages when added to graph
2024-03-21 14:10:43 -07:00
Nuno Campos 6cdb8925c8 MessageGraph: convert message chunks to messages when added to graph 2024-03-21 13:32:11 -07:00
Nuno CamposandGitHub 98ac7ef71a Merge pull request #221 from langchain-ai/wfh/simplify_readme
Simplify first example
2024-03-20 12:33:27 -07:00
Nuno Campos c8c94df261 0.0.29 2024-03-20 12:14:49 -07:00
Nuno CamposandGitHub 5d10c929b1 Merge pull request #220 from langchain-ai/nc/trach-checkpoint-parent
Track parent relationships for checkpoints
2024-03-20 12:12:20 -07:00
William Fu-Hinthorn a93c4fd186 Simplify first example 2024-03-20 12:11:24 -07:00
Nuno CamposandGitHub 4b9d09d22d Merge pull request #218 from langchain-ai/eyurtsev-patch-1
Update README.md
2024-03-20 12:09:01 -07:00
Nuno Campos 3bfac1f490 Track parent relationships for checkpoints
- This enables building "branching" views of checkpoint history
2024-03-20 12:08:22 -07:00
Eugene YurtsevandGitHub d3f0129d38 Update README.md 2024-03-19 22:16:20 -04:00
Jacob LeeandGitHub 35188d9ed5 Fix typo (#216) 2024-03-19 08:56:02 -07:00
Jacob LeeandGitHub 7dcc05f92f Small README tweaks (#215)
* Small README tweaks

* Update section

* Update
2024-03-19 08:49:06 -07:00
Jacob LeeandGitHub ea9fd7ada0 Fix broken link? (#214)
* Fix broken link?

* Fix
2024-03-18 22:12:29 -07:00
Jacob LeeandGitHub 575684e841 Update quickstart with simpler message graph examples (#213) 2024-03-18 21:34:12 -07:00
William FHandGitHub 00de78e2fd Add Branching Example (#212) 2024-03-18 10:51:35 -07:00
4a5206c93e add notebook for get update state (#180)
* add notebook for get update state

* cr

* Fix bad merge

* Update notebook

* Update

* Fix unbound local bug

* Fix duplicate history entries

* Update notebook with time travel section

* Update notebook

* cr

* cr

---------

Co-authored-by: Nuno Campos <nuno@langchain.dev>
2024-03-15 14:35:01 -07:00
HowardChanandGitHub fa0f911340 Fix/Typos (#206) 2024-03-15 14:33:53 -07:00
Eugene YurtsevandGitHub 76b6394e7f x (#210) 2024-03-15 14:31:59 -07:00
Nuno CamposandGitHub 07a2815a5d Merge pull request #211 from langchain-ai/nc/15mar/message-graph-update
Support updating/replacing existing messages in messagegraph
2024-03-15 12:15:51 -07:00
Nuno Campos 7548f412fb Support updating existing messages in messagegraph 2024-03-15 12:13:58 -07:00
Nuno Campos ba5dbad75f Fix duplicate history entries 2024-03-15 08:33:35 -07:00
William FHandGitHub da7797431a Merge pull request #207 from langchain-ai/rlm/testing_storm
Minor updates to STORM ntbk
2024-03-14 12:29:30 -07:00
Lance Martin 453bbdc284 Minor updates to STORM ntbk 2024-03-14 10:50:58 -07:00
Nuno CamposandGitHub fa536f8368 Merge pull request #204 from langchain-ai/nc/13mar/get-state-history
Add history tracking to in-memory, sqlite and aiosqlite checkpointers
2024-03-13 17:46:06 -07:00