Skip to content

Commit c124941

Browse files
julian-rischclaude
andauthored
Update SerperDev integration page for new serperdev-haystack package (#509)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 2dfdfb5 commit c124941

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

integrations/serperdev.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ authors:
88
github: deepset-ai
99
twitter: deepset_ai
1010
linkedin: https://www.linkedin.com/company/deepset-ai/
11-
pypi: https://pypi.org/project/haystack-ai/
12-
repo: https://github.com/deepset-ai/haystack
11+
pypi: https://pypi.org/project/serperdev-haystack
12+
repo: https://github.com/deepset-ai/haystack-core-integrations
1313
type: Search & Extraction
14-
report_issue: https://github.com/deepset-ai/haystack/issues
14+
report_issue: https://github.com/deepset-ai/haystack-core-integrations/issues
1515
logo: /logos/serperdev.png
1616
version: Haystack 2.0
1717
toc: true
@@ -27,16 +27,16 @@ toc: true
2727

2828
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.
2929

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).
3131

3232
When you pass a query to `SerperDevWebSearch`, it returns a list of URLs and text snippets that are most relevant to your search.
3333

3434
## Installation
3535

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:
3737

3838
```bash
39-
pip install haystack-ai
39+
pip install serperdev-haystack
4040
```
4141

4242
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:
5858
Here is how you can use `SerperDevWebSearch` directly:
5959

6060
```python
61-
from haystack.components.websearch import SerperDevWebSearch
61+
from haystack_integrations.components.websearch.serperdev import SerperDevWebSearch
6262
from haystack.utils import Secret
6363
import os
6464

@@ -89,7 +89,7 @@ You can integrate `SerperDevWebSearch` directly into a Generative QA pipeline to
8989
```python
9090
import os
9191
from haystack import Pipeline
92-
from haystack.components.websearch import SerperDevWebSearch
92+
from haystack_integrations.components.websearch.serperdev import SerperDevWebSearch
9393
from haystack.components.builders import ChatPromptBuilder
9494
from haystack.components.generators.chat import OpenAIChatGenerator
9595
from haystack.dataclasses import ChatMessage
@@ -130,4 +130,4 @@ print(response["llm"]["replies"][0].content)
130130

131131
## License
132132

133-
`haystack-ai` is distributed under the terms of the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) license.
133+
`serperdev-haystack` is distributed under the terms of the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) license.

0 commit comments

Comments
 (0)