Search grounding is not working - Error: use google_search field instead of google_search_retrieval field #330
Labels
component:js sdk
Issue/PR related to JavaScript SDK
status:triaged
Issue/PR triaged to the corresponding sub-team
type:bug
Something isn't working
Description of the bug:
I implemented the search grounding feature by following the sample code and it seems to be broken at the moment:
A temporary workaround is to replace
googleSearchRetrieval
with an emptygoogleSearch
:Simply replacing the field name would result in this error:
Actual vs expected behavior:
Expected behavior: the documentation, sample code, and type definition should be updated to use
googleSearch
field.Thank you.
The text was updated successfully, but these errors were encountered: