Skip to documentation
Docs navigation
Docs/enqueueTextIngest()
MemoGrafter

enqueueTextIngest()

Submit raw-text ingestion to the queue.

What it does

Submit raw-text ingestion to the queue.

Use this for large or latency-insensitive text ingestion when queue workers are configured.

Signature

TypeScript
enqueueTextIngest(text: string, sessionId: string, options?: IngestTextOptions & IngestOptions): Promise<void>

Parameters

text (string) — Raw text to analyze and convert into memories.
sessionId (string) — The application-owned session whose memory should be read or changed.
options? (IngestTextOptions & IngestOptions) — Optional limits, filters, tags, or operation-specific behavior.

Result

The requested identifier or text value.

Example

example.ts
await memo.enqueueTextIngest(documentText, "project-a");