feat: enable bing support

This commit is contained in:
Jeetesh Chellani
2024-10-28 11:33:52 +02:00
parent a64cc8f8e0
commit f7d8a6ccba
6 changed files with 133 additions and 4 deletions

View File

@@ -382,3 +382,11 @@ else:
####################################
OFFLINE_MODE = os.environ.get("OFFLINE_MODE", "false").lower() == "true"
####################################
# WEB SEARCH
####################################
BING_SEARCH_V7_ENDPOINT = os.environ.get("BING_SEARCH_V7_ENDPOINT", "https://api.bing.microsoft.com/v7.0/search")
BING_SEARCH_V7_SUBSCRIPTION_KEY = os.environ.get("BING_SEARCH_V7_SUBSCRIPTION_KEY", "")