File size: 2,952 Bytes
a9effa1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
698ce3e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9ef3aa7
 
 
 
 
ba3d8a5
9ef3aa7
 
 
 
 
 
3d63627
 
 
 
 
ba3d8a5
3d63627
 
 
 
 
 
a9effa1
 
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
[
    {
        "type": "function",
        "function": {
            "name": "calculate_sum",
            "description": "Calculates the sum of a list of numbers.",
            "parameters": {
                "type": "object",
                "properties": {
                    "numbers": {
                        "type": "array",
                        "description": "A list of numbers to be summed from the question."
                    }
                },
                "required": [
                    "numbers"
                ]
            }
        }
    },
    {
        "type": "function",
        "function": {
            "name": "retrieve_knowledge",
            "description": "Retrieves knowledge from a database with a provided query.",
            "parameters": {
                "type": "object",
                "properties": {
                    "query": {
                        "type": "string",
                        "description": "The query to search for in the vector store."
                    },
                    "n_results": {
                        "type": "integer",
                        "description": "The number of results to return. Default is 1."
                    }
                },
                "required": [
                    "query"
                ]
            }
        }
    },
    {
        "type": "function",
        "function": {
            "name": "visit_webpage",
            "description": "Visits a webpage at the given URL and reads its content as a markdown string.",
            "parameters": {
                "type": "object",
                "properties": {
                    "url": {
                        "type": "string",
                        "description": "The URL of the webpage to visit."
                    }
                },
                "required": [
                    "url"
                ]
            }
        }
    },
    {
        "type": "function",
        "function": {
            "name": "get_production_status",
            "description": "This tool retrieves the current production status including various metrics such as operating time, unplanned stops, quality rates, availability, and performance indicators. Useful for understanding the overall production health and efficiency.",
            "parameters": {
                "type": "object",
                "properties": {},
                "required": []
            }
        }
    },
    {
        "type": "function",
        "function": {
            "name": "get_downtimes",
            "description": "This tool provide the production downtimes which is useful for understanding production issues and causes. Data contains information about downtimes including their description, duration and causes.",
            "parameters": {
                "type": "object",
                "properties": {},
                "required": []
            }
        }
    }
]