MatchInfo describes which part of suggestion matched with data in
user typed query. This can be used to highlight matching parts in
the UI. This is different from the annotations provided in
annotated_suggestion. The annotated_suggestion provides information
about the semantic meaning, while this provides information about
how it relates to the input.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class SuggestionInfo (0.10.17)\n\nVersion latestkeyboard_arrow_down\n\n- [0.10.17 (latest)](/python/docs/reference/dataqna/latest/google.cloud.dataqna_v1alpha.types.SuggestionInfo)\n- [0.10.16](/python/docs/reference/dataqna/0.10.16/google.cloud.dataqna_v1alpha.types.SuggestionInfo)\n- [0.9.0](/python/docs/reference/dataqna/0.9.0/google.cloud.dataqna_v1alpha.types.SuggestionInfo)\n- [0.8.2](/python/docs/reference/dataqna/0.8.2/google.cloud.dataqna_v1alpha.types.SuggestionInfo)\n- [0.7.1](/python/docs/reference/dataqna/0.7.1/google.cloud.dataqna_v1alpha.types.SuggestionInfo)\n- [0.6.3](/python/docs/reference/dataqna/0.6.3/google.cloud.dataqna_v1alpha.types.SuggestionInfo)\n- [0.5.1](/python/docs/reference/dataqna/0.5.1/google.cloud.dataqna_v1alpha.types.SuggestionInfo)\n- [0.4.0](/python/docs/reference/dataqna/0.4.0/google.cloud.dataqna_v1alpha.types.SuggestionInfo)\n- [0.3.3](/python/docs/reference/dataqna/0.3.3/google.cloud.dataqna_v1alpha.types.SuggestionInfo)\n- [0.2.1](/python/docs/reference/dataqna/0.2.1/google.cloud.dataqna_v1alpha.types.SuggestionInfo)\n- [0.1.1](/python/docs/reference/dataqna/0.1.1/google.cloud.dataqna_v1alpha.types.SuggestionInfo) \n\n SuggestionInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nDetailed information about the suggestion.\n\nClasses\n-------\n\n### MatchInfo\n\n MatchInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nMatchInfo describes which part of suggestion matched with data in\nuser typed query. This can be used to highlight matching parts in\nthe UI. This is different from the annotations provided in\nannotated_suggestion. The annotated_suggestion provides information\nabout the semantic meaning, while this provides information about\nhow it relates to the input.\n\nExample: user query: `top products`\n\n::\n\nannotated_suggestion {\ntext_formatted = \"top product_group\"\nhtml_formatted = \"top **product_group**\"\nmarkups {\n{type: TEXT, start_char_index: 0, length: 3}\n{type: DIMENSION, start_char_index: 4, length: 13}\n}\n}\n\nquery_matches {\n{ start_char_index: 0, length: 3 }\n{ start_char_index: 4, length: 7}\n}"]]