Comments (2)
We've started using Zod for the StructuredOutputParser we introduced yesterday, thanks for the suggestion! https://hwchase17.github.io/langchainjs/docs/modules/prompts/output_parsers#structured-output-parser-with-zod-schema
It sounds like an interesting idea to use these output parsers for the agent tools, thoughts @hwchase17 ?
from langchainjs.
Hi, @Marviel! I'm here to help the LangChain team manage their backlog and I wanted to let you know that we are marking this issue as stale.
From what I understand, you suggested using Zod, a runtime type validation library, to specify the expected inputs of a tool. You were willing to work on implementing this feature. nfcampos also mentioned using Zod for the StructuredOutputParser and thought it was an interesting idea to use these output parsers for the agent tools.
Before we close this issue, we wanted to check with you if it is still relevant to the latest version of the LangChain repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself or it will be automatically closed in 7 days.
Thank you for your contribution and we appreciate your understanding!
from langchainjs.
Related Issues (20)
- Add support for GPT-4o HOT 8
- Delete `JsonOutputToolsParser` from langchain & re-export from core
- @langchain/core version 0.1.63 removes similaritySearchWithScore ? HOT 1
- Error: Unknown model for all Groq models in ChatGroq HOT 5
- Unable to pass message history with tool use to anthropic models HOT 6
- show sidebars inside how to's/tutorials
- move installation guide to how to's
- support for azureADTokenProvider in AzureChatOpenAI HOT 3
- handleLLMStart handler is not called when using AgentExecutor. handleLLMEnd is called thou. HOT 2
- Endpoint issue with Gemini Pro 1.5 and Gemini Flash Support HOT 12
- Callback tests are inconsistent when running LS in background
- `RunnableWithMessageHistory` does not work with chat models alone HOT 1
- No tools_call in message error on ChatVertexAI HOT 18
- Using Llama CPP locally an error occurs after many questions: HOT 3
- Custom 'apiVersion' and 'baseUrl' parameters not being respected HOT 6
- withStructuredOutput is not a function on ChatGoogleGenerativeAI HOT 8
- Anthropic default max tokens is less than Anthropic allows (4096 should be max, but restricted to 2048) HOT 4
- documents in formattedDocs function is undefined HOT 4
- Is there a Langchain migration guide for going from Pinecone pod-based to serverless? HOT 5
- Unable to obtain the streaming transmission method, it always returns only after receiving the entire text HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from langchainjs.