ai/test.json

33 lines
817 B
JSON

{
"model": "chatglm3-6b",
"messages": [
{
"role": "user",
"content": "北京天气"
}
],
"functions": [
{
"get_weather": {
"name": "get_weather",
"description": "Get the current weather for `city_name`",
"params": [
{
"name": "city_name",
"description": "The name of the city to be queried",
"type": "str",
"required": "True"
}
]
}
}
],
"temperature": 0.1,
"top_p": 0.1,
"max_length": 8192,
"stream": false,
"kb_name": "ceshi",
"system_prompt": "",
"top_k": 2,
"score_threshold": 1.0
}