Commit Graph

2743 Commits

Author SHA1 Message Date
Nuno Campos 3ea5202ac2 Export Annotation etc from root (#299)
* Export Annotation etc from root

* Fix
2024-08-06 12:56:02 -07:00
Jacob Lee d3080bd276 Release 0.0.32 (#298) 2024-08-06 12:09:11 -07:00
Nuno Campos a1888dc8c3 Merge pull request #1232 from langchain-ai/dqbd/js-output-schema
feat(sdk-js): add output schema to match API, expose copy method for thread
2024-08-06 08:18:00 -07:00
Tat Dat Duong fe2ca20afa Reformat 2024-08-06 16:24:12 +02:00
Tat Dat Duong 09c1c41ef7 Bump to 0.0.4 2024-08-06 15:34:28 +02:00
Tat Dat Duong 5e9eba0ef6 Expose copy method for thread 2024-08-06 14:15:04 +02:00
Tat Dat Duong fd262c2e9e feat(sdk-js): Add output schema typedef 2024-08-06 14:06:47 +02:00
dependabot[bot] b6fd99fd39 Bump fast-xml-parser in the npm_and_yarn group across 1 directory (#296)
Bumps the npm_and_yarn group with 1 update in the / directory: [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser).


Updates `fast-xml-parser` from 4.4.0 to 4.4.1
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.4.0...v4.4.1)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 11:32:59 -07:00
Jacob Lee 3500df4d22 Adds signal test, fix bug (#297)
* Adds signal test, fix bug

* Lint

* Fix
2024-08-05 11:32:46 -07:00
Nuno Campos e0801a0f01 Use config.signal to control cancellation (#294)
* Use config.signal to control cancellation

* Lint
2024-08-05 11:09:34 -07:00
Nuno Campos c323f35935 Update dev dependencies with security vulnerabilities (#295) 2024-08-05 10:51:01 -07:00
dependabot[bot] 320250f885 Bump semver from 7.5.1 to 7.6.2 (#197)
Bumps [semver](https://github.com/npm/node-semver) from 7.5.1 to 7.6.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.5.1...v7.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 17:37:41 +00:00
Nuno Campos 2f390c0a67 Define StateGraph State in a single delcaration, from which both reducers and state and update interfaces are inferred (#289)
* Define StateGraph State in a single delcaration, from which both reducers and state and update interfaces are inferred

This more closely matches python, where a single declaration gives you all three

* Use type guard instead of instanceof

* Fix build by bumping core dep

---------

Co-authored-by: jacoblee93 <jacoblee93@gmail.com>
2024-08-02 17:46:45 -07:00
Tat Dat Duong 30aa67f1ac Bump to 0.0.3 2024-08-01 14:14:40 -07:00
Tat Dat Duong 4e2f6e76a7 Improve types for updateState 2024-08-01 14:14:12 -07:00
Nuno Campos 4844537cf1 Merge pull request #1188 from langchain-ai/nc/1aug/update-sdks
Nc/1aug/update sdks
2024-08-01 09:54:47 -07:00
Nuno Campos 5dddcc803a Mark all schemas as optional in js and py sdk typings 2024-08-01 09:43:46 -07:00
Nuno Campos 85e8c7094a Fix create entrypoints script 2024-08-01 09:43:30 -07:00
Bagatur 8268d62e99 docs: rm discord (#284)
* docs: rm discord

* sync readme

---------

Co-authored-by: bracesproul <braceasproul@gmail.com>
2024-07-31 13:38:16 -07:00
Jacob Lee a8c4f81a7c Add quickstart to tutorials (#288) 2024-07-31 13:38:00 -07:00
Brace Sproul baf0155938 docs[minor]: Port concepts pages from PY docs (#286)
* docs[minor]: Port concepts pages from PY docs

* update docs

* fix broken links
2024-07-29 13:13:59 -07:00
Justin Levi Winter be165c77d0 tslab instructions - Update README.md (#280)
* tslab instructions - Update README.md

I was very familiar with Jupyter notebooks but hadn't used tslab before. Took me a minute to figure out how to run the examples. This may not be the best approach, but got me up and running and thought it might help someone else.

* Update README.md

* Sync readmes

---------

Co-authored-by: Jacob Lee <jacoblee93@gmail.com>
2024-07-25 11:10:56 -07:00
Jacob Lee 773414fcfc Update README code (#283) 2024-07-24 18:32:34 -07:00
Brace Sproul 7d9c9847c9 infra[patch]: Use non rc of langchain/scripts 0.0.19 (#282) 2024-07-24 12:51:40 -07:00
Brace Sproul d5c8a517c3 infra[patch]: Use latest turbo repo and build setup (#271)
* infra[patch]: Use latest turbo repo and build setup

* bruh

* fix script

* try this

* cr

* cr

* cr

* cr

* cr

* cr

* cr

* new unit test

* cr

* drop ubuntu test env

* try sum new for cache

* bruh

* fast fail false

* cr

* cr

* cr

* bump turbo version

* tmp try canary

* cr

* cr

* cr

* cr

* cr

* upgrade langchain/scripts

* cr

* cr

* cr

* cr
2024-07-24 12:41:11 -07:00
Brace Sproul 653887d0d9 docs[minor]: Add wait user input doc (#272) 2024-07-24 12:24:19 -07:00
Brace Sproul c5bdd0a9b2 docs[minor]: Edit graph state how to guide (#269)
* docs[minor]: Edit graph state how to guide

* lets gooo

* cr

* update min/max core version

* cr

* update ci yarn install command
2024-07-24 12:24:13 -07:00
William FH 4a7345affb Update typedoc build (#1087) 2024-07-23 21:27:40 -07:00
Jacob Lee 8f1e8e29b7 Release 0.0.31 (#279) 2024-07-23 01:32:41 +00:00
Jacob Lee f692b617c8 Fix bundlers dropping AsyncLocalStorage initialization in entrypoint (#278)
* Fix bundlers dropping AsyncLocalStorage initialization in entrypoint

* Update lock
2024-07-22 18:30:17 -07:00
Jacob Lee 8768872d37 Adds guide on streaming without LangChain models (#274)
* Adds guide on streaming without LangChain models

* Fix notebook
2024-07-21 23:08:01 -07:00
Jacob Lee 14306ea09d Release 0.0.30 (#276) 2024-07-21 23:07:10 -07:00
Jacob Lee a46d8da50b Update conditional edge tracing for new core version (#275) 2024-07-21 23:01:40 -07:00
Jacob Lee 42c9d068c0 Adds example of how to stream a structured final response from an agent (#273)
* Adds example of how to stream a structured final response from an agent

* Fix CI by downgrading to 22.4.1
2024-07-19 17:05:29 -07:00
Brace Sproul 139c64b4f1 docs[minor]: Add human in the loop breakpoints doc (#268) 2024-07-18 10:12:45 -07:00
Jacob Lee 134d24f4d5 Release 0.0.29 (#270) 2024-07-18 01:19:21 -07:00
Jacob Lee 80645ae120 Adds automatic error handling for ToolNode, RemoveMessage support (#266)
* Adds automatic error handling for ToolNode

* Adds support for RemoveMessage, add tool calling error guide

* Fix typos
0.0.29
2024-07-18 01:17:09 -07:00
Brace Sproul a5457badb7 docs[minor]: Manage conversation history doc (#262)
* docs[minor]: Manage conversation history doc

* finish doc
2024-07-16 16:44:06 -07:00
Brace Sproul b42c0bdf35 Release 0.0.28 (#263) 0.0.28 2024-07-16 15:23:36 -07:00
Brace Sproul dda5b91c81 infra[patch]: Set yarn version to 3.5.1 (#261)
* infra[patch]: Set yarn version to 3.5.1

* run yarn install
2024-07-16 13:15:03 -07:00
Brace Sproul ed94a045f2 minor: Allow RunnableToolLike (#260)
* minor: Allow RunnableToolLike

* cr
2024-07-16 11:00:15 -07:00
Vadym Barda c8ddceb633 sdk-js: release 0.0.2 (#1033) 2024-07-16 09:20:25 -04:00
Vadym Barda 9d7f471911 sdk-js: add thread_id and if_exists to ThreadsClient.create (#1032) 2024-07-16 09:18:22 -04:00
Jacob Lee c2d8620613 Release 0.0.27 (#259) 2024-07-16 05:12:38 +00:00
Brace Sproul df98e0a2d2 Handle ToolMessage outputs from tool funcs (#244)
* [minor]: Handle ToolMessage outputs from tool funcs

* format and lint

* Update types

* Update tool_executor.ts

* Pass raw tool call in

* Bump version

* Adds test

* Fix build

---------

Co-authored-by: jacoblee93 <jacoblee93@gmail.com>
2024-07-15 22:09:22 -07:00
Jacob Lee 20b74d69b1 Adds metadata corresponding to the current node to configs (#249)
* Adds metadata corresponding to the current node to configs

* Fix test
2024-07-15 21:15:53 -07:00
Jacob Lee 2af08c2484 Removes 'In[1]' column from docs (#258)
* Removes 'In[1]' column from docs

* Hide output indent columns too
2024-07-12 19:56:52 +00:00
Jacob Lee ba27825623 Update final repsonse streaming docs (#256) 2024-07-12 00:03:05 -07:00
Jacob Lee 60ae7acd72 Remove broken edit and view source buttons from docs (#255)
CC @vbarda
2024-07-11 15:11:54 -07:00
Vadym Barda 92b2a4e079 docs: add postgres checkpointer how-to (#254) 2024-07-11 17:22:20 -04:00