Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cannot display full content search widget

Hello,

I am currently using the Search & Conversation (formerly Gen AI App Builder) and I've encountered a limitation in the customization options available in the current settings. Specifically, I'm having trouble with the search results in the widget being cropped, and I'm unable to visualize the full content in the UI. 
Given the current settings, there doesn't seem to be much room for customization. I'm wondering if there's a way to circumvent this limitation.

Screenshot 2023-10-30 at 14.39.07.png

For instance, an expandable/collapsible text button to open and close the text would be a great solution, but even fully showing the text would be acceptable. Here's full json

{ "url": "https://www.youtube.com/watch?v=XC9tTGyMM4g&pp=ygUIYmNjIG5ld3M%3D", "description": "the (0.1), final (0.4), two (0.8), teams (1.0), in (1.3), the (1.9), NBA (1.9), to (2.1), make (2.6), their (2.7), season (2.9), debut (3.3), were (3.8), talking (3.9), about (4.3), the (4.5), defending (4.7), MVP (5.2), Joel (5.5), embiid (6.3), in (6.6), the (7.0), Philadelphia (7.1), 76ers (7.3), taking (8.4), on (8.8), Giannis (8.9), antetokounmpo (9.3), Damian (9.5), Lillard (11.1), and (11.8), the (12.0), Milwaukee (12.4), Bucks (12.6), and (13.4), we (13.5), start (13.6), shop (13.8), Damian (14.1), Lillard (15.0), has (15.6), knocks (15.8), down (16.2)" }

When I search for "NBA", the result appears cropped like this:

json
"https://www.youtube.com/watch?v=XC9tTGyMM4g&pp=ygUIYmNjI the (0.1), final (0.4), two (0.8), teams (1.0), in (1.3), the (1.9), NBA (1.9), to (2.1), make (2.6), their (2.7), sea"

I would appreciate any guidance on how to approach this issue and potentially expand the customization options available.

Thank you in advance for your help.

Ludovico

0 1 300
1 REPLY 1

lsolatorio
Former Googler

Hi @l-cesaro,

Thank you for reaching out to our community.

I get that you are having concerns with the search results of your widget, that is probably a snippet from your JSON file. Unfortunately I have not found any documentation that explicitly provides a resolution to your use case, this is most likely a limitation of the API to save resources.

Consider exploring these related references, it might be helpful for you.

 - Get snippets and extracted content

 - Configure autocomplete

 - Configure results for the search widget

You can also submit this as a feature request to the Issue tracking system and product feature requests page. 

Hope this helps.