File size: 3,092 Bytes
8debeb6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[
  {
    "type": "function",
    "function": {
      "name": "add_event_date",
      "description": "Add event by title and date.",
      "parameters": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title of event ."
          },
          "date": {
            "type": "string",
            "description": "The date to add events for, in the format \"Year-Month-Day\". The selected date must be within one year from Current Date."
          },
          "time": {
            "type": "string",
            "description": "Optional. The time to add events at, in the format \"HH:MM\". Leave blank if not applicable."
          }
        },
        "required": [
          "title",
          "date"
        ]
      }
    }
  },
  {
    "type": "function",
    "function": {
      "name": "delete_event_date",
      "description": "Delete event by title and date.",
      "parameters": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title of event that want to delete."
          },
          "date": {
            "type": "string",
            "description": "The date to delete events for, in the format \"Year-Month-Day\". The selected date must be within one year from Current Date."
          }
        },
        "required": [
          "title",
          "date"
        ]
      }
    }
  },
  {
    "type": "function",
    "function": {
      "name": "update_event",
      "description": "update event by title and date.",
      "parameters": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title of event that want to update."
          },
          "date": {
            "type": "string",
            "description": "The date to update events for, in the format \"Year-Month-Day\". The selected date must be within one year from Current Date."
          },
          "time": {
            "type": "string",
            "description": "Optional. The time to update events at, in the format \"HH:MM\". Leave blank if not applicable."
          }
        },
        "required": [
          "title",
          "date"
        ]
      }
    }
  },
  {
    "type": "function",
    "function": {
      "name": "view_event_date",
      "description": "view event by date.",
      "parameters": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "The date to view events for, in the format \"Year-Month-Day\". The selected date must be within one year from Current Date."
          },
          "time": {
            "type": "string",
            "description": "Optional. The time to view events at, in the format \"HH:MM\". Leave blank if not applicable."
          }
        },
        "required": [
          "date"
        ]
      }
    }
  }
]