HomeDocumentationAPI ReferenceWhat's NewTutorials
Haystack Homepage

Prompts and LLMs

With the components in this section you can use large language models (LLMs) directly in your pipelines.

ComponentAvailable ClassesDescription
PromptNodePromptNodeUses large language models to perform various NLP tasks in a pipeline or on its own.
Example usage:
It's a very versatile component that can perform tasks like summarization, question answering, translation, and more.


Composes an answer to a question by reading through the provided documents.
Example usage:
Generative question answering or combining information from multiple documents into one answer.


Seq2SeqGenerator and RAGenerator deprecation

Seq2SeqGenerator and RAGenerator are deprecated and will be removed from Haystack in future versions. We recommend using PromptNode instead. See our GitHub discussion post for more details.