Commit Graph
781 Commits
Author SHA1 Message Date
Erick FriisandGitHub a3b8d0694d Link docs in readme 2024-04-24 14:56:33 -07:00
Nuno CamposandGitHub 1c0a138276 Merge pull request #340 from langchain-ai/nc/24apr/graph-validation
Improve graph validation
2024-04-24 12:32:40 -07:00
Nuno Campos 9ee5699f9a Fix 2024-04-24 11:22:53 -07:00
Nuno Campos 9f9c08bab9 Lint 2024-04-24 11:22:36 -07:00
Nuno Campos f2803372ec Improve graph validation
- Move all validation to compile() This allows adding edges before nodes
- Detect more cases of missing edges with shorthand branches
2024-04-24 11:19:40 -07:00
William FHandGitHub e01e1c6735 Add USACO example (#333)
Tutorial based on the paper: https://arxiv.org/abs/2404.10952v1 by Quan Shi, Michael Tang, Karthik Narasimhan, Shunyu Yao
2024-04-23 13:00:47 -07:00
Nuno CamposandGitHub 4707183814 Merge pull request #336 from langchain-ai/nc/22apr/fix-repeat-conditions
Fix issue when drawing graphs w repeat conditions
2024-04-22 09:56:30 -07:00
Nuno Campos 190d163005 Fix 2024-04-22 09:54:45 -07:00
Nuno Campos 85bdc8bdfa Fix issue when drawing graphs w repeat conditions 2024-04-22 09:53:14 -07:00
Nuno CamposandGitHub de9c0786f5 Merge pull request #328 from angeligareta/improve_visualization_notebook
Fix visualization notebook outputs
2024-04-22 08:38:19 -07:00
Angel Igareta 45a9a054d7 Fix visualization notebook outputs 2024-04-19 17:29:36 +02:00
Lance MartinandGitHub 37d2ae2aec Merge pull request #327 from langchain-ai/rlm/llama3
Local RAG agent w/ LLaMA3
2024-04-18 19:59:02 -07:00
Lance Martin 5abe98e8d9 RAG agent llama3 loca 2024-04-18 17:46:31 -07:00
Nuno CamposandGitHub 97dc410b08 Merge pull request #323 from angeligareta/improve_visualization_notebook
Enrich visualization notebook to showcase new capabilities
2024-04-18 10:20:55 -07:00
Nuno Campos 3edf7e4d73 Fix 2024-04-18 10:18:56 -07:00
Nuno CamposandGitHub e0618083d8 Merge pull request #325 from langchain-ai/dependabot/pip/aiohttp-3.9.4
Bump aiohttp from 3.9.3 to 3.9.4
2024-04-18 09:07:11 -07:00
William FHandGitHub fe03a60dff Fix bullet point (#324)
In tutorials index
2024-04-18 09:04:08 -07:00
Nuno Campos 38d990cf99 Merge branch 'main' into improve_visualization_notebook 2024-04-18 09:02:45 -07:00
dependabot[bot]andGitHub 0396436b02 Bump aiohttp from 3.9.3 to 3.9.4
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.3 to 3.9.4.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.3...v3.9.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-18 16:01:24 +00:00
Nuno Campos 9e6fc78ac2 Make test deterministic 2024-04-18 08:40:56 -07:00
Angel Igareta 3fb6519886 Remove graph from repo 2024-04-18 16:04:36 +02:00
Angel Igareta d925736741 Snapshot updated for python 3.11 2024-04-18 13:19:51 +02:00
Angel Igareta 63125fe7a7 Snapshot updated 2024-04-18 13:01:24 +02:00
Angel Igareta c5ecd18312 Update langchain_core 2024-04-18 12:57:06 +02:00
Angel Igareta 99c2754156 Fix tests due to change of style for conditional edges. Migrate ascii to snapshot for system compatiblity 2024-04-18 12:53:43 +02:00
Angel Igareta 7f826abaa2 Fix linting 2024-04-18 12:20:31 +02:00
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