Prudvireddy commited on
Commit
d355a51
·
verified ·
1 Parent(s): 0bf1425

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +1 -1
tools.py CHANGED
@@ -185,7 +185,7 @@ class WikiInputs(BaseModel):
185
  """Inputs to the wikipedia tool."""
186
  query: str = Field(description="query to look up in Wikipedia, should be 3 or less words")
187
 
188
- api_wrapper = WikipediaAPIWrapper(top_k_results=3)#, doc_content_chars_max=100)
189
 
190
  wiki_tool = WikipediaQueryRun(
191
  name="wiki-tool",
 
185
  """Inputs to the wikipedia tool."""
186
  query: str = Field(description="query to look up in Wikipedia, should be 3 or less words")
187
 
188
+ api_wrapper = WikipediaAPIWrapper(top_k_results=2)#, doc_content_chars_max=100)
189
 
190
  wiki_tool = WikipediaQueryRun(
191
  name="wiki-tool",