Commit Graph
893 Commits
Author SHA1 Message Date
William FHandGitHub 49ccfdb780 Improve Intro Tutorial (#402) 2024-05-06 17:41:12 -07:00
Nuno Campos bf1989cab7 0.0.45 2024-05-06 17:06:20 -07:00
Nuno Campos ef3a568dc1 Update core 2024-05-06 17:06:20 -07:00
Erick FriisandGitHub cd53094f2e update readme DAG wording 2024-05-06 16:23:13 -07:00
Nuno Campos 0502699136 Update docstrings 2024-05-06 15:14:02 -07:00
Nuno CamposandGitHub 5bee63c7d5 Merge pull request #387 from langchain-ai/nc/3may/checkpoint-metadata
Add metadata to checkpoints, checkpoint inputs before first step
2024-05-06 14:41:29 -07:00
Nuno CamposandGitHub d1b0be8620 Merge pull request #401 from langchain-ai/dependabot/pip/jinja2-3.1.4
Bump jinja2 from 3.1.3 to 3.1.4
2024-05-06 12:22:27 -07:00
Nuno CamposandGitHub 8027d21b4c Merge pull request #386 from langchain-ai/nc/3may/test-draw-cyclical-edge
Add (failing) test for drawing cyclic edge
2024-05-06 12:22:16 -07:00
Nuno Campos 52852cb226 Update langchain-core 2024-05-06 12:20:20 -07:00
Nuno Campos 48865daf02 Fix checkpoint lineage for updates/resumes 2024-05-06 11:53:20 -07:00
Nuno Campos 251bd9744d Fix lineage of maual state updates 2024-05-06 11:53:20 -07:00
Nuno Campos 48df2d1084 Add assert 2024-05-06 11:53:20 -07:00
Nuno Campos 611ecdb1cd Checkpoint inputs before starting the first step for easier error recovery
- this enables easier retrying, for any error just do .invoke(None, config) no matter which step the error happened on
2024-05-06 11:53:20 -07:00
Nuno Campos f160f82912 Add checkpoint metadata fields
- source: input, update or loop
- step: int
- make step counter continue from previous last step
2024-05-06 11:52:49 -07:00
Nuno Campos 3ff3def62b Remove option to only checkpoint at end of run
- Now that checkpoint at end of each step adds no latency there is not point to keep this
- This will make it easier to add future features
2024-05-06 11:52:49 -07:00
Nuno Campos f304908102 Add metadata to checkpoints
- not yet used in this PR
2024-05-06 11:52:49 -07:00
dependabot[bot]andGitHub 3f9faf1910 Bump jinja2 from 3.1.3 to 3.1.4
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 18:33:18 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d79b483a67 Bump tqdm from 4.66.2 to 4.66.3 (#385)
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.66.2 to 4.66.3.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.2...v4.66.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 11:31:55 -07:00
Erick FriisandGitHub 97a6f8ecb8 Merge pull request #400 from langchain-ai/erick/pinecone-example
pinecone example
2024-05-06 10:37:56 -07:00
Erick Friis 79660451bb pinecone example 2024-05-06 10:33:51 -07:00
William FHandGitHub e0770d68b3 Update notebooks to use bind_tools (#394) 2024-05-04 01:30:52 -07:00
William FHandGitHub 21b8cbfd33 Deprecate Chat agent executor & Function Calling Executor in Docs (#392) 2024-05-04 00:17:54 -07:00
William FHandGitHub 119bbe6bae Fixup dup pip (#389) 2024-05-03 15:49:51 -07:00
William FHandGitHub b7ec64df8d [Notebooks Pt 1/N] Fixup some Tool Calling + Import formatting + prebuilt usage (#388) 2024-05-03 15:48:10 -07:00
Nuno Campos 04fe48f661 Add (failing) test for drawing cyclic edge
- fix waiting for new release of langchain-core
2024-05-03 15:17:20 -07:00
Nuno CamposandGitHub a307fc9fc4 Merge pull request #384 from langchain-ai/wfh/markdown_link_relaaaaax
Markdown Link Check only on changed files
2024-05-03 12:41:02 -07:00
William Fu-Hinthorn 5d5ee80b08 ok maybe ok onschedule 2024-05-03 12:37:45 -07:00
William Fu-Hinthorn c18ef9160d Relax link check 2024-05-03 12:36:19 -07:00
Nuno Campos 7b03ce021c 0.0.44 2024-05-03 12:33:25 -07:00
Nuno Campos 446543d973 Fix RunnableCallable wrapper when sync func with config arg is invoked async 2024-05-03 12:33:12 -07:00
Nuno Campos 33961eb2f0 0.0.43 2024-05-03 12:03:19 -07:00
Nuno CamposandGitHub 4b15a307f8 Merge pull request #382 from langchain-ai/nc/26apr/fix-aiosqlite
Use a lock to fix aiosqlite checkpointer running setup multiple times if called in parallel
2024-05-03 12:01:15 -07:00
Nuno Campos 574614eab9 Fix aiosqlite checkpointer running setup multiple times if called in parallel
Use a lock instead
2024-05-03 11:40:23 -07:00
William FHandGitHub b185efe365 Check if conn is alive (#381) 2024-05-03 11:38:18 -07:00
Nuno Campos d6091f5fa4 0.0.42 2024-05-03 11:06:42 -07:00
Nuno CamposandGitHub 01860d6a73 Merge pull request #380 from langchain-ai/nc/3may/state-graph-prefer-pydantic-io-schema
StateGraph: use state schema as input/output schema if already a pydantic model
2024-05-03 11:03:49 -07:00
Nuno Campos 0e30723684 Lint 2024-05-03 11:01:34 -07:00
Nuno CamposandGitHub 3ae17e9dd1 Merge pull request #379 from langchain-ai/nc/3may/checkpoint-end-of-step-costfree
Make end-of-step chckpointing costfree
2024-05-03 11:00:56 -07:00
Nuno CamposandGitHub 47d057557c Merge pull request #378 from langchain-ai/nc/3may/state-history-pagination
Implement cursor pagination for get_state_history (time travel endpoint)
2024-05-03 11:00:24 -07:00
Nuno Campos 2ab84d1562 StateGraph: use state schema as input/output schema if already a pydantic model 2024-05-03 10:59:00 -07:00
Nuno Campos 45149d2dc5 Make end-of-step chckpointing costfree
- instead of waiting for checkpoint put before proceeding, submit to executor / event loop and await all at the end
2024-05-03 10:54:32 -07:00
Nuno Campos 42d3215e34 Implement cursor pagination for get_state_history (time travel endpoint)
- interface in base checkpointer
- implement in sqlite, aiosqlite, memory
- implement in Pregel.get_state_history()
2024-05-03 10:34:11 -07:00
Nuno Campos d732385b7c 0.0.41 2024-05-03 10:09:04 -07:00
Nuno CamposandGitHub bdea491801 Merge pull request #377 from langchain-ai/nc/3may/config-schema
Optional 2nd arg to StateGraph with config schema
2024-05-03 10:08:05 -07:00
Nuno Campos 467f42d799 Optional 2nd arg to StateGraph with config schema 2024-05-03 10:05:14 -07:00
Nuno CamposandGitHub 740011efa6 Merge pull request #376 from langchain-ai/harrison/configuration-branch
add how-to notebook for configuration
2024-05-03 10:01:19 -07:00
Harrison Chase 301d71ec34 cr 2024-05-02 18:57:06 -07:00
William FHandGitHub 8a38226078 Customer Support Bot Tutorial (Flight Assistant) (#375) 2024-05-02 16:53:18 -07:00
Nuno CamposandGitHub 8ec1d2e3e9 Merge pull request #363 from langchain-ai/harrison/add-args
Harrison/add args
2024-05-02 15:49:21 -07:00
Nuno Campos 27efba27c0 Update tests 2024-05-02 09:31:22 -07:00