Table of Contents

Class RetrievalExtract

Namespace
PnP.Core.Model.Copilot.Public.DTO
Assembly
PnP.Core.dll

Represents a single extract within the list of retrieval extracts.

public class RetrievalExtract
Inheritance
RetrievalExtract
Inherited Members

Properties

RelevanceScore

The cosine similarity between the text extract and the queryString, normalized to the 0-1 range. It's possible for a retrievalExtract to be returned without a relevance score.

[JsonPropertyName("relevanceScore")]
public float RelevanceScore { get; set; }

Property Value

float

Text

The text extract received.

[JsonPropertyName("text")]
public string Text { get; set; }

Property Value

string