Table of Contents

Property SourceUri

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

SourceUri

Gets the source URI of the indexed document, or null if not specified.

public string SourceUri { get; }

Property Value

string

Examples

var metadata = new DocumentMetadata("report.pdf")
{
    SourceUri = "https://example.com/reports/annual.pdf"
};
var result = await chat.LoadDocumentAsync("report.pdf", metadata);
Console.WriteLine($"Source: {result.SourceUri}");
Share