RetrievalResult<T>

Models & Types · AiDotNet.RetrievalAugmentedGeneration.Graph

Represents a retrieval result from the hybrid retriever.

Constructors

Constructor Summary
RetrievalResult()

Properties

Property Summary
RetrievalSource Source { get; set; } Gets or sets how this result was retrieved.
Vector<T> Embedding { get; set; } Gets or sets the embedding vector.
double Score { get; set; } Gets or sets the relevance score (0-1, higher is more relevant).
int Depth { get; set; } Gets or sets the graph traversal depth (0 for initial candidates).
string NodeId { get; set; } Gets or sets the node ID.
string ParentNodeId { get; set; } Gets or sets the parent node ID (for graph-traversed results).
string RelationType { get; set; } Gets or sets the relationship type (for graph-traversed results).