Property SourceUri
SourceUri
Gets the source URI of the indexed document, or null if not specified.
public string SourceUri { get; }
Property Value
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}");