Extract Document Data using Generative Extractor not working in unattended mode

When we try to publish project with Extract Document Data using Generative Extractor, getting below error Invoke Workflow File: Could not load file or assembly ‘CustomGptDocumentTyp.FSHAF3UAlKQ1SEvZe2dcKhP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.

The same code works fine from Studio. But when running in attended mode from assistant in same machine , getting above exception.