Skip to main content
Loading navigation
Back to prompt library

Build LangChain Metaflow Pipeline

Linked challenge: Build an ONDC Grocery Triage Workflow with LangChain and Metaflow

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
Import `from langchain.agents import create_openai_tools_agent` and `from metaflow import FlowSpec, step`. Build a Metaflow flow named `ONDCInventoryFlow` that ingests incoming ONDC grocery search streams, evaluates inventory levels with a LangChain tool-calling agent, and outputs structured fulfillment recommendations.