Components

ModelClient

components.model_client.anthropic_client

Anthropic ModelClient integration with OpenAI SDK compatibility.

components.model_client.cohere_client

Cohere ModelClient integration.

components.model_client.google_client

Google GenAI ModelClient integration.

components.model_client.groq_client

Groq ModelClient integration.

components.model_client.openai_client

OpenAI ModelClient integration.

components.model_client.transformers_client

Huggingface transformers ModelClient integration.

components.model_client.ollama_client

Ollama ModelClient integration.

components.model_client.utils

Helpers for model client for integrating models and parsing the output.

Retriever

components.retriever.bm25_retriever

BM25 retriever implementation.

components.retriever.faiss_retriever

Semantic search/embedding-based retriever using FAISS.

components.retriever.llm_retriever

LLM as retriever module.

components.retriever.postgres_retriever

Leverage a postgres database to store and retrieve documents.

components.retriever.reranker_retriever

Reranking model using modelclient as a retriever.

Output Parsers

components.output_parsers.outputs

The most commonly used output parsers for the Generator.

components.output_parsers.dataclass_parser

DataClassParser will help users interact with LLMs even better than JsonOutputParser and YamlOutputParser with DataClass.

Agent

components.agent.react

Implementation and optimization of React agent.

components.agent.agent

Agent component for building conversational AI agents with tool integration.

components.agent.runner

Agent runner component for managing and executing agent workflows.

components.agent.prompts

System prompts and task descriptions for agent components.

Data Process

components.data_process.text_splitter

Splitting texts is commonly used as a preprocessing step before embedding and retrieving texts.

components.data_process.data_components

Helper components for data transformation such as embeddings and document splitting.

Memory

components.memory.memory

Simple converation memory component for user-assistant conversations.

Reasoning