-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding output parsers to spaces #3
Comments
Thanks this looks cool i'll dig in deeper. There are two built in output parsers in
I tend to add features based on uses-cases so will try and figure out some to extending our current output parsing the zod librasry that langchain uses can be used by us as well. |
just finished a big refactor to make the api simpler to use and extend. also added support for zod. we now have output parser support for plaintext, simple key-value or a zod schema built in. The prompts are now super-simple and mostly extend from
|
Are ZPrompt or zod (or grammars) supported currently? I couldn't find anything |
The whole framework has changed significantly and is now based on the prompt as. a program idea from the Stanford DSP paper. while zod is not supported anymore it's not required you can have typed inputs and outputs on the prompt (prompt signature) |
And you can use |
There is a lot of work that's happening around llm outputs. Some interesting things we can look at:
https://hwchase17.github.io/langchainjs/docs/modules/prompts/output_parsers/
https://github.com/shreyar/guardrails
https://eyurtsev.github.io/kor/index.html
We can look at specific implementations that are described here or we can build one from scratch.
The text was updated successfully, but these errors were encountered: