add the url variable in the get_text_summary function to pass it to the memory
By sending the url along when calling browse.summarize_text, we can then add it along the chunk in memory.pull/968/head
parent
b20c0117c5
commit
5bb551db95
|
@ -183,7 +183,7 @@ def browse_website(url, question):
|
|||
def get_text_summary(url, question):
|
||||
"""Return the results of a google search"""
|
||||
text = browse.scrape_text(url)
|
||||
summary = browse.summarize_text(text, question)
|
||||
summary = browse.summarize_text(url, text, question)
|
||||
return """ "Result" : """ + summary
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue