- Add support for multiple search types (general and news)
- Implement knowledge graph integration
- Add structured result processing for organic results, "People Also Ask", and related searches
- Enhance error handling with try-catch blocks and logging
- Update documentation with comprehensive feature list and usage examples
Added two additional functionalities:
1) added the ability to save the server results to a file
2) added the ability to set the number of results returned
Can be used as follows:
serper_tool = SerperDevTool(file_save=True, n_results=20)
In original code n_results is always None so you always get only 10 results from Serper. With this change, when you explicitly set the n_results parameter when creating a SerperDevTool object it is taken into account.