ottom8
ComponentsBundles

LangChain Utilities

Components provided by the LangChain Utilities integration.

CSV Agent

Construct a CSV agent from a CSV and tools.

InputTypeRequired
File PathfileYes
Allow Dangerous CodeboolYes
watsonx API EndpointstrNo
TextstrYes
Language ModelmodelYes
watsonx Project IDstrNo

Advanced options: Agent Description [Deprecated], Agent Type, API Key, Handle Parse Errors, Max Iterations, Pandas Kwargs, Verbose

OutputType
ResponseMessage
AgentAgentExecutor

Character Text Splitter

Split text by number of characters.

InputTypeRequired
InputotherYes
Chunk OverlapintNo
Chunk SizeintNo
SeparatorstrNo
OutputType
JSONJSON

ConversationChain

Chain to have a conversation and load context from memory.

InputTypeRequired
Language ModelotherYes
MemoryotherNo
InputstrYes
OutputType
TextMessage

Fake Embeddings

Generate fake embeddings, useful for initial testing and connecting components.

InputTypeRequired
DimensionsintNo
OutputType
Embedding ModelEmbeddings

Extract hyperlinks from HTML content.

InputTypeRequired
InputotherYes
Drop URL fragmentsboolNo
Kind of edgestrNo
OutputType
JSONJSON

JsonAgent

Construct a json agent from an LLM and tools.

InputTypeRequired
Language ModelotherYes
File PathfileYes
InputstrNo

Advanced options: Agent Description [Deprecated], Handle Parse Errors, Max Iterations, Verbose

OutputType
ResponseMessage
AgentAgentExecutor

LLMCheckerChain

Chain for question-answering with self-verification.

InputTypeRequired
Language ModelotherYes
InputstrYes
OutputType
TextMessage

LLMMathChain

Chain that interprets a prompt and executes python code to do math.

InputTypeRequired
Language ModelotherYes
InputstrYes
OutputType
MessageMessage

Language Recursive Text Splitter

Split text into chunks of a specified length based on language.

InputTypeRequired
InputotherYes
Chunk OverlapintNo
Chunk SizeintNo
Code LanguagestrNo
OutputType
JSONJSON

Natural Language Text Splitter

Split text based on natural language boundaries, optimized for a specified language.

InputTypeRequired
InputotherYes
Chunk OverlapintNo
Chunk SizeintNo
LanguagestrNo
SeparatorstrNo
OutputType
JSONJSON

Natural Language to SQL

Generate SQL from natural language.

InputTypeRequired
SQLDatabaseotherYes
Language ModelotherYes
InputstrYes
PromptstrNo
Top KintNo
OutputType
MessageMessage

OpenAI Tools Agent

Agent that uses tools via openai-tools.

InputTypeRequired
ToolsotherNo
watsonx API EndpointstrNo
InputstrNo
Language ModelmodelYes
watsonx Project IDstrNo
System PromptstrNo
PromptstrNo

Advanced options: Chat History, Agent Description [Deprecated], API Key, Handle Parse Errors, Max Iterations, Verbose

OutputType
ResponseMessage
AgentAgentExecutor

OpenAPI Agent

Agent to interact with OpenAPI API.

InputTypeRequired
File PathfileYes
Allow Dangerous RequestsboolYes
watsonx API EndpointstrNo
InputstrNo
Language ModelmodelYes
watsonx Project IDstrNo

Advanced options: Agent Description [Deprecated], API Key, Handle Parse Errors, Max Iterations, Verbose

OutputType
ResponseMessage
AgentAgentExecutor

Prompt Hub

Prompt Component that uses LangChain Hub prompts

InputTypeRequired
LangChain API KeystrYes
LangChain Hub PromptstrYes
OutputType
Build PromptMessage

Recursive Character Text Splitter

Split text trying to keep all related text together.

InputTypeRequired
InputotherYes
Chunk OverlapintNo
Chunk SizeintNo
SeparatorsstrNo
OutputType
JSONJSON

Retrieval QA

Chain for question-answering querying sources from a retriever.

InputTypeRequired
Language ModelotherYes
MemoryotherNo
RetrieverotherYes
InputstrYes
Return Source DocumentsboolNo

Advanced options: Chain Type

OutputType
TextMessage

Runnable Executor

Execute a runnable. It will try to guess the input and output keys.

InputTypeRequired
Agent ExecutorotherYes
InputstrYes
StreamboolNo

Advanced options: Input Key, Output Key

OutputType
MessageMessage

SQLAgent

Construct an SQL agent from an LLM and tools.

InputTypeRequired
watsonx API EndpointstrNo
Database URIstrYes
InputstrNo
Language ModelmodelYes
watsonx Project IDstrNo

Advanced options: Extra Tools, Agent Description [Deprecated], API Key, Handle Parse Errors, Max Iterations, Verbose

OutputType
ResponseMessage
AgentAgentExecutor

SQLDatabase

SQL Database

InputTypeRequired
URIstrYes
OutputType
SQLDatabaseSQLDatabase

Self Query Retriever

Retriever that uses a vector store and an LLM to generate the vector store queries.

InputTypeRequired
Metadata Field InfootherNo
LLMotherNo
QueryotherNo
Vector StoreotherNo
Document Content DescriptionstrNo
OutputType
Retrieved DocumentsJSON

Semantic Text Splitter

Split text into semantically meaningful chunks using semantic similarity.

InputTypeRequired
Data InputsotherYes
EmbeddingsotherYes
Breakpoint Threshold AmountfloatNo
Breakpoint Threshold TypestrNo
Number of ChunksintNo

Advanced options: Buffer Size, Sentence Split Regex

OutputType
ChunksJSON

Spider Web Crawler & Scraper

Spider API for web crawling and scraping.

InputTypeRequired
ModestrYes
Additional ParametersdictNo
Spider API KeystrYes
URLstrYes

Advanced options: Blacklist, Depth, Limit, Metadata, Use Readability, Request Timeout, Whitelist

OutputType
MarkdownJSON

Tool Calling Agent

An agent designed to utilize various tools seamlessly within workflows.

InputTypeRequired
ToolsotherNo
watsonx API EndpointstrNo
InputstrNo
Language ModelmodelYes
watsonx Project IDstrNo
System PromptstrNo

Advanced options: Chat Memory, Agent Description [Deprecated], API Key, Handle Parse Errors, Max Iterations, Verbose

OutputType
ResponseMessage
AgentAgentExecutor

VectorStoreInfo

Information about a VectorStore

InputTypeRequired
Vector StoreotherYes
DescriptionstrYes
NamestrYes
OutputType
Vector Store InfoVectorStoreInfo

VectorStoreRouterAgent

Construct an agent from a Vector Store Router.

InputTypeRequired
Language ModelotherYes
Vector StoresotherYes
InputstrNo

Advanced options: Agent Description [Deprecated], Handle Parse Errors, Max Iterations, Verbose

OutputType
ResponseMessage
AgentAgentExecutor

XML Agent

Agent that uses tools formatting instructions as xml to the Language Model.

InputTypeRequired
ToolsotherNo
watsonx API EndpointstrNo
InputstrNo
Language ModelmodelYes
watsonx Project IDstrNo
System PromptstrNo
PromptstrNo

Advanced options: Chat History, Agent Description [Deprecated], API Key, Handle Parse Errors, Max Iterations, Verbose

OutputType
ResponseMessage
AgentAgentExecutor

On this page