DeepchecksLLMClient.update_interaction#

DeepchecksLLMClient.update_interaction(app_name: str, version_name: str, user_interaction_id: str, annotation: AnnotationType = None, annotation_reason: str | None = None, custom_props: Dict[str, Any] | None = None)#

Update a specific interaction by its user_interaction_id.

Parameters:
app_namestr

Application name

version_name

Name of the version to which this interaction belongs

user_interaction_id

Unique id of the interaction to update

annotation

Could be one of AnnotationType.GOOD, AnnotationType.BAD, AnnotationType.UNKNOWN

annotation_reason

String that explains the reason for the annotation

custom_props:

Dictionary of custom properties for interaction

Returns:
None