Class RetrievalResult<T>
- Namespace
- AiDotNet.RetrievalAugmentedGeneration.Graph
- Assembly
- AiDotNet.dll
Represents a retrieval result from the hybrid retriever.
public class RetrievalResult<T>
Type Parameters
TThe numeric type.
- Inheritance
-
RetrievalResult<T>
- Inherited Members
Properties
Depth
Gets or sets the graph traversal depth (0 for initial candidates).
public int Depth { get; set; }
Property Value
Embedding
Gets or sets the embedding vector.
public Vector<T>? Embedding { get; set; }
Property Value
- Vector<T>
NodeId
Gets or sets the node ID.
public string NodeId { get; set; }
Property Value
ParentNodeId
Gets or sets the parent node ID (for graph-traversed results).
public string? ParentNodeId { get; set; }
Property Value
RelationType
Gets or sets the relationship type (for graph-traversed results).
public string? RelationType { get; set; }
Property Value
Score
Gets or sets the relevance score (0-1, higher is more relevant).
public double Score { get; set; }
Property Value
Source
Gets or sets how this result was retrieved.
public RetrievalSource Source { get; set; }