Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Update documentation

davidmezzettie12624e7651c
diff --git a/docs/pipeline/data/textractor.md b/docs/pipeline/data/textractor.md
index 43c29f24..50b4b6b8 100644
--- a/docs/pipeline/data/textractor.md
+++ b/docs/pipeline/data/textractor.md
@@ -3,9 +3,15 @@
![pipeline](../../images/pipeline.png#only-light)
![pipeline](../../images/pipeline-dark.png#only-dark)
-The Textractor pipeline extracts and splits text from documents. This pipeline uses either an [Apache Tika](https://github.com/chrismattmann/tika-python) backend (if Java is available) or [BeautifulSoup4](https://pypi.org/project/beautifulsoup4/). The output text is Markdown formatted.
+The Textractor pipeline extracts and splits text from documents. This pipeline uses [Apache Tika](https://github.com/chrismattmann/tika-python) (if Java is available) and [BeautifulSoup4](https://pypi.org/project/beautifulsoup4/). See [this link](https://tika.apache.org/2.9.2/formats.html) for a list of supported document formats.
-_Note: BeautifulSoup4 only supports HTML and plain text documents, anything else requires Tika and Java to be installed._
+Each document goes through the following process.
+
+- Content is retrieved if it's not local
+- If the document `mime-type` isn't plain text or HTML, it's run through Tika and converted to XHTML
+- XHTML is converted to Markdown and returned
+
+Without Apache Tika, this pipeline only supports plain text and HTML. Other document types require Tika and Java to be installed. Another option is to start Apache Tika via [this Docker Image](https://hub.docker.com/r/apache/tika).
## Example