Skip to content

Commit dc8b447

Browse files
committed
explain SERP, add ChatGenerator links
1 parent c085c09 commit dc8b447

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

tutorials/43_Building_a_Tool_Calling_Agent.ipynb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"source": [
9292
"## Using Agent as a Standalone Component\n",
9393
"\n",
94-
"We start with a simple example of using the Agent as a standalone component with a web search tool:"
94+
"We start with a simple example of using the Agent as a standalone component with a web search tool. The tool can trigger web searches and fetch the search engine results page (SERP) containing the most relevant search hits."
9595
]
9696
},
9797
{
@@ -171,17 +171,17 @@
171171
"source": [
172172
"You can easily switch out the ChatGenerator used in the Agent. Currently all of the following ChatGenerators support tools and thus can be used with Agent:\n",
173173
"\n",
174-
"- AmazonBedrockChatGenerator\n",
175-
"- AnthropicChatGenerator\n",
176-
"- AzureOpenAIChatGenerator\n",
177-
"- CohereChatGenerator\n",
178-
"- GoogleAIGeminiChatGenerator\n",
179-
"- HuggingFaceAPIChatGenerator\n",
180-
"- HuggingFaceLocalChatGenerator\n",
181-
"- MistralChatGenerator\n",
182-
"- OllamaChatGenerator\n",
183-
"- OpenAIChatGenerator\n",
184-
"- VertexAIGeminiChatGenerator\n",
174+
"- [AmazonBedrockChatGenerator](https://docs.haystack.deepset.ai/docs/amazonbedrockchatgenerator)\n",
175+
"- [AnthropicChatGenerator](https://docs.haystack.deepset.ai/docs/anthropicchatgenerator)\n",
176+
"- [AzureOpenAIChatGenerator](https://docs.haystack.deepset.ai/docs/azureopenaichatgenerator)\n",
177+
"- [CohereChatGenerator](https://docs.haystack.deepset.ai/docs/coherechatgenerator)\n",
178+
"- [GoogleAIGeminiChatGenerator](https://docs.haystack.deepset.ai/docs/googleaigeminichatgenerator)\n",
179+
"- [HuggingFaceAPIChatGenerator](https://docs.haystack.deepset.ai/docs/huggingfaceapichatgenerator)\n",
180+
"- [HuggingFaceLocalChatGenerator](https://docs.haystack.deepset.ai/docs/huggingfacelocalchatgenerator)\n",
181+
"- [MistralChatGenerator](https://docs.haystack.deepset.ai/docs/mistralchatgenerator)\n",
182+
"- [OllamaChatGenerator](https://docs.haystack.deepset.ai/docs/ollamachatgenerator)\n",
183+
"- [OpenAIChatGenerator](https://docs.haystack.deepset.ai/docs/openaichatgenerator)\n",
184+
"- [VertexAIGeminiChatGenerator](https://docs.haystack.deepset.ai/docs/vertexaigeminichatgenerator)\n",
185185
"\n",
186186
"For example, if you have a `HF_API_TOKEN` and `huggingface_hub[inference]>=0.27.0` installed, all you need to do is replace OpenAIChatGenerator by HuggingFaceAPIChatGenerator and run `from haystack.components.generators.chat import HuggingFaceAPIChatGenerator`"
187187
]
@@ -194,7 +194,7 @@
194194
"source": [
195195
"## Using Agent with a Pipeline as Tool\n",
196196
"\n",
197-
"Now, for a more sophisticated example, let's build a research assistant that can search the web, fetch content from links, and generate comprehensive answers. We'll start with a Haystack Pipeline that the Agent can use as a tool:"
197+
"Now, for a more sophisticated example, let's build a research assistant that can search the web, fetch content from links, and generate comprehensive answers. In contrast to our previous Agent, we now want to follow the links on the search engine results page and access their content. We'll start with a Haystack Pipeline that the Agent can use as a tool:"
198198
]
199199
},
200200
{

0 commit comments

Comments
 (0)