Get extraction prompt
get_extraction_promptAdd a document to the knowledge graph by extracting it YOURSELF, in this chat.
STEP 1 of 4. Use whenever the user shares a document/notes/transcript and
wants it captured in the graph, and you (this assistant) should do the
extraction. `memory` is the slug from list_my_memories.
Returns a `passes` list. The flow: (1) run the `classes` pass prompt over
the document you already have; (2) run the `objects` pass prompt and draft
candidate objects/events; (3) call resolve_names ONCE with every candidate
name and reuse each returned canonical name + class; (4) call
submit_extraction_from_llm(memory, results). The document is NOT sent to
the server, and no object list is embedded in the prompts — resolve_names
is how you see what already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||