Closed foldl closed 3 months ago
I have tested this model with same system prompt of GLM4. This model only emits parameters, but not the function name. For example, here,
get_weather
is not generated:You > what's the weather like in beijng? A.I. > {"city_name": "beijing"}
Hi, we've uploaded a function calling demo, you may check it. demo
Got it. I forgot to have a check on tokenization_chatglm.py
.
I managed to do a full demo here:
https://github.com/foldl/chatllm.cpp/blob/master/docs/tool_calling.md#codegeex4
I have tested this model with same system prompt of GLM4. This model only emits parameters, but not the function name. For example, here,
get_weather
is not generated: