promptflow

Форк
0
50 строк · 1.7 Кб
1
[
2
    {
3
        "type": "function",
4
        "function": {
5
            "name": "get_current_weather",
6
            "description": "Get the current weather",
7
            "parameters": {
8
                "type": "object",
9
                "properties": {
10
                    "location": {
11
                        "type": "string",
12
                        "description": "The city and state, e.g. San Francisco, CA"
13
                    },
14
                    "format": {
15
                        "type": "string",
16
                        "enum": ["celsius", "fahrenheit"],
17
                        "description": "The temperature unit to use. Infer this from the users location."
18
                    }
19
                },
20
                "required": ["location", "format"]
21
            }
22
        }
23
    },
24
    {
25
        "type": "function",
26
        "function": {
27
            "name": "get_n_day_weather_forecast",
28
            "description": "Get an N-day weather forecast",
29
            "parameters": {
30
                "type": "object",
31
                "properties": {
32
                    "location": {
33
                        "type": "string",
34
                        "description": "The city and state, e.g. San Francisco, CA"
35
                    },
36
                    "format": {
37
                        "type": "string",
38
                        "enum": ["celsius", "fahrenheit"],
39
                        "description": "The temperature unit to use. Infer this from the users location."
40
                    },
41
                    "num_days": {
42
                        "type": "integer",
43
                        "description": "The number of days to forecast"
44
                    }
45
                },
46
                "required": ["location", "format", "num_days"]
47
            }
48
        }
49
    }
50
]

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.