Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/reranker-llm / PassageExtractor

Type Alias: PassageExtractor<TRecord>

ts
type PassageExtractor<TRecord> = (record) => string;

Defined in: text-extraction.ts:12

Type Parameters

Type ParameterDefault type
TRecord extends MemoryRecordMemoryRecord

Parameters

ParameterType
recordTRecord

Returns

string

Stable