Seems like the AI runs wherever you want it - you enter an API endpoint.
https://manual.seafile.com/13.0/extension/seafile-ai/