mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 07:34:10 +08:00
* fix: nightly now properly gets 1.9.0 branch (#12215) before it was attempting to pull release-notes as letters are alphanumerically after numbers when we sort -V then grab tail now we only look at branch names that follow the pattern '^release-[0-9]+\.[0-9]+\.[0-9]+$' * docs: add search icon (#12216) add-back-svg * initial-content * cut-1.8-release-and-include-next-version * stage-1.8.0-and-next --------- Co-authored-by: Adam-Aghili <149833988+Adam-Aghili@users.noreply.github.com>
39 lines
1.6 KiB
Plaintext
39 lines
1.6 KiB
Plaintext
---
|
|
title: SearchApi
|
|
slug: /bundles-searchapi
|
|
---
|
|
|
|
import Icon from "@site/src/components/icon";
|
|
import PartialParams from '@site/docs/_partial-hidden-params.mdx';
|
|
|
|
<Icon name="Blocks" aria-hidden="true" /> [**Bundles**](/components-bundle-components) contain custom components that support specific third-party integrations with Langflow.
|
|
|
|
This page describes the components that are available in the **SearchApi** bundle.
|
|
|
|
For more information, see the [SearchApi documentation](https://www.searchapi.io/docs/google).
|
|
|
|
## SearchApi web search
|
|
|
|
This component calls the SearchApi API to run Google, Bing, and DuckDuckGo web searches.
|
|
|
|
It returns a list of search results as a [`DataFrame`](/data-types#dataframe).
|
|
|
|
### SearchApi web search parameters
|
|
|
|
<PartialParams />
|
|
|
|
| Name | Type | Description |
|
|
|------|------|-------------|
|
|
| engine | String | Input parameter. The search engine to use. Default: `google`. |
|
|
| api_key | SecretString | Input parameter. The API key for authenticating with SearchApi. |
|
|
| input_value | String | Input parameter. The search query or input for the API call. |
|
|
| max_results | Integer | Input parameter. The maximum number of search results to return. Default: `5`. |
|
|
| max_snippet_length | Integer | Input parameter. The maximum length of the snippet to return. Default: `100`. |
|
|
| search_params | Dict | Input parameter. Additional key-value pairs to customize the request. |
|
|
|
|
## See also
|
|
|
|
* [**Web Search** component](/web-search)
|
|
* [**Google** bundle](/bundles-google)
|
|
* [**Bing** bundle](/bundles-bing)
|
|
* [**DuckDuckGo** bundle](/bundles-duckduckgo) |