Add a Custom Component
Learn how to create and upload custom components to Haystack Enterprise Platform.
About This Task
For most use cases, we recommend using the Code component to add custom code to your pipelines. You write the code directly in Builder, test it, and save it as a custom component to share with your workspace or organization — no GitHub setup required. For details, see Add a Code Component.
Use the GitHub template to create a custom component if you need:
- External pip dependencies not already available in Haystack Platform.
- Full version control and CI/CD testing via GitHub Actions.
For details on which approach fits your use case, see Custom Components.
By default, pipelines and indexes run on CPU. If your component will work better on a GPU, you can turn on GPU acceleration in the pipeline or index settings. For details, see GPU Acceleration.
Add a Custom Component
To add a custom component to Haystack Enterprise Platform:
Was this page helpful?