Skip to content

Commit ebe8eab

Browse files
Pierreguillaq
andauthored
Update examples/13_rag.py
Co-authored-by: guillaq <guillaume@workflowai.com>
1 parent 5c02325 commit ebe8eab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/13_rag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class AssistantMessage(Message):
9393

9494
class ChatbotOutput(BaseModel):
9595
"""Output model for the chatbot response."""
96-
assistant_message: AssistantMessage = Field(
96+
assistant_message: AssistantMessage = Field(default_factory=AssistantMessage,
9797
description="The chatbot's response message",
9898
)
9999

0 commit comments

Comments
 (0)