mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-07-23 08:52:16 +00:00
13 lines
377 B
YAML
13 lines
377 B
YAML
---
|
|
enhancements:
|
|
- |
|
|
Change `Pipeline.connect()` to return the instance of `Pipeline`.
|
|
This way we can chain multiple `connect()` like so:
|
|
```python
|
|
pipeline.connect("fetcher", "converter") \
|
|
.connect("converter", "splitter") \
|
|
.connect("splitter", "ranker") \
|
|
.connect("ranker", "prompt_builder") \
|
|
.connect("prompt_builder", "llm")
|
|
```
|