DeepchecksLLMClient.log_interaction#

DeepchecksLLMClient.log_interaction(app_name: str, version_name: str, env_type: EnvType | str, interaction: LogInteraction) str#

Log a single interaction.

Parameters:
app_namestr

Application name

version_namestr

Name of the version to which this interaction will be added

env_typeEnvType or str

Type of environment. Allowed values: ‘eval’, ‘prod’, ‘pentest’

interactionLogInteraction

The interaction data to log.

Returns
——-
str

The uuid of the interaction