Constructor KnowledgeEvidence
KnowledgeEvidence(string, string, float)
Creates a passage.
public KnowledgeEvidence(string sourceId, string text, float score)
Parameters
sourceIdstringStable identifier of the source the passage belongs to (a data source, a collection, an index).
textstringThe passage text, as the model will read it.
scorefloatRelevance of the passage to the query, as the retriever measured it (higher is better).
Exceptions
- ArgumentException
Thrown when
textis null or empty.