Beta
Includes a LLM-friendly version of the document in the instruction
client.agent.action.generate({ schemaId, documentId, instruction: 'Give the following document value:\n $document \n ---\nGenerate keywords.', instructionParams: { document: { type: 'document', }, }, target: {path: 'keywords' }}) Copy
client.agent.action.generate({ schemaId, documentId, instruction: 'Give the following document value:\n $document \n ---\nGenerate keywords.', instructionParams: { document: { type: 'document', }, }, target: {path: 'keywords' }})
Includes a LLM-friendly version of the document in the instruction