Commit Graph
6682 Commits
Author SHA1 Message Date
Nuno CamposandGitHub f6d332beb9 Merge pull request #362 from langchain-ai/nc/29apr/support-cond-edge-list-literal
For cond edges support specifying list of possible destinations as a list or typing annotation
2024-04-30 08:56:05 -07:00
Nuno CamposandGitHub 9505d8cc84 Merge pull request #365 from langchain-ai/nc/29apr/support-non-str-thread-ids
Nc/29apr/support non str thread ids
2024-04-30 08:54:14 -07:00
Nuno Campos 7554309abf Update tests 2024-04-29 17:46:42 -07:00
Nuno Campos ca2c93e0a1 Lint 2024-04-29 17:41:36 -07:00
Nuno Campos 516a74351d Support non str ids in sqlite checkpointers 2024-04-29 17:41:03 -07:00
Harrison Chase aa48a3be3d cr 2024-04-29 16:37:16 -07:00
Jose MayorgaandGitHub 75bb0e83cd Fixes #248, pattern validation failure (#277) 2024-04-29 15:27:23 -07:00
Aryan VermaandGitHub ee8fad5f7f Fix/call the correct variable authoring_graph during compilation (#292) 2024-04-29 15:27:03 -07:00
Trung PhanandGitHub a72d162a10 Fix typo in examples/human-in-the-loop.ipynb (#359) 2024-04-29 15:26:14 -07:00
Arno AngererandGitHub ede895cd9f Added required gpt4all dependency (#357)
For the GPT4AllEmbeddings to work (in the Indexing part) the `gpt4all` package is required. This PR adds it to the list of required dependencies at the top of the notebook
2024-04-29 15:25:52 -07:00
Harrison Chase a32fe442f0 cr 2024-04-29 14:59:31 -07:00
Harrison Chase d12c2bae6b add arguments to chat agent executor 2024-04-29 14:58:25 -07:00
BrantandGitHub 32ac2fdacb fix: examples plan-and-execute (#316) 2024-04-29 14:47:40 -07:00
Nuno Campos a3c867d688 Remove add_condition_nodes 2024-04-29 11:13:16 -07:00
Nuno Campos 3a59fb2247 Pass add_condition_node 2024-04-29 11:04:15 -07:00
Nuno Campos 4a28f19922 Remove labels if redundant 2024-04-29 10:44:45 -07:00
Nuno Campos a83fd19b29 For cond edges support specifying list of possible destinations as a list or typing annotation 2024-04-29 10:38:06 -07:00
Nuno CamposandGitHub 6519d72837 Merge pull request #353 from langchain-ai/nc/26apr/tracing-improv
Improve tracing output for function nodes
2024-04-29 09:02:38 -07:00
Nuno Campos fd9d30f144 Improve tracing output for function nodes
- remove double entry in tracing tree when using functions as nodes
2024-04-29 08:59:56 -07:00
Nuno Campos 0e3c37ba25 0.0.39 2024-04-25 11:35:14 -07:00
Nuno CamposandGitHub f15190e20f Merge pull request #339 from langchain-ai/nc/24apr/draw-xray
Improvements to get_graph(xray=)
2024-04-25 11:32:13 -07:00
Nuno Campos 61d0f60b8e Update 2024-04-25 11:30:23 -07:00
Nuno Campos 42b13ef576 Improvements to get_graph(xray=)
- Support xray: int, to control depth, eg xray=1 only exposes one level deep
- In mermaid draw a containing box around subgraphs created from xray
2024-04-25 11:27:13 -07:00
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