SerperConfig
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| BaseSearchProviderConfig searchly_config.configs Base search provider configuration. |
⋔ Inheritance diagram¶
graph TD
1767856250["configs.SerperConfig"]
860522681["configs.BaseSearchProviderConfig"]
330168112["schema.Schema"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
860522681 --> 1767856250
330168112 --> 860522681
3879467795 --> 330168112
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: BaseSearchProviderConfig
Serper provider configuration.
Uses the Serper.dev API for web and news search via Google. Supports country, language, and location filtering.
Source code in src/searchly_config/configs.py
api_key
class-attribute
instance-attribute
¶
Serper.dev API key. Defaults to SERPER_API_KEY env var.
base_url
class-attribute
instance-attribute
¶
Base URL for the API.
type
class-attribute
instance-attribute
¶
Serper provider.
get_provider
¶
get_provider() -> AsyncSerperClient
Create Serper provider instance.