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

Properties

type

ts
type: "functionCall";

Defined in: types.ts:326


name

ts
name: string;

Defined in: types.ts:327


description?

ts
optional description: string;

Defined in: types.ts:328


params

ts
params: any;

Defined in: types.ts:329


result

ts
result: any;

Defined in: types.ts:330


rawCall?

ts
optional rawCall: LlamaTextJSON;

Defined in: types.ts:331


startsNewChunk?

ts
optional startsNewChunk: boolean;

Defined in: types.ts:338

Whether this function call starts a new function calling chunk.

Relevant only when parallel function calling is supported.