DeepchecksCallbackHandler#

class DeepchecksCallbackHandler#

Base callback handler that can be used to handle callbacks from langchain.

__init__(*args, app_name, app_version, env_type: EnvType = EnvType.PROD, host: str = None, api_key: str = None, logger: Logger = None, user_interaction_id: str | None = None, **kwargs)#
static __new__(cls, *args: Any, **kwargs: Any) Any#

Attributes

Methods

DeepchecksCallbackHandler.on_chain_end(...)

Run when chain ends running.

DeepchecksCallbackHandler.on_chain_start(...)

Run when chain starts running.

DeepchecksCallbackHandler.on_chat_model_start(...)

Run when ChatModel starts running.

DeepchecksCallbackHandler.on_llm_end(...)

Run when LLM ends running.

DeepchecksCallbackHandler.on_llm_error(...)

Run when LLM errors.

DeepchecksCallbackHandler.on_llm_start(...)

Run when LLM starts running.

DeepchecksCallbackHandler.on_retriever_end(...)

Run when Retriever ends running.

DeepchecksCallbackHandler.on_retriever_error(...)

Run when Retriever errors.

DeepchecksCallbackHandler.on_retriever_start(...)

Run when Retriever starts running.

DeepchecksCallbackHandler.to_str_dict(attributes)