semantic-kernel
semantic-kernel copied to clipboard
.Net: Introduce Grouding with Google Search configuration
Motivation and Context
This PR is enables the configuration of Grouding with Google Search in the Gemini API.
Description
- Added
grounding_configthat receivesgoogle_searchobject - Implemented a validation to add
googleSearchunder tools object if configured. - Adding proper deserialization of possible values returning after using Grouding.
- Included unit tests to validate the functionality for GroudingConfig and GoogleSearch.
Contribution Checklist
- [Y] The code builds clean without any errors or warnings
- [Y] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
- [Y] All unit tests pass, and I have added new tests where possible
- [Y] I didn't break anyone :smile:
Implements #11735
@microsoft-github-policy-service agree
Are there any blockers to merge this?
Any update on this? It's been a requested feature since at least 2024 and has been requiring a review for over two months..
This would be really useful, any news on that?