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