PredictedTriple

Models & Types · AiDotNet.RetrievalAugmentedGeneration.Graph.Embeddings

Represents a predicted (head, relation, tail) triple with its plausibility score.

For Beginners

When the link predictor finds possible missing facts, each prediction includes:

  • The head entity, relation, and tail entity forming the predicted fact
  • A score indicating how plausible the fact is
  • A confidence value normalized between 0 and 1

Constructors

Constructor Summary
PredictedTriple()

Properties

Property Summary
double Confidence { get; set; } Normalized confidence value between 0 and 1.
double Score { get; set; } Raw plausibility score from the embedding model.
string HeadId { get; set; } The head (source) entity ID.
string RelationType { get; set; } The relation type connecting head to tail.
string TailId { get; set; } The tail (target) entity ID.