Please support stateful tools in langchain-js #8000
Unanswered
waltmayfield
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked other resources
Commit to Help
Example Code
Description
I'm trying to inject state into a langgraph tool build with langgraph-js. I see that the python version of langgraph has "InjectedState" to allow for some function arguments to be populated from the state graph.
Please support this in the javascript version of langgraph.
[1] https://langchain-ai.github.io/langgraph/reference/prebuilt/#langgraph.prebuilt.tool_node.InjectedState
System Info
$npm info langchain
[email protected] | MIT | deps: 12 | versions: 316
Typescript bindings for langchain
https://github.com/langchain-ai/langchainjs/tree/main/langchain/
keywords: llm, ai, gpt3, chain, prompt, prompt engineering, chatgpt, machine learning, ml, openai, embeddings, vectorstores
dist
.tarball: https://registry.npmjs.org/langchain/-/langchain-0.3.21.tgz
.shasum: 5f41f9e11f7f087b1883cc579c2f8e11597d6e4f
.integrity: sha512-fpor/V/xJRoLM7s1yQGlUE6aZIe6LLm7ciZcstNbBUYdFpCSigvADsW2cqlBCdbMXJxb5I/z9jznjGnmciJ+aw==
.unpackedSize: 2.9 MB
dependencies:
@langchain/openai: >=0.1.0 <0.6.0 jsonpointer: ^5.0.1 uuid: ^10.0.0
@langchain/textsplitters: >=0.0.0 <0.2.0 langsmith: >=0.2.8 <0.4.0 yaml: ^2.2.1
js-tiktoken: ^1.0.12 openapi-types: ^12.1.3 zod-to-json-schema: ^3.22.3
js-yaml: ^4.1.0 p-retry: 4 zod: ^3.22.4
maintainers:
dist-tags:
latest: 0.3.21 tag-for-publishing-older-releases: 0.2.20 next: 0.3.2-rc.0
published yesterday by benjamincburns [email protected]
Beta Was this translation helpful? Give feedback.
All reactions