Class RetrievalHit
Represents a single result within the list of retrieval results.
public class RetrievalHit
- Inheritance
-
RetrievalHit
- Inherited Members
Properties
Extracts
An array of text extracts extracted from the document for Retrieval-Augmented Generation. Currently, only one text snippet is extracted.
[JsonPropertyName("extracts")]
public List<RetrievalExtract> Extracts { get; set; }
Property Value
ResourceMetadata
The requested SharePoint and Microsoft 365 Copilot connectors metadata from the request payload (empty if not applicable).
[JsonPropertyName("resourceMetadata")]
public Dictionary<string, object>? ResourceMetadata { get; set; }
Property Value
ResourceType
The resource type of the item. Possible values: site, list, listItem, externalItem, drive, driveItem ,unknownFutureValue
[JsonPropertyName("resourceType")]
public string ResourceType { get; set; }
Property Value
SensitivityLabelInfo
A JSON object with information about the document's sensitivity label.
[JsonPropertyName("sensitivityLabelInfo")]
public SensitivityLabelInfo? SensitivityLabelInfo { get; set; }
Property Value
WebUrl
The URL of the item in which the extract was retrieved.
[JsonPropertyName("webUrl")]
public string WebUrl { get; set; }