Commit Graph
1160 Commits
Author SHA1 Message Date
Angel Igareta f1eca30912 Update visualization notebook to showcase new capabilities for mermaid rendering (syntax and PNG), as well as removing conditional nodes 2024-04-18 12:19:45 +02:00
Angel Igareta 6570fd0ccb Fix get_graph method to define conditional edges 2024-04-18 12:19:07 +02:00
William FHandGitHub 49cced4f92 Tutorial (#315) 2024-04-18 01:15:21 -07:00
Yulong WangandGitHub 4244bab90e Fix typo in README.md (#322) 2024-04-18 01:07:02 -07:00
Nuno Campos 50cd5e27f2 0.0.38 2024-04-17 16:08:17 -07:00
Nuno CamposandGitHub 0d0bd8b430 Merge pull request #321 from andrewnguonly/default-state-value
Default state value (`StateGraph`) to `None` if channel is empty
2024-04-17 15:54:38 -07:00
Nuno CamposandGitHub f8465bfd5e Merge pull request #318 from langchain-ai/eugene/update_lock_file
Update lock file
2024-04-17 15:39:37 -07:00
Andrew Nguonly 084ab53252 Default state value to None if channel is empty. 2024-04-17 15:38:50 -07:00
Nuno CamposandGitHub 151a38d6e9 Merge pull request #320 from langchain-ai/nc/17apr/fix-stream-events
Fix astream_events modifying output format unexpectedly
2024-04-17 15:38:20 -07:00
Nuno Campos 64dd631668 Lint 2024-04-17 15:26:05 -07:00
Nuno Campos 322cea054c Fix astream_events modifying output format unexpectedly
- (unrelated) use run_id passed in
- if using a graph as node in another graph ensure stream_mode for inner call is always values
- ensure langchain-core doesn't auto promote streamed dicts to addable dicts, which results in unexpected output (only) when calling astream_events
2024-04-17 15:24:43 -07:00
Eugene Yurtsev 9e9f44a868 x 2024-04-17 13:36:22 -04:00
Nuno CamposandGitHub 8a39eb41cd Merge pull request #310 from angeligareta/add_condition_nodes_as_optional
Make condition nodes optional
2024-04-17 09:21:49 -07:00
Angel Igareta 4e8e51126d Fix formatting in graph 2024-04-17 18:03:22 +02:00
Ángel IgaretaandGitHub 35fe16b615 Merge branch 'main' into add_condition_nodes_as_optional 2024-04-17 17:53:51 +02:00
Nuno CamposandGitHub e35d349ef0 Merge pull request #314 from langchain-ai/nc/16apr/forward-ref
Resolve type annotation forward refs when parsing StateGraph schema type
2024-04-16 15:15:53 -07:00
Nuno Campos 012bbb961f Lint 2024-04-16 15:07:51 -07:00
Nuno Campos bdf0def798 Resolve type annotation forward refs when parsing StateGraph schema type 2024-04-16 15:05:04 -07:00
Nuno CamposandGitHub f91fb184a1 Merge pull request #308 from Undertone0809/zeeland/fix-typo
docs: fix wrongly written characters
2024-04-16 13:47:26 -07:00
Nuno CamposandGitHub 4327997b4d Merge pull request #300 from langchain-ai/dependabot/pip/idna-3.7
Bump idna from 3.6 to 3.7
2024-04-16 09:56:36 -07:00
William FHandGitHub 85f48da84e Docs Draft (#286) 2024-04-15 22:44:12 -07:00
Marco TrinelliandGitHub eb10fe599b fix: plan execute example response state (#303) 2024-04-15 22:43:11 -07:00
Angel Igareta 0f667cd9eb Add add_condition_nodes parameter to offer possibility of not including conditional nodes 2024-04-15 10:56:19 +02:00
zeeland e8d33210a7 docs: fix typo 2024-04-14 02:29:23 +08:00
Nuno CamposandGitHub 83df0ac844 Merge pull request #305 from langchain-ai/nc/12apr/configurable-serde
Make ser/de configurable in checkpointer classes
2024-04-12 12:50:44 -07:00
Nuno Campos f5a7c01e88 py39 2024-04-12 11:55:20 -07:00
Nuno Campos 74a40a895a Make ser/de configurable in checkpointer classes
- Remove pydantic usage from base checkpointer class
- Make serialization configurable for all existing checkpointer classes, you can eg use dill or json instead of pickle
2024-04-12 11:49:29 -07:00
Nuno Campos aa07d30e1f 0.0.37 2024-04-12 11:00:27 -07:00
Nuno CamposandGitHub d276510cb5 Merge pull request #304 from langchain-ai/nc/12apr/shorted-cond-edge-name
Shorten conditional edge names
2024-04-12 10:59:25 -07:00
Nuno Campos f3ae555b91 Shorten conditional edge names 2024-04-12 09:29:27 -07:00
dependabot[bot]andGitHub 2ff9d94bb6 Bump idna from 3.6 to 3.7
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 00:05:35 +00:00
Nuno Campos dfec700da8 0.0.36 2024-04-11 17:04:19 -07:00
Nuno Campos 0015cb5f3a Fix non str values in cond edges 2024-04-11 11:52:20 -07:00
Nuno Campos ce6989daee 0.0.35 2024-04-11 11:51:53 -07:00
Nuno CamposandGitHub cd0bc870b3 Merge pull request #299 from langchain-ai/nc/11apr/stream-mode-values-all
In stream_mode=values yield all values, instead of only changed ones
2024-04-11 11:41:00 -07:00
Nuno Campos a8af7467b8 In stream_mode=values yield all values, instead of only changed ones 2024-04-11 11:12:10 -07:00
Nuno CamposandGitHub 9ffd6d9c78 Merge pull request #296 from langchain-ai/nc/10apr/tool-node
Add prebuilt ToolNode, Make prebuilt create_tool_calling_executor compatible with any tool calling model
2024-04-11 11:10:59 -07:00
Nuno Campos 92deae4196 Add anthropic notebook 2024-04-11 10:50:06 -07:00
Nuno CamposandGitHub 98ecc72de0 Merge pull request #298 from hmasdev/feature-handle-falsy-output
Pregel: Add support for falsy outputs in Pregel class
2024-04-11 08:46:34 -07:00
Nuno Campos 46e67cff87 Remove flag 2024-04-11 08:44:41 -07:00
hmasdev 236ecb1982 rename node name in tests 2024-04-11 20:34:45 +09:00
hmasdev 42de3304dc Add support for allow_falsy_output parameter in Pregel class 2024-04-11 19:46:01 +09:00
Nuno Campos c8d3f73d04 Lint 2024-04-10 18:55:12 -07:00
89a14160b0 Apply suggestions from code review
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com>
2024-04-10 18:41:12 -07:00
Nuno Campos 7dafc09a5b Add prebuilt ToolNode 2024-04-10 18:15:19 -07:00
Nuno CamposandGitHub 1141370593 Merge pull request #295 from langchain-ai/nc/10apr/add-invoke-updates-mode
Support stream_mode=updates in invoke()
2024-04-10 17:52:20 -07:00
Nuno Campos 8788a6adfb Support stream_mode=updates in invoke() 2024-04-10 17:12:09 -07:00
Nuno Campos 8725839492 0.0.34 2024-04-10 16:18:30 -07:00
Nuno CamposandGitHub 8627e4e65c Merge pull request #294 from langchain-ai/nc/10apr/fix-null-output
Fix null output for node with conditional edge returning END
2024-04-10 16:17:51 -07:00
Nuno Campos 641def6fdb Fix null output for node with conditional edge returning END 2024-04-10 16:10:08 -07:00