answer of this topic:
const items = this.getInputData(0);
const documentInput = (await this.getInputConnectionData("ai_document", 0));
const response = await documentInput.processAll(items);
return [ {json: { response } } ];
answer of this topic:
const items = this.getInputData(0);
const documentInput = (await this.getInputConnectionData("ai_document", 0));
const response = await documentInput.processAll(items);
return [ {json: { response } } ];