Files
langchain/langchain
Jonas Ehrenstein f3508228df Minor fix for google search util: it's uncertain if "snippet" in results exists (#830)
The results from Google search may not always contain a "snippet". 

Example:
`{'kind': 'customsearch#result', 'title': 'FEMA Flood Map', 'htmlTitle':
'FEMA Flood Map', 'link': 'https://msc.fema.gov/portal/home',
'displayLink': 'msc.fema.gov', 'formattedUrl':
'https://msc.fema.gov/portal/home', 'htmlFormattedUrl':
'https://<b>msc</b>.fema.gov/portal/home'}`

This will cause a KeyError at line 99
`snippets.append(result["snippet"])`.
2023-02-01 23:37:52 -08:00
..
2023-01-30 23:59:55 -08:00
2023-01-15 16:45:16 -08:00
2023-01-14 08:09:25 -08:00
2023-01-30 14:55:44 -08:00
2022-10-24 14:51:15 -07:00
2022-11-12 11:22:32 -08:00
2022-12-18 21:51:23 -05:00
2022-12-06 21:55:02 -08:00
2023-01-19 14:48:30 -08:00