They attended the signing of a framework for co-operation in AI, days before France hosts a summit on the technology.