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:155

Properties

type

ts
type: "functionCall";

Defined in: types.ts:156


name

ts
name: string;

Defined in: types.ts:157


description?

ts
optional description: string;

Defined in: types.ts:158


params

ts
params: any;

Defined in: types.ts:159


result

ts
result: any;

Defined in: types.ts:160


rawCall?

ts
optional rawCall: LlamaTextJSON;

Defined in: types.ts:161


startsNewChunk?

ts
optional startsNewChunk: boolean;

Defined in: types.ts:168

Whether this function call starts a new function calling chunk.

Relevant only when parallel function calling is supported.