Actions6
Upload Markdown Document
AI-generatedSummary
Uploads a markdown document to a MemorAI collection for vectorization.
Inputs
- collectionIdForDocument (required) — Collection where the document will be created. Selected from available collections via getCollections.
- binaryPropertyName (required) — Name of the binary property containing the markdown file. Use a Read Binary File node before this one. Defaults to 'data'.
- chunkOptions — Optional chunking configuration for embedding. Contains chunkSize and chunkOverlap.
Output shape
JSON object returned from the MemorAI API containing uploaded document metadata.
Output is pushed as main output data via the node's execute method.
Examples
Example 1: Upload a markdown file from a binary property to a collection with default chunking.
Set collectionIdForDocument to target collection, keep binaryPropertyName as 'data' (from Read Binary File node), omit chunkOptions or accept defaults (chunkSize 1000, chunkOverlap 200).