Type Alias: ChatSessionModelFunction<Params>
ts
type ChatSessionModelFunction<Params>: {
description: string;
params: Params;
handler: (params: GbnfJsonSchemaToType<Params>) => any;
};
Type Parameters
Type Parameter | Default type |
---|---|
Params extends GbnfJsonSchema | undefined | GbnfJsonSchema | undefined |
Type declaration
description?
ts
readonly optional description: string;
params?
ts
readonly optional params: Params;
handler()
ts
readonly handler: (params: GbnfJsonSchemaToType<Params>) => any;
Parameters
Parameter | Type |
---|---|
params | GbnfJsonSchemaToType <Params > |
Returns
any