BraveSearchWrapper#
- class langchain_community.utilities.brave_search.BraveSearchWrapper[source]#
Bases:
BaseModel
Wrapper around the Brave search engine.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- param api_key: str [Required]#
The API key to use for the Brave search engine.
- param base_url: str = 'https://api.search.brave.com/res/v1/web/search'#
The base URL for the Brave search engine.
- param search_kwargs: dict [Optional]#
Additional keyword arguments to pass to the search request.