Clear Memory
AI-generatedSummary
Clear messages from a chat session in Oracle database
Inputs
- sessionId — ID único da sessão de chat
- tableName — Nome da tabela para armazenar as mensagens (apenas letras, números e underscore)
Output shape
an array containing one object with success, sessionId, messagesDeleted, operation
If no rows were deleted, messagesDeleted will be 0; the operation never fails but returns a result object.
Examples
Example 1: Clear chat history for a session
Set operation to clearMemory, provide sessionId (e.g., "abc123"), optionally tableName (default CHAT_MEMORY). No other parameters needed.