Class ListenersUtil
-
- All Implemented Interfaces:
public class ListenersUtil
-
-
Method Summary
Modifier and Type Method Description static voidonRequest(ChatRequest chatRequest, Map<Object, Object> attributes, List<ChatModelListener> listeners)static voidonResponse(ChatResponse chatResponse, ChatRequest chatRequest, Map<Object, Object> attributes, List<ChatModelListener> listeners)static voidonError(Throwable error, ChatRequest chatRequest, Map<Object, Object> attributes, List<ChatModelListener> listeners)-
-
Method Detail
-
onRequest
static void onRequest(ChatRequest chatRequest, Map<Object, Object> attributes, List<ChatModelListener> listeners)
-
onResponse
static void onResponse(ChatResponse chatResponse, ChatRequest chatRequest, Map<Object, Object> attributes, List<ChatModelListener> listeners)
-
onError
static void onError(Throwable error, ChatRequest chatRequest, Map<Object, Object> attributes, List<ChatModelListener> listeners)
-
-
-
-