Skip to content

Type Alias: ChatModelFunctionCall ​

ts
type ChatModelFunctionCall = {
  type: "functionCall";
  name: string;
  description?: string;
  params: any;
  result: any;
  rawCall?: LlamaTextJSON;
  startsNewChunk?: boolean;
};

Defined in: types.ts:378

Properties ​

type ​

ts
type: "functionCall";

Defined in: types.ts:379


name ​

ts
name: string;

Defined in: types.ts:380


description? ​

ts
optional description: string;

Defined in: types.ts:381


params ​

ts
params: any;

Defined in: types.ts:382


result ​

ts
result: any;

Defined in: types.ts:383


rawCall? ​

ts
optional rawCall: LlamaTextJSON;

Defined in: types.ts:384


startsNewChunk? ​

ts
optional startsNewChunk: boolean;

Defined in: types.ts:391

Whether this function call starts a new function calling chunk.

Relevant only when parallel function calling is supported.