PromptCompletionModelResponseReceivedEvent type
Type signature for the responseReceived
event of a PromptCompletionModel
.
type PromptCompletionModelResponseReceivedEvent = (
context: TurnContext,
memory: Memory,
response: PromptResponse<string>,
streamer: StreamingResponse
) => void