mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-30 00:30:09 +00:00
* update packaging * fix author metadata * add newline * add empty readme * fix path to pipeline files * fix pylint job * fix metadata
19 lines
446 B
Python
19 lines
446 B
Python
"""
|
|
Pipelines allow putting together Components to build a graph.
|
|
|
|
In addition to the standard Haystack Components, custom user-defined Components
|
|
can be used in a Pipeline YAML configuration.
|
|
|
|
The classes for the Custom Components must be defined in this file.
|
|
"""
|
|
|
|
|
|
from haystack.nodes.base import BaseComponent
|
|
|
|
|
|
class SampleComponent(BaseComponent):
|
|
outgoing_edges: int = 1
|
|
|
|
def run(self, **kwargs):
|
|
raise NotImplementedError
|