CoolFace
Modelpublic

Fileportz/DeepSeek-V4.1-Flash

sourceHugging Facemitupdated 15d agoView on Hugging Face
0likes33downloads
test_input_1.json83 linesDownload Raw Back to tests
1{2    "thinking_mode": "thinking",3    "tools": [4        {5            "type": "function",6            "function": {7                "name": "get_weather",8                "description": "Get the weather for a specific location",9                "parameters": {10                    "type": "object",11                    "properties": {12                        "location": {13                            "type": "string",14                            "description": "The city name"15                        },16                        "unit": {17                            "type": "string",18                            "enum": ["celsius", "fahrenheit"],19                            "description": "Temperature unit"20                        }21                    },22                    "required": ["location"]23                }24            }25        },26        {27            "type": "function",28            "function": {29                "name": "search",30                "description": "Search the web for information",31                "parameters": {32                    "type": "object",33                    "properties": {34                        "query": {35                            "type": "string",36                            "description": "Search query"37                        },38                        "num_results": {39                            "type": "integer",40                            "description": "Number of results to return"41                        }42                    },43                    "required": ["query"]44                }45            }46        }47    ],48    "messages": [49        {50            "role": "system",51            "content": "You are a helpful assistant."52        },53        {54            "role": "user",55            "content": "What's the weather like in Beijing?"56        },57        {58            "role": "assistant",59            "reasoning_content": "The user wants the weather in Beijing. I should call get_weather.",60            "content": "",61            "tool_calls": [62                {63                    "type": "function",64                    "function": {65                        "name": "get_weather",66                        "arguments": "{\"location\": \"Beijing\", \"unit\": \"celsius\"}"67                    }68                }69            ]70        },71        {72            "role": "tool",73            "tool_call_id": "call_0",74            "content": "{\"temperature\": 22, \"condition\": \"sunny\", \"humidity\": 45}"75        },76        {77            "role": "assistant",78            "reasoning_content": "Got the weather data. Let me format a nice response.",79            "content": "The weather in Beijing is currently sunny with a temperature of 22\u00b0C and 45% humidity."80        }81    ]82}83