| from langchain.pydantic_v1 import BaseModel, Field | |
| class symptoms(BaseModel): | |
| symptoms: str = Field(description="query of user") | |
| class bookSlot(BaseModel): | |
| start_time: str = Field(description="starting time of the slot with date use this format '2024-09-20T15:30:00+05:30'.") | |
| end_time: str = Field(description="ending time of the slot with date use this format '2024-09-20T15:30:00+05:30'.") | |
| summary: str = Field(description="summary of the event with title.") | |
| class deleteSlot(BaseModel): | |
| start_time: str = Field(description="starting time of the slot with date use this format '2024-09-20T15:30:00+05:30'.") | |
| class reschedule_event(BaseModel): | |
| start_time: str = Field(description="starting time of the slot with date that need to be reschedule use this format '2024-09-20T15:30:00+05:30'.") | |
| new_start_time: str = Field(description="new starting time of the slot with date that need to be reschedule use this format '2024-09-20T15:30:00+05:30'.") | |
| new_end_time: str = Field(description="ending time of the slot with date that need to be reschedule use this format '2024-09-20T15:30:00+05:30'.") | |
| class listevent(BaseModel): | |
| target_date: str = Field(description="Target date for which we want to list the events.") | |
| class checkevent(BaseModel): | |
| date: str = Field(description="Target date for which we want to check the events.") | |