Back to prompt library
Build LangGraph REIT Refinancing State Graph
Linked challenge: Build Office REIT Debt Refinancing & Debt Yield Analyzer with LangChain & LangGraph
Prompt source
implementation9 lines3 sectionsNo variables0 checklist items
from langgraph.graph import StateGraph, END
from typing import TypedDict
class RefiState(TypedDict):
noi: float
debt: float
target_yield: float
paydown: float
feasible: bool
builder = StateGraph(RefiState)