/
Set file retention of uploads in a chat

Set file retention of uploads in a chat

Purpose

The problem stems from a legal requirement, which means it needs to be addressed from the company's point of view rather than the end user's perspective.

Check here how the user experiences this: Expiration of Files Uploaded in a Chat

Scope

This only applies to the Upload & Ask assistant or files that are directly uploaded in the chat. It does not include files ingested into the knowledge base.

Setting the retention

The retention time can only be set via Environment variables of the Chat microservice. This means it requires a deployment of the solution in order to activate it.

FILE_RETENTION_IN_DAYS=0

Where 0 means infinite.
Else the number is in days.


Author

@Andreas Hauri

 

Related content

Expiration of Files Uploaded in a Chat
Expiration of Files Uploaded in a Chat
More like this
Upload & Ask
Read with this
Data redaction
Data redaction
More like this
How to build my first module With SDK and Webhooks
How to build my first module With SDK and Webhooks
Read with this
Image Upload
More like this
Ingestion
Read with this

© 2025 Unique AG. All rights reserved. Privacy PolicyTerms of Service