Class: CallbackManager
Implements
CallbackManagerMethods
Constructors
constructor
• new CallbackManager(handlers?
)
Parameters
Name | Type |
---|---|
handlers? | CallbackManagerMethods |
Defined in
callbacks/CallbackManager.ts:67
Properties
onLLMStream
• Optional
onLLMStream: (params
: StreamCallbackResponse
) => void
| Promise
<void
>
Type declaration
▸ (params
): void
| Promise
<void
>
Parameters
Name | Type |
---|---|
params | StreamCallbackResponse |
Returns
void
| Promise
<void
>
Implementation of
CallbackManagerMethods.onLLMStream
Defined in
callbacks/CallbackManager.ts:64
onRetrieve
• Optional
onRetrieve: (params
: RetrievalCallbackResponse
) => void
| Promise
<void
>
Type declaration
▸ (params
): void
| Promise
<void
>
Parameters
Name | Type |
---|---|
params | RetrievalCallbackResponse |
Returns
void
| Promise
<void
>
Implementation of
CallbackManagerMethods.onRetrieve