TextKnowledge is a knowledge base class that allows you to load and query data from text files.

ParameterTypeDefaultDescription
pathUnion[str, Path]RequiredPath to the text file
readerTextReaderTextReader()Reader to read text documents