BettoEsteves commited on
Commit
8ae2320
·
verified ·
1 Parent(s): 3d36636

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -35,10 +35,13 @@ def get_current_time_in_timezone(timezone: str) -> str:
35
 
36
  @tool
37
  def research_assistant(question: str) -> str:
38
- ''' Ferramenta de pesquisa na web e geração de conteúdo.
 
39
  Args:
40
- question: pergunta para a pesquisa
41
- '''
 
 
42
  search_results = DuckDuckGoSearchTool().run(question)
43
 
44
  image_url = image_generation_tool(f"Infográfico sobre: {question[ :50]}...")
 
35
 
36
  @tool
37
  def research_assistant(question: str) -> str:
38
+ """Ferramenta de pesquisa na web e geração de conteúdo.
39
+
40
  Args:
41
+ question (str): pergunta para a pesquisa
42
+ Returns:
43
+ str: Resultados da pesquisa com imagem
44
+ """
45
  search_results = DuckDuckGoSearchTool().run(question)
46
 
47
  image_url = image_generation_tool(f"Infográfico sobre: {question[ :50]}...")