We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b958e6f commit d1aa730Copy full SHA for d1aa730
2 files changed
python-langgraph/chains/binary_questions.py
@@ -26,5 +26,6 @@ class BinaryAnswer(BaseModel):
26
binary_question_model = ChatOpenAI(model="gpt-4o-mini", temperature=0)
27
28
BINARY_QUESTION_CHAIN = (
29
- binary_question_prompt | binary_question_model.with_structured_output(BinaryAnswer)
+ binary_question_prompt
30
+ | binary_question_model.with_structured_output(BinaryAnswer)
31
)
python-langgraph/chains/escalation_check.py
@@ -28,5 +28,6 @@ class EscalationCheck(BaseModel):
escalation_check_model = ChatOpenAI(model="gpt-4o-mini", temperature=0)
ESCALATION_CHECK_CHAIN = (
- escalation_prompt | escalation_check_model.with_structured_output(EscalationCheck)
+ escalation_prompt
32
+ | escalation_check_model.with_structured_output(EscalationCheck)
33
0 commit comments