This site provides a machine-readable index at /llms.txt.

Skip to main content Skip to navigation

ILlmsSubtreeProvider Pennington.LlmsTxt

Optional capability for a IContentService to surface subtree declarations discovered during its own scan (for example, _llms.yaml sidecars under a markdown content tree).

Methods

GetLlmsSubtreesAsync

#
Task<ImmutableList<LlmsSubtree>> GetLlmsSubtreesAsync();

Returns the subtrees declared by this provider's content.

Returns

Task<ImmutableList<LlmsSubtree>>

Pennington.LlmsTxt.ILlmsSubtreeProvider

namespace Pennington.LlmsTxt;

/// Optional capability for a IContentService to surface subtree declarations discovered during its own scan (for example, _llms.yaml sidecars under a markdown content tree).
public interface ILlmsSubtreeProvider
{
    /// Returns the subtrees declared by this provider's content.
    
Task<ImmutableList<LlmsSubtree>> GetLlmsSubtreesAsync();
}