AJaySi / AI-Writer

Alwrity - AI contextual Content generation Suite. Prevents AI hallucinations, Web Researched factual, SEO optimized content. Get blog Images. Create your AI-Powered Content Agents team. Create content with RAG, Local documents, web urls. Open Source AI writer.
https://alwrity.com
113 stars 38 forks source link

Expose Alwrity search engine parameters in main_config #21

Closed AJaySi closed 2 months ago

AJaySi commented 2 months ago

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

AJaySi commented 2 months ago
# 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 =
AJaySi commented 2 months ago

The latest commit has the changes.