# multi_hop_prompt

> **Function** in `langchain_cohere`

📖 [View in docs](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/prompt/multi_hop_prompt)

The returned function produces a `BasePromptTemplate` suitable for multi-hop.

## Signature

```python
multi_hop_prompt(
    tools: Sequence[BaseTool],
    prompt: ChatPromptTemplate,
) -> Callable[[Dict], BasePromptTemplate]
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-cohere/blob/3b17f689ac063b955c72163683d65f0d18486fac/libs/cohere/langchain_cohere/react_multi_hop/prompt.py#L253)