ractogateway.rag.readers.word_reader
Word document reader — uses python-docx (lazy import).
Install with: pip install ractogateway[rag-word]
- class ractogateway.rag.readers.word_reader.WordReader[source]
Bases:
BaseReaderExtract text from Microsoft Word (.docx) files using
python-docx.Accepts a file path (
str/Path), rawbytes, or any binary file-like object with a.read()method.