Search1Config
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| BaseSearchProviderConfig searchly_config.configs Base search provider configuration. |
⋔ Inheritance diagram¶
graph TD
2055181617["configs.Search1Config"]
860522681["configs.BaseSearchProviderConfig"]
330168112["schema.Schema"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
860522681 --> 2055181617
330168112 --> 860522681
3879467795 --> 330168112
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: BaseSearchProviderConfig
Search1API provider configuration.
Uses the Search1API for web search via Google or Bing. Supports language filtering and time ranges.
Source code in src/searchly_config/configs.py
api_key
class-attribute
instance-attribute
¶
Search1API key. Defaults to SEARCH1API_KEY env var.
base_url
class-attribute
instance-attribute
¶
Base URL for the API.
type
class-attribute
instance-attribute
¶
Search1API provider.
get_provider
¶
get_provider() -> AsyncSearch1API
Create Search1API provider instance.