File size: 743 Bytes
608a909
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
tools = [
     {
        "type": "function",
        "function": {
            "name": "get_user_query",
            "description": "Get the search query from the users message and use a search engine to get the result",
            "parameters": {
                "type": "object",
                "properties": {
                    "search_query": {
                        "type": "string",
                        "description": "The message content provided by the user, e.g., 'What is the weather in San Francisco today?' or 'What is the latest update in the AI space?'"
                    }
                },
                "required": ["search_query"],
                "additionalProperties": False
            }
        }
     }
]