Table of Contents

Class DocumentQueryResult

Namespace
LMKit.Retrieval
Assembly
LM-Kit.NET.dll

Contains the result of a document query, including the generated response and references to source passages.

public sealed class DocumentQueryResult
Inheritance
DocumentQueryResult
Inherited Members

Constructors

DocumentQueryResult(TextGenerationResult, IReadOnlyList<DocumentReference>)

Initializes a new instance of the DocumentQueryResult class.

Properties

HasSourceReferences

Gets whether source references are available for this result.

Response

Gets the generated text response.

SourceReferences

Gets the document passages used to generate the response. May be null if the entire document was included inline.