li-plus / chatglm.cpp

C++ implementation of ChatGLM-6B & ChatGLM2-6B & ChatGLM3 & GLM4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

_C.pyi 的三個類成員變量是什麼意思?要怎麼填? 以及 ChatMessage裡的 tool_calls 要怎麼填

Eddy-Powers opened this issue · comments

class ToolCallMessage:
code: CodeMessage
function: FunctionMessage
type: str

class CodeMessage:
input: str

class FunctionMessage:
arguments: str
name: str