Update reply_message pydantic description
Build Agents Runtime / build (push) Successful in 3m8s
Details
Build Agents Runtime / build (push) Successful in 3m8s
Details
This commit is contained in:
parent
3f48ad638f
commit
871d341161
|
|
@ -167,7 +167,7 @@ class AppointmentIntentSchema(BaseModel):
|
|||
appointment_date: str = Field(description="The date they want to visit (e.g. 'Monday', 'Tomorrow', '10/12/2026'). Leave empty if not specified.")
|
||||
appointment_time: str = Field(description="The time they want to visit (e.g. 'Morning', '3 PM'). Leave empty if not specified.")
|
||||
missing_info: list[str] = Field(description="List of fields that are still missing and need to be asked. E.g. ['department', 'appointment_date']")
|
||||
reply_message: str = Field(description="A natural, friendly message to send back to the user. E.g. 'I can help you book that. Which department would you like to visit?' or 'Your appointment is booked!'")
|
||||
reply_message: str = Field(description="The message to send to the user. IMPORTANT: If asking for department, you MUST list the 4 available departments: Cardiology, General Medicine, Pediatrics, Orthopedics.")
|
||||
|
||||
@activity.defn
|
||||
async def parse_booking_intent_activity(chat_history: list[dict]) -> dict:
|
||||
|
|
|
|||
Loading…
Reference in New Issue