Table of Contents

Class PlainTextDocumentLoader

Namespace
Mythosia.AI.Rag.Loaders
Assembly
Mythosia.AI.Rag.dll
public class PlainTextDocumentLoader : IDocumentLoader
Inheritance
PlainTextDocumentLoader
Implements
Inherited Members

Constructors

PlainTextDocumentLoader()

public PlainTextDocumentLoader()

Methods

LoadAsync(string, CancellationToken)

public Task<IReadOnlyList<DoclingDocument>> LoadAsync(string source, CancellationToken cancellationToken = default)

Parameters

source string
cancellationToken CancellationToken

Returns

Task<IReadOnlyList<DoclingDocument>>