create_cohere_react_agent(
llm: BaseLanguageModel,
tools: Sequence[BaseTool],
prompt: ChatPromptTemplate
)| Name | Type | Description |
|---|---|---|
llm* | BaseLanguageModel | |
tools* | Sequence[BaseTool] | |
prompt* | ChatPromptTemplate |
Create an agent that enables multiple tools to be used in sequence.
.. deprecated:: 0.6.0
Use langgraph.prebuilt.create_react_agent with
:class:~langchain_cohere.ChatCohere instead.
The ChatCohere LLM instance to use.
Tools this agent has access to.
The prompt to use.