Click or drag to resize

AuditLogAIChatAudit Method

Audit an AI Chat exchange (one user message and its final reply). Token usage is taken from the agent's last exchange, the detail is the chat title.

Namespace: Seal.Model
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntax
C#
public static void LogAIChatAudit(
	SecurityUser user,
	AIAgent agent,
	string error = null,
	int? durationSeconds = null
)

Parameters

user  SecurityUser
 
agent  AIAgent
 
error  String  (Optional)
 
durationSeconds  NullableInt32  (Optional)
 
See Also