Table of Contents

Field DocumentIdKey

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

The metadata key used to store the document identifier in section metadata.

public const string DocumentIdKey = "lmkit_sec_doc_id"

Returns

string
The metadata key used to store the document identifier in section metadata.

Examples

// Use the key to retrieve the document ID from partition metadata
if (partition.Metadata.TryGet(DocumentMetadata.DocumentIdKey, out var idMeta))
{
    Console.WriteLine($"Document ID: {idMeta.Value}");
}
Share