danswer/backend/ee/onyx/background/task_name_builders.py
2024-12-13 09:56:10 -08:00

3 lines
139 B
Python

def name_chat_ttl_task(retention_limit_days: int, tenant_id: str | None = None) -> str:
return f"chat_ttl_{retention_limit_days}_days"