Skip to Content
Anuma SDKReactInternalFunctionsextractReservationReceipts

extractReservationReceipts

extractReservationReceipts(toolCallEvents?: LlmapiToolCallEvent[]): ReservationReceipt[]

Defined in: src/lib/chat/reservationReceipts.ts:53 

One receipt per kind for the turn’s booking and cancel calls, holding the last attempt’s outcome unless an earlier one was made or unknown.

Parameters

ParameterType

toolCallEvents?

LlmapiToolCallEvent[]

Returns

ReservationReceipt[]

Last updated on