Skip to content
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

docs: add docs on StrOutputParser #28089

Merged
merged 4 commits into from
Nov 13, 2024
Merged

docs: add docs on StrOutputParser #28089

merged 4 commits into from
Nov 13, 2024

Conversation

ccurme
Copy link
Collaborator

@ccurme ccurme commented Nov 13, 2024

Think it's worth adding a quick guide and including in the table in the concepts page. StrOutputParser can make it easier to deal with the union type for message content. For example, ChatAnthropic with bound tools will generate string content if there are no tool calls and list[dict] content otherwise.

I'm also considering removing the output parser section from the "quickstart" tutorial; we can link to this guide instead.

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Nov 13, 2024
Copy link

vercel bot commented Nov 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 4:52pm

@dosubot dosubot bot added the 🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder label Nov 13, 2024
@ccurme ccurme merged commit 940e93e into master Nov 13, 2024
15 checks passed
@ccurme ccurme deleted the cc/docs_parse_strings branch November 13, 2024 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder size:L This PR changes 100-499 lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant