pvanand commited on
Commit
eed7d98
1 Parent(s): 9e76abd

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -70,7 +70,7 @@ async def generate_report(request: Request, query: QueryModel):
70
  search_query = description
71
  # Search for relevant URLs
72
  try:
73
- urls,optimized_search_query = search_brave(search_query, num_results=4)
74
  # Fetch and extract content from the URLs
75
  all_text_with_urls = fetch_and_extract_content(data_format, urls, query_str)
76
  # Prepare the prompt for generating the report
 
70
  search_query = description
71
  # Search for relevant URLs
72
  try:
73
+ urls,optimized_search_query = search_brave(search_query, num_results=10)
74
  # Fetch and extract content from the URLs
75
  all_text_with_urls = fetch_and_extract_content(data_format, urls, query_str)
76
  # Prepare the prompt for generating the report