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

davidmezzetti7458eba386e8
diff --git a/docs/pipeline/text/extractor.md b/docs/pipeline/text/extractor.md
index e2b7980d..80c16653 100644
--- a/docs/pipeline/text/extractor.md
+++ b/docs/pipeline/text/extractor.md
@@ -3,7 +3,7 @@
![pipeline](../../images/pipeline.png#only-light)
![pipeline](../../images/pipeline-dark.png#only-dark)
-The Extractor pipeline is a combination of an embeddings query and an Extractive QA model. Filtering the context for a QA model helps maximize performance of the model.
+The Extractor pipeline is a combination of a similarity instance (embeddings or similarity pipeline) to build a question context and a model that answers questions. The model can be a prompt-driven large language model (LLM), an extractive question-answering model or a custom pipeline.
## Example
diff --git a/src/python/txtai/pipeline/text/extractor.py b/src/python/txtai/pipeline/text/extractor.py
index 992de451..628c42e6 100644
--- a/src/python/txtai/pipeline/text/extractor.py
+++ b/src/python/txtai/pipeline/text/extractor.py
@@ -16,8 +16,8 @@ from .similarity import Similarity
class Extractor(Pipeline):
"""
Finds answers for a set of queries/questions. The extractor is a combination of a similarity instance (embeddings or similarity pipeline)
- to build question context and a model that answers questions. The model can be either a prompt-driven large language model (LLM) or
- an extractive qa model.
+ to build a question context and a model that answers questions. The model can be either a prompt-driven large language model (LLM),
+ an extractive question-answering model or a custom pipeline.
"""
# pylint: disable=R0913