Commit Graph
5040 Commits
Author SHA1 Message Date
Harrison ChaseandGitHub 7a164dab09 add how to guide for convo history (#622)
* add how to guide for convo history

* cr

* cr
2024-06-07 09:41:47 -07:00
Nuno CamposandGitHub 38a5ca1e20 Merge pull request #617 from langchain-ai/nc/6jun/potential-fix-for-update-state-on-triggered-barrier 2024-06-07 09:20:24 -07:00
Nuno Campos ec0aa273fd Fix for update_state mistakenly resetting barrier channels
- This introduces a new optional method BaseChannel.consume, which gets called when a channel triggers a node
- This is an alternative place to clean up channel state, in addition to the existing pattern of clearing state in the update() call for the next step
- Channels should implement consume() when they want to clean up state exactly if and only if the channel triggered a node
- Channels should clean up state in update() when they instead need to guarantee their value is available for a single step, irrespective of whether it was actually read
2024-06-06 17:53:14 -07:00
9729d3412a [Docs] Fix Spacing of name (#614)
Co-authored-by: Christoph Görn <goern@redhat.com>
2024-06-06 13:03:42 -07:00
Eugene YurtsevandGitHub 4a825f61a5 x (#613) 2024-06-06 12:21:56 -04:00
Eugene YurtsevandGitHub 85c0103ebb docs: another attempt to fix nav bar (#612) 2024-06-06 12:08:39 -04:00
Eugene YurtsevandGitHub d73642145d docs: fix navigation for passing run time values to tools 2024-06-06 11:52:13 -04:00
Eugene YurtsevandGitHub ca178cdcf0 docs: Add example that shows how to pass run time values to tools (#610)
Adds a notebook that shows how to bind run time values to tools (e.g., user ID) and make them inaccessible to the LLM!
2024-06-06 11:42:13 -04:00
William FHandGitHub 48f34b88d6 [Docs] Wording nit in docstring (#607) 2024-06-05 21:23:46 -07:00
Nuno Campos b8f39172a5 0.0.64 2024-06-05 17:20:22 -07:00
Nuno CamposandGitHub f9e99b12e9 Merge pull request #604 from langchain-ai/nc/5jun/checkpointer-list-filter
Expose filter arg in get_state_history
2024-06-05 17:18:52 -07:00
Nuno Campos 145e655c09 Fix 2024-06-05 17:17:21 -07:00
Nuno Campos d366bacf03 Expose filter arg in get_state_history
- Combine list and search methods in Checkpointer
2024-06-05 17:14:35 -07:00
Nuno Campos 052284f21d 0.0.63 2024-06-05 16:40:06 -07:00
Nuno Campos d2e98ae835 Fix spread 2024-06-05 16:38:01 -07:00
William FHandGitHub 644ea3a3d7 [Docs] Link (#603) 2024-06-05 09:56:05 -07:00
Nuno CamposandGitHub bdd12be343 Merge pull request #601 from langchain-ai/wfh/se_to_constants
Move START & END to constants.py
2024-06-05 08:57:50 -07:00
William FHandGitHub 10f92992b4 Fixup ToC in ref doc (#602) 2024-06-05 07:49:35 -07:00
William Fu-Hinthorn bcc6e51f87 Move START & END to constants.py 2024-06-05 07:42:39 -07:00
William FHandGitHub 03ba503569 Rm END check in STORM (#600) 2024-06-05 07:40:58 -07:00
William FHandGitHub 1511c3b3e1 [Docs] Ref docs for Send (#599) 2024-06-05 07:40:37 -07:00
William FHandGitHub eac9c600aa Nicer NotImplementedError in sqlite checkpointer (#598) 2024-06-05 06:35:21 -07:00
Nuno CamposandGitHub 683495aceb Merge pull request #586 from langchain-ai/nfcampos-patch-1
copy path_map when passed to add_conditional_edge
2024-06-04 19:54:30 -07:00
William FHandGitHub 953a76535b Update outputs (#595) 2024-06-04 17:34:20 -07:00
William FHandGitHub 30e99289c1 [Doc]Add ToolMessage (#594) 2024-06-04 17:31:30 -07:00
William FHandGitHub 67b565329f Update info seeking (#592) 2024-06-04 14:51:26 -07:00
William FHandGitHub 90958ab973 [Docs] Add explanation for error handling when branching (#591) 2024-06-04 13:22:28 -07:00
William FHandGitHub 5fd52a486e [Docs] Stream Anything (#590) 2024-06-04 10:30:34 -07:00
William FHandGitHub 52945478ef [Docs] Update stream_tokens to clarify how in older versions of python (#587) 2024-06-04 10:02:14 -07:00
William FHandGitHub 5a3fbfe82d [Docs] Fixup stream mode values (#589) 2024-06-04 10:02:00 -07:00
William FHandGitHub dacb018b32 Update quickstart (#588) 2024-06-04 10:01:51 -07:00
Nuno CamposandGitHub e1d98a00d0 Update graph.py 2024-06-04 08:24:03 -07:00
William FHandGitHub 220bdb7fc4 [Docs] Add map reduce to index (#582) 2024-06-03 22:01:52 -07:00
Nuno Campos 2b5d503906 Add sqlite test with emoji 2024-06-03 16:38:44 -07:00
Nuno Campos d418261996 0.0.62 2024-06-03 16:33:15 -07:00
Nuno CamposandGitHub cdc3c43e36 Merge pull request #580 from langchain-ai/nc/3jun/serde-handle-unicode-issues
serde: Handle unicode issues when encoding
2024-06-03 16:32:14 -07:00
Nuno Campos d22fe60d4c serde: Handle unicode issues when encoding
- any invalid utf-8 chars now removed on dumps
- fix serialization of Send
- remove serialization of NamedTuple, which doesn't work
- add test for custom serde passed to memory saver
- add test using Send and JsonPlus serde
2024-06-03 16:28:32 -07:00
ccurmeandGitHub 8d54b09371 examples: update HITL notebook (#543)
* update notebook

* update

* verify via ToolMessage

* update

* revert change to legacy notebook

* clean up
2024-06-03 15:43:59 -07:00
Harrison ChaseandGitHub 5b3b485a14 update notebook with branching (#578) 2024-06-03 12:58:42 -07:00
Lance MartinandGitHub 9c9d7d4061 Merge pull request #577 from langchain-ai/rlm/code-gen-check
Update name for base-case chain on code-assistant ntbk
2024-06-03 09:37:29 -07:00
Lance Martin 688717aa1a Fix ntbk 2024-06-03 08:22:48 -07:00
Nuno Campos e1e502acfd 0.0.61 2024-06-02 14:13:53 -07:00
Nuno Campos a5d413063e Fix missing attr 2024-06-02 14:11:17 -07:00
William FHandGitHub 0003c74657 [Docs] Update mkdocs (#568) 2024-06-01 04:38:51 -07:00
William FHandGitHub a870e87e7f [Docs] Update edit links (#567) 2024-06-01 04:28:35 -07:00
Joe MartyandGitHub 1b354ab2bf Update introduction.ipynb (#553)
Replace old references to an "action" node with a "tools" node (since that is the name of the note in the first section of the tutorial)
2024-06-01 04:03:17 -07:00
Nuno CamposandGitHub 515f724876 Merge pull request #566 from langchain-ai/harrison/map-reduce-docs
add map reduce docs
2024-05-31 16:50:36 -07:00
Harrison Chase 9eb514fb84 cr 2024-05-31 16:49:09 -07:00
Harrison Chase 4dae779a00 add map reduce docs 2024-05-31 15:42:48 -07:00
Nuno CamposandGitHub fd1faea0ce Merge pull request #565 from langchain-ai/nc/31may/send
Rename Packet to Send
2024-05-31 15:22:55 -07:00