跳到主要内容

AiImportResult

Outcome of PromptsEngine.importBundle. Either every entry persisted with counts, or no entries persisted plus a per-entry error report.

NameTypeDescriptionNotes
successBooleanTrue when the whole bundle was imported.[required] [example: true]
importedAiImportResult_imported[optional]
errorsListWhat was rejected, per entry. Present on failure - and then nothing was imported.[optional] [example: []]