In order to export only certain chats (or to include further filtering requirements), the SQL queries in main.py can be modified directly.