Skip to content

Commit aeda6d3

Browse files
julian-rischclaude
andauthored
Update SearchApi integration page for new searchapi-haystack package (#512)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent d10d4e8 commit aeda6d3

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

integrations/searchapi.md

Lines changed: 8 additions & 8 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/searchapi-haystack
12+
repo: https://github.com/deepset-ai/haystack-core-integrations
1313
type: Data Ingestion
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/searchapi.png
1616
version: Haystack 2.0
1717
toc: true
@@ -27,16 +27,16 @@ toc: true
2727

2828
The `SearchApiWebSearch` component allows you to perform web searches using the [SearchApi](https://www.searchapi.io/) service. 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 `searchapi-haystack` integration package, maintained in [haystack-core-integrations](https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/searchapi).
3131

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

3434
## Installation
3535

36-
Since the SearchApi web search component is built into the core Haystack framework, you just need to install `haystack-ai`:
36+
Install the `searchapi-haystack` package:
3737

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

4242
You will also need to get an API key from [SearchApi](https://www.searchapi.io/) and set it as an environment variable:
@@ -58,7 +58,7 @@ This integration provides the following component:
5858
Here is how you can use `SearchApiWebSearch` directly:
5959

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

@@ -85,4 +85,4 @@ for doc in documents:
8585

8686
## License
8787

88-
`haystack-ai` is distributed under the terms of the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) license.
88+
`searchapi-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)