Prompts and LLMs
With the components in this section you can use large language models (LLMs) directly in your pipelines.
Component | Available Classes | Description |
---|---|---|
PromptNode | PromptNode | Uses 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. |
AnswerGenerator | OpenAIAnswerGenerator | 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. |
Updated 5 months ago