[GH-ISSUE #21] Expose Alwrity search engine parameters in main_config #352

Closed
opened 2026-03-13 20:05:16 +03:00 by kerem · 2 comments
Owner

Originally created by @AJaySi on GitHub (Apr 7, 2024).
Original GitHub issue: https://github.com/AJaySi/ALwrity/issues/21

Originally assigned to: @AJaySi on GitHub.

Presently, these values are hard-coded.
Expose Alwrity search engine parameters in main_config

Originally created by @AJaySi on GitHub (Apr 7, 2024). Original GitHub issue: https://github.com/AJaySi/ALwrity/issues/21 Originally assigned to: @AJaySi on GitHub. Presently, these values are hard-coded. Expose Alwrity search engine parameters in main_config
kerem closed this issue 2026-03-13 20:05:21 +03:00
Author
Owner

@AJaySi commented on GitHub (Apr 9, 2024):

# Visit https://serper.dev/playground and provide values from there.
# https://api.serper.dev/locations
[web_research]

# Geographic location(gl): This values restricts the web search to given country.
# Examples are us for United States, in for India, fr for france, cn for china etc
geo_location = us

# Locale:hl:language : Define the language you want to search results in.
# Example: en for english, zn-cn for chinese, de for german, hi for hindi etc
search_language: en

# num_results: Default 10 - Number of google search results to fetch.
num_results = 10

# time_range: Acceptable values, past day, past week, past month, past year
# This limits the search results for given time duration, from today.
time_range = anytime

# include_domains (Give Full URLs, separate by comma): A list of domains to specifically include in the search results. 
# Default is None, which includes all domains. Example: Wikipedia.com, stackoverflow.com, google schalor, reddit etc
include_domains =

# similar_url : A single URL, this will instruct search engines to give results similar to the given URL.
similar_url =
<!-- gh-comment-id:2044884393 --> @AJaySi commented on GitHub (Apr 9, 2024): ``` # Visit https://serper.dev/playground and provide values from there. # https://api.serper.dev/locations [web_research] # Geographic location(gl): This values restricts the web search to given country. # Examples are us for United States, in for India, fr for france, cn for china etc geo_location = us # Locale:hl:language : Define the language you want to search results in. # Example: en for english, zn-cn for chinese, de for german, hi for hindi etc search_language: en # num_results: Default 10 - Number of google search results to fetch. num_results = 10 # time_range: Acceptable values, past day, past week, past month, past year # This limits the search results for given time duration, from today. time_range = anytime # include_domains (Give Full URLs, separate by comma): A list of domains to specifically include in the search results. # Default is None, which includes all domains. Example: Wikipedia.com, stackoverflow.com, google schalor, reddit etc include_domains = # similar_url : A single URL, this will instruct search engines to give results similar to the given URL. similar_url = ```
Author
Owner

@AJaySi commented on GitHub (Apr 9, 2024):

The latest commit has the changes.

<!-- gh-comment-id:2045212136 --> @AJaySi commented on GitHub (Apr 9, 2024): The latest commit has the changes.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ALwrity#352
No description provided.