fa792e9f74
Update core in poetry lock ( #1717 )
...
* Update core in poetry lock
* ci: update langgraph test job for core 0.3 release (#1715 )
---------
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-09-16 12:36:14 -07:00
Vadym Barda and GitHub
301a2c8c82
docs: remove mentions of pydantic_v1 in tutorials ( #1709 )
2024-09-16 10:53:21 -07:00
Vadym Barda and GitHub
d14b3aeef0
docs: remove pydantic v1 fallback from how-tos ( #1711 )
...
* docs: remove pydantic v1 fallback from how-tos
* sample callout
* update to use callout
2024-09-16 10:52:52 -07:00
Vadym Barda and GitHub
ab8aeea129
langgraph: use create_model_v2 and fallback on create_model ( #1708 )
...
* langgraph: use create_model_v2 and fallback on create_model
* fix
* code review
* fix
2024-09-16 10:44:33 -07:00
Nuno Campos
289e72b75f
Remove debug code
2024-09-16 10:44:20 -07:00
Nuno Campos
1943413d60
Debug again
2024-09-16 10:43:05 -07:00
Nuno Campos
5ec91445ac
Debug baseline job
2024-09-16 10:42:24 -07:00
Isaac Francisco and GitHub
b4e62492a7
add deprecation warning for no overall state ( #1698 )
...
* deprecation warning for no overall state
* lance comments
2024-09-16 15:09:23 +00:00
Eran Hirsch and GitHub
6b861d6c64
Fix LATS select to choose the best child at each level until reaching leaf child ( #1723 )
2024-09-16 03:16:27 +00:00
Nuno Campos
55d79b1507
Use unique cache keys
2024-09-13 16:42:59 -07:00
Nuno Campos and GitHub
e8cb6565ee
langgraph 0.2.21
0.2.21
2024-09-13 12:18:04 -07:00
Nuno Campos
4cd9540427
Remove grandalf from dev deps
...
- this was never included in published package, given it's a dev dep, but some people get confused, so easier to remove
2024-09-13 11:13:10 -07:00
Vadym Barda and GitHub
e87d3adb4c
docs: add a README for updating notebooks/cassettes ( #1705 )
2024-09-13 12:56:23 -04:00
Vadym Barda and GitHub
33f9ec6c04
langgraph: release 0.2.20 ( #1714 )
0.2.20
2024-09-13 10:36:05 -04:00
c3b4acf3f1
checkpoint postgres: allow passing custom serde ( #1699 )
...
* Use correct serde in postgres checkpoint
* Revert metadata serde
* Revert
---------
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-09-12 21:09:23 -07:00
Nuno Campos and GitHub
66fc7c96aa
More performance improvements in checkpointing and channels ( #1685 )
...
* Performance improvements in checkpointer libs
- Use sha1 instead of md5 for hashing (faster in python 3.x)
- Use orjson instead of json for json dumping (sadly can't use for json loading)
* Update tests
* Update
* Use random number instead of hash for get_version_number
* Avoid saving writes for the last task to complete in each step
- only when possible, exceptions for ERROR, INTERRUPT, SEND
* Make Channel.from_checkpoint a regular function
- context manager no longer needed since Context became a managed value
* Use __slots__ for Channels
* Fix for kafka
2024-09-12 21:08:30 -07:00
Nuno Campos and GitHub
8a80b1d3b1
Add 2 more benchmark graphs ( #1707 )
2024-09-12 16:31:16 -07:00
Andrew Nguonly and GitHub
11319ae48b
Update API docs. ( #1706 )
2024-09-12 15:32:48 -07:00
Vadym Barda and GitHub
0b40c83fa8
ci: add VCR caching to the notebooks ( #1704 )
2024-09-12 16:07:41 -04:00
Nuno Campos and GitHub
95b97d69ec
Nc/12sep/perf ( #1702 )
...
* Remove unused fil;e
* Add benchmark-fast command for running locally
* Small improvements to jsonplus serializer
* Don't use PregelNode.mapper when schema is a typed dict
- All it would do is create a new copy of same dict
* Avoid copying checkpoint when fetching at beginning of loop
* Fix needs array
* Update tests
2024-09-12 12:50:53 -07:00
Nuno Campos
8e578a0f78
Add workflow dispatch
2024-09-12 11:07:39 -07:00
Nuno Campos and GitHub
dd0c17dda9
ci: Cache baseline benchmark results ( #1701 )
2024-09-12 11:06:31 -07:00
Nuno Campos and GitHub
8f87cd1c91
Performance improvements in core library ( #1683 )
...
* Performance improvements in core library
- Avoid creating new callback manager when received one as arg
- Avoid looking for config when already received one as arg
- Avoid copies of values in ensure_config/merge_configs
- Implement version of ensure_config that accepts multiple configs (avoids calling merge_configs first)
- Avoid calling merge_configs when we only need to attach extra tags/metadata
* Fix
* Fix
* Try again
* Debug ci job
* Fix
* Try again
* Try again
* Try again
* Some more variations
* Attach annotation to first changed file
* Fix
* Re-enable benchmarks
2024-09-12 11:01:37 -07:00
Vadym Barda and GitHub
2ef551fac7
ci: add more dependencies for dev notebook testing ( #1700 )
2024-09-12 16:59:03 +00:00
vbarda
fc4243ae67
ci: call -> dispatch for notebooks
2024-09-12 12:21:32 -04:00
Vadym Barda and GitHub
889cc9b394
ci: add GHA to execute how-to notebooks ( #1694 )
2024-09-12 15:39:15 +00:00
Nuno Campos and GitHub
73d1051034
Merge pull request #1693 from langchain-ai/nc/11sep/kafka-finally-send
...
kafka: Expose finally_send as public api
2024-09-11 16:48:41 -07:00
Nuno Campos
571623442a
Avoid closing drain before seeing first message in either topic
2024-09-11 16:45:43 -07:00
Nuno Campos and GitHub
33017b53d0
Update bench.yml
2024-09-11 16:38:06 -07:00
Nuno Campos and GitHub
c172362918
Merge pull request #1691 from langchain-ai/nc/11sep/kafka-sync
...
kafka: Implement sync orchestrator and executor classes
2024-09-11 16:34:01 -07:00
Nuno Campos and GitHub
115c37acea
Merge pull request #1686 from langchain-ai/nc/11sep/kafka-configurable-consumer-producer
...
kafka: Make consumer and producer classes configurable
2024-09-11 16:33:15 -07:00
vbarda
cd5f5c11f5
ci: update checks for overall CI success
2024-09-11 19:32:20 -04:00
Nuno Campos
dd68babac7
kafka: Expose finally_send as public api
...
- Enables attaching a list of messages (topic/key/value) to send when run finishes
2024-09-11 16:31:35 -07:00
Vadym Barda and GitHub
63c34ca992
langgraph: update snapshots for 0.3.x core tests ( #1692 )
2024-09-11 19:28:47 -04:00
Nuno Campos
4accc19734
kafka: Implement sync orchestrator and executor classes
2024-09-11 16:06:50 -07:00
Vadym Barda and GitHub
84643b2789
langgraph: update core & snapshots ( #1689 )
2024-09-11 21:59:12 +00:00
Nuno Campos
217b07ae65
kafka: Make consumer and producer classes configurable
...
- Define protocol for sync and async producer and consumer
- Accept consumer/producer as init args in Orchestrator/Executor
- If not passed in, create default consumer/producer as before
2024-09-11 14:27:08 -07:00
Nuno Campos
50744bc846
Fix
2024-09-11 13:43:24 -07:00
Nuno Campos
f179da00a0
update bench job
2024-09-11 13:41:45 -07:00
Nuno Campos and GitHub
8e275fa485
Merge pull request #1609 from langchain-ai/nc/4sep/benchmark
...
Add benchmark script
2024-09-11 12:29:22 -07:00
Nuno Campos
47dae71841
Remove files
2024-09-11 12:28:38 -07:00
Nuno Campos
de2850332d
Rename
2024-09-11 12:27:10 -07:00
Nuno Campos
bf4f8e67d8
Rename command
2024-09-11 12:25:22 -07:00
Nuno Campos
d844359d61
Fix output dir
2024-09-11 12:23:59 -07:00
Nuno Campos
5f2e9aafce
Fix
2024-09-11 12:22:18 -07:00
Nuno Campos
51b8cfca54
fix
2024-09-11 12:20:48 -07:00
Nuno Campos
309b259735
One more
2024-09-11 12:18:35 -07:00
Nuno Campos
c00e8c2b46
Fix
2024-09-11 12:17:56 -07:00
Vadym Barda and GitHub
ee28fd3324
docs: update how-tos to support pydantic v1 and v2 ( #1682 )
2024-09-11 19:16:00 +00:00
Nuno Campos
710b4179da
Add ci job
2024-09-11 12:14:06 -07:00