File tree Expand file tree Collapse file tree
samples/company-research-agent Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Retrieval Chain CI/CD
1+ name : Integration testing
22
33on :
44 push :
55 branches : [ main, develop ]
6- paths :
7- - ' samples/retrieval-chain/**'
86 pull_request :
97 branches : [ main ]
108
Original file line number Diff line number Diff line change 1111if os .getenv ("TAVILY_API_KEY" ):
1212 tool = TavilySearchResults (max_results = 5 )
1313else :
14- tool = DuckDuckGoSearchResults (max_results = 5 )
14+ tool = DuckDuckGoSearchResults ()
1515
1616# Define system prompt
1717system_prompt = """You are an advanced AI assistant specializing in corporate research and outreach strategy development. Your primary functions are:
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ dependencies = [
1111 " tavily-python>=0.5.0" ,
1212 " uipath-langchain==0.0.113" ,
1313 " uipath>=2.0.72" ,
14+ " duckduckgo-search>=8.1.1" ,
15+ " langchain-community>=0.3.21" ,
1416]
1517
1618[project .optional-dependencies ]
You can’t perform that action at this time.
0 commit comments