Components#

ModelClient#

components.model_client.anthropic_client

Anthropic ModelClient integration.

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.

Agent#

components.agent.react

Implementation and optimization of React agent.

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

Memory for user-assistant conversations.

Reasoning#