Type Alias: LlamaChatResponseFunctionCall<Functions, FunctionCallName, Params>
ts
type LlamaChatResponseFunctionCall<Functions, FunctionCallName, Params> = {
functionName: FunctionCallName;
params: Params;
raw: LlamaTextJSON;
};Defined in: evaluator/LlamaChat/LlamaChat.ts:1019
Type Parameters
| Type Parameter | Default type |
|---|---|
Functions extends ChatModelFunctions | - |
FunctionCallName extends keyof Functions & string | string & keyof Functions |
Params | Functions[FunctionCallName]["params"] extends undefined | null | void ? undefined : GbnfJsonSchemaToType<Functions[FunctionCallName]["params"]> |
Properties
functionName
ts
functionName: FunctionCallName;Defined in: evaluator/LlamaChat/LlamaChat.ts:1026
params
ts
params: Params;Defined in: evaluator/LlamaChat/LlamaChat.ts:1027
raw
ts
raw: LlamaTextJSON;Defined in: evaluator/LlamaChat/LlamaChat.ts:1028