File size: 235 Bytes
dd2e19c
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
from app.services.llm_service import call_gpt

def analyzer_node(state):
    response = call_gpt(
        "You are a software architect. Return structured JSON.",
        state["prompt"]
    )
    return {"structured_prompt": response}