Method Resolve
Resolve(ChatBudgetRequest, ChatMemoryBudgetOptions)
Applies spec section 9.3's rules, in the order they apply.
public static ChatMemoryDecision Resolve(ChatBudgetRequest request, ChatMemoryBudgetOptions options)
Parameters
requestChatBudgetRequestThe preset, its geometry, the requested context and the two readings.
optionsChatMemoryBudgetOptionsThe budget's constants.
Returns
- ChatMemoryDecision
The verdict, the context to run at, and every term that was read.
Exceptions
- ArgumentNullException
optionsis null.