Hi, I need some help with optimizing Tavily search parameters for getting data out of Census.gov. I followed Langchain Retriever example for using Tavily, TavilySearchAPIRetriever | ![]()
LangChain
The data I am trying to retrieve is like: US population each year from 2021 to 2030. The issue is that Census has these data in several places on their website. It works well if I break down the data range to smaller sizes, say, 2021-2025 and 2026-2030. But I wonder if you could help me fine tuning the below parameters.
retriever = TavilySearchAPIRetriever(
max_results=10,
search_depth="advanced",
#include_answer=True,
include_raw_content=True,
include_domains =["census.gov"],
)
Or I should use other Tavily tools like Tavily Extract?