Unique identifier for the document (e.g., AIAgentNote.ID)
OptionalmetadataOptional metadata to preserve through the reranking process. Use this to store the original entity reference for zero-copy retrieval.
OptionaloriginalOriginal similarity score from vector search (for reference/logging)
Primary text content to be compared against the query for relevance scoring
A document to be reranked.