haystack/releasenotes/notes/add-pipeline-templates-831f857c6387f8c3.yaml
Massimiliano Pippi b011bfcc9c
chore: update the INDEXING and RAG pipeline templates (#7272)
* update the index pipeline

* amend relnote

* update the RAG template
2024-03-01 11:55:44 +01:00

14 lines
550 B
YAML

---
highlights: >
Introducing a flexible and dynamic approach to creating NLP pipelines with predefined templates.
This innovative feature allows users to easily construct and customize complex data processing pipelines for various
NLP tasks.
For example, the following pipeline template can be used to create an indexing pipeline:
```python
from haystack import Pipeline, PredefinedPipeline
pipe = Pipeline.from_template(PredefinedPipeline.INDEXING)
result = pipe.run({"converter": {"sources": ["some_file.txt"]}})
```