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

Properties

type

ts
type: "functionCall";

Defined in: types.ts:333


name

ts
name: string;

Defined in: types.ts:334


description?

ts
optional description: string;

Defined in: types.ts:335


params

ts
params: any;

Defined in: types.ts:336


result

ts
result: any;

Defined in: types.ts:337


rawCall?

ts
optional rawCall: LlamaTextJSON;

Defined in: types.ts:338


startsNewChunk?

ts
optional startsNewChunk: boolean;

Defined in: types.ts:345

Whether this function call starts a new function calling chunk.

Relevant only when parallel function calling is supported.