[GH-ISSUE #44] Make alwrity AI web search multilingual #372

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

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

Originally assigned to: @AJaySi on GitHub.

Our search apis have some options for language. Given the language in main_config, the gpt_online_researcher code should be modified to do search in that language and that locale.

Originally created by @AJaySi on GitHub (Apr 19, 2024). Original GitHub issue: https://github.com/AJaySi/ALwrity/issues/44 Originally assigned to: @AJaySi on GitHub. Our search apis have some options for language. Given the language in main_config, the gpt_online_researcher code should be modified to do search in that language and that locale.
kerem 2026-03-13 20:09:46 +03:00
Author
Owner

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

@klotzjesse @DikshaDisciplines

1). Added config params in main_config.
Note: Test with keyword to blog option and only for long form content.
I will soon add the same for normal form content.

Examples are us for United States, in for India, fr for france, cn for china etc
geo_location = us

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: https://wikipedia.com,https://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:2072558543 --> @AJaySi commented on GitHub (Apr 23, 2024): @klotzjesse @DikshaDisciplines 1). Added config params in main_config. Note: Test with keyword to blog option and only for long form content. I will soon add the same for normal form content. Examples are us for United States, in for India, fr for france, cn for china etc geo_location = us 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: https://wikipedia.com,https://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 23, 2024):

Made changes in Serper.dev, but exa and tavily dont have option for locale/language and default to english.
Closing with changes committed.

<!-- gh-comment-id:2072950427 --> @AJaySi commented on GitHub (Apr 23, 2024): Made changes in Serper.dev, but exa and tavily dont have option for locale/language and default to english. Closing with changes committed.
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#372
No description provided.