Here is how I defined the function
exclude_domains = ['pissedconsumer.com']
include_domains = ['ascouncil.org', 'adhesives.org', 'next.henkel-adhesives.com', 'henkel.com', 'constructiondive.com', 'proremodeler.com', 'builderonline.com', 'adhesivesmag.com','jlconline.com' ]
search_doc = tavily_client.search(
query=query,
max_results=5,
include_raw_content=include_raw_content,
topic="general",
time_range="week",
include_domains=include_domains,
exclude_domains=exclude_domains,
search_depth="advanced",
)
Query: What is the latest news on Henkel’s construction adhesives and sealants?
Here is one of the results I got. It’s from 2022
{
"url":"https://www.henkel.com/investors-and-analysts/events/2022-q3",
"title":"Q3 2022 - Henkel",
"content":"### Social Media\n\nShare this page!\n\nWho is Henkel and what drives us?\nWhat unites us all at Henkel is our purpose \"Pioneers at heart for the good of generations\" and a common strategic framework.\n\nHenkel Highlights\n\n### Henkel Highlights 2024\n\nDiscover the brands and technologies from our business units Henkel Adhesive Technologies and Henkel Consumer Brands.\n\nA customer experience tour guide presents Henkel Adhesive Technologies portfolio to two customers at the Inspiration Center Düsseldorf. [...] ### Inspiration Center Düsseldorf ICD\n\nOur global innovation and customer center, where we develop adhesive solutions together with customers from over 800 industry segments.\n\nAs sustainability leaders, we aim to pioneer new solutions for sustainable development while continuing to shape our business responsibly and increase our economic success.\n\nTeaser Sustainability Report\n\n### Sustainability Report 2024 [...] November 8, 2022\n\nOn November 8, 2022 Henkel released its quarterly statement Q3 2022. All relevant documents and presentations are available for downloading here.\n\n## Downloads\n\n## Additional Information\n\nAdditional Information\n\nTeam Investor Relations\n\n## IR Services\n\nHenkel footer logo\n\n#### Company\n\n#### Brands & Businesses\n\n#### Quick Links\n\n#### Company\n\n#### Brands & Businesses\n\n#### Quick Links",
"score":0.48060113,
"raw_content":"None"
}