You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `SerperDevWebSearch` component allows you to perform web searches using the [Serper.dev](https://serper.dev/) API. It retrieves relevant snippets and URLs that can be used directly in your Haystack applications, such as Retrieval-Augmented Generation (RAG) pipelines or with Haystack Agents.
29
29
30
-
This component is part of the core `haystack-ai` package, meaning you do not need to install an external integration package to use it.
30
+
This component is part of the `serperdev-haystack`integration package, maintained in [haystack-core-integrations](https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/serperdev).
31
31
32
32
When you pass a query to `SerperDevWebSearch`, it returns a list of URLs and text snippets that are most relevant to your search.
33
33
34
34
## Installation
35
35
36
-
Since the Serper.dev web search component is built into the core Haystack framework, you just need to install `haystack-ai`:
36
+
Install the `serperdev-haystack` package:
37
37
38
38
```bash
39
-
pip install haystack-ai
39
+
pip install serperdev-haystack
40
40
```
41
41
42
42
You will also need to get an API key from [Serper.dev](https://serper.dev/) and set it as an environment variable:
@@ -58,7 +58,7 @@ This integration provides the following component:
58
58
Here is how you can use `SerperDevWebSearch` directly:
0 commit comments