Commit Graph
804 Commits
Author SHA1 Message Date
Nuno CamposandGitHub daf8bf2eef Merge pull request #317 from langchain-ai/nc/17apr/serde
Introduce json-based checkpoint serialization
2024-04-24 16:26:56 -07:00
Nuno Campos f975bd1c28 Fix 2024-04-24 16:23:31 -07:00
Nuno Campos 2e9e29243f Lint 2024-04-24 16:20:43 -07:00
Nuno Campos 4b8599b325 Fix 39 2024-04-24 16:19:32 -07:00
Nuno Campos a08eaf1a77 Fix 2024-04-24 16:18:02 -07:00
Nuno Campos 53378476ce Lock 2024-04-24 16:14:24 -07:00
Nuno Campos f9646b6a57 Use by default in sqlite adapters
- Support loading pickled checkpoints for backwards compat
- Update copy_checkpoint to coerce values to defaultdicts where needed
2024-04-24 16:08:41 -07:00
Nuno Campos e45c461d99 Fix 2024-04-24 15:42:43 -07:00
Nuno Campos d4982eb022 Fix 2024-04-24 15:40:48 -07:00
Nuno Campos 9bf90442e0 Undo 2024-04-24 15:40:48 -07:00
Nuno Campos 2824541102 Fix 2024-04-24 15:40:48 -07:00
Nuno Campos c6a199abc2 Skip py39 2024-04-24 15:40:48 -07:00
Nuno Campos 3ad0204a90 Add test 2024-04-24 15:40:48 -07:00
Nuno Campos 6125ea68f5 WIP 2024-04-24 15:40:48 -07:00
Nuno CamposandGitHub c447884ed0 Merge pull request #345 from langchain-ai/nc/24apr/fix-write-runnable-bug
Fix bug where saving a runnable or function in state object would misbehave
2024-04-24 15:36:53 -07:00
Nuno CamposandGitHub 35c5e1a697 Merge pull request #344 from langchain-ai/efriis-patch-1
Link docs in readme
2024-04-24 15:36:37 -07:00
Nuno CamposandGitHub 23f6658424 Merge pull request #343 from langchain-ai/nc/24apr/dbeug
Improve debug logging
2024-04-24 15:36:18 -07:00
Nuno CamposandGitHub 9c21f18eb6 Merge pull request #342 from langchain-ai/nc/24apr/branch-then
Add `then=` arg for add_conditional_edge and set_conditional_entry_point
2024-04-24 15:36:11 -07:00
Nuno Campos 3571a893f2 Fix bug where saving a runnable or function in state object would misbehave
- the function/runnable would be called when processing the state update
2024-04-24 15:35:02 -07:00
Nuno Campos c1feff2211 Rename for clarity 2024-04-24 15:04:47 -07:00
Erick FriisandGitHub a3b8d0694d Link docs in readme 2024-04-24 14:56:33 -07:00
Nuno Campos d3353427ae Improve debug logging 2024-04-24 14:55:12 -07:00
Nuno Campos 0e99cc5128 Lint 2024-04-24 14:52:45 -07:00
Nuno Campos 79bff13a47 Add then= arg for add_conditional_edge and set_conditional_entry_point
- This makes it easy to implement graphs where you want to decide among N possible nodes, and then visit another node after whichever one you chose
2024-04-24 14:06:07 -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