Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
LangChain & LangSmith Course
·
Module 4
Creating Structured Tools
1
Structured LLM Output with Pydantic
Define a structured output schema for an LLM call using a Pydantic model and the `.with_structured_output()` method.
2
Parsing LLM Responses with JsonOutputParser
Parse an unstructured LLM response into a predefined JSON schema using JsonOutputParser.
3
Custom Tools with @tool Decorator
Define a custom function as a LangChain tool using the @tool decorator, including typed arguments and a docstring for the model.
4
Integrate Custom Tools for Single-Step Function Calling
Bind the custom tool to a chat model for reliable, single-step function calling.
Next module isn't ready yet,
Back to course
Previous module
Managing Conversational Context
Next module