Back to prompt library
Initialize LangChain Agent with Instructor
Linked challenge: Public Health Misinformation Triage Agent with LangChain and Instructor
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Write a Python script using `langchain` and `instructor` to define a Pydantic model `ClaimTriage` and initialize an agent chain that parses raw public health claims.