Generators
Generators are responsible for generating text after you give them a prompt. They are specific for each LLM technology (OpenAI, local, TGI and others).
Generator | Description | Streaming Support |
---|---|---|
AmazonBedrockChatGenerator | Enables chat completion using models through Amazon Bedrock service. | β |
AmazonBedrockGenerator | Enables text generation using models through Amazon Bedrock service. | β |
AnthropicChatGenerator | This component enables chat completions using Anthropic large language models (LLMs). | β |
AnthropicGenerator | This component enables text completions using Anthropic large language models (LLMs). | β |
AzureOpenAIChatGenerator | Enables chat completion using OpenAIβs LLMs through Azure services. | β |
AzureOpenAIGenerator | Enables text generation using OpenAIβs LLMs through Azure services. | β |
CohereChatGenerator | Enables chat completion using Cohere's LLMs. | β |
CohereGenerator | Queries the LLM using Cohere API. | β |
GoogleAIGeminiChatGenerator | Enables chat completion using Google Gemini models. | β |
GoogleAIGeminiGenerator | Enables text generation using Google Gemini models. | β |
HuggingFaceAPIChatGenerator | Enables chat completion using various Hugging Face APIs. | β |
HuggingFaceAPIGenerator | Enables text generation using various Hugging Face APIs. | β |
HuggingFaceLocalChatGenerator | Provides an interface for chat completion using a Hugging Face model that runs locally. | β |
HuggingFaceLocalGenerator | Provides an interface to generate text using a Hugging Face model that runs locally. | β |
LlamaCppChatGenerator | Enables chat completion using an LLM running on Llama.cpp. | β |
LlamaCppGenerator | Generate text using an LLM running with Llama.cpp. | β |
MistralChatGenerator | Enables chat completion using Mistralβs text generation models. | β |
NvidiaGenerator | Provides an interface for generating text using LLMs self-hosted with NVIDIA NIM or models hosted on the NVIDIA API catalog. | β |
OllamaChatGenerator | Enables chat completion using an LLM running on Ollama. | β |
OllamaGenerator | Provides an interface to generate text using an LLM running on Ollama. | β |
OpenAIChatGenerator | Enables chat completion using OpenAIβs large language models (LLMs). | β |
OpenAIGenerator | Enables text generation using OpenAI's large language models (LLMs). | β |
SagemakerGenerator | Enables text generation using LLMs deployed on Amazon Sagemaker. | β |
VertexAICodeGenerator | Enables code generation using Google Vertex AI generative model. | β |
VertexAIGeminiChatGenerator | Enables chat completion using Google Gemini models with GCP Vertex AI. | β |
VertexAIGeminiGenerator | Enables text generation using Google Gemini models with GCP Vertex AI. | β |
VertexAIImageCaptioner | Enables text generation using Google Vertex AI imagetext generative model. | β |
VertexAIImageGenerator | Enables image generation using Google Vertex AI generative model. | β |
VertexAIImageQA | Enables text generation (image captioning) using Google Vertex AI generative models. | β |
VertexAITextGenerator | Enables text generation using Google Vertex AI generative models. | β |
Updated about 1 year ago