Graphorin API reference v0.12.1
Graphorin API reference / @graphorin/reranker-llm / / defaultPassageExtractor
Function: defaultPassageExtractor()
ts
function defaultPassageExtractor(record): string;Defined in: packages/reranker-llm/src/text-extraction.ts:22
Walks text → summary → value → label → id to find the best passage representation of a memory record.
Parameters
| Parameter | Type |
|---|---|
record | MemoryRecord |
Returns
string