It sound like what your asking for is similar to Salesforce's Dependent
Picklists:
https://help.salesforce.com/s/articleView?id=sf.fields_about_dependent_fields.htm&type=5
Hey Everyone, After making some changes to how this component behaves we
have re-enabled it on the support page. Now the component will wait
until you are done typing before trying to find helpful resources. In
the past it would try to search after every word which had the potential
to cause problems. I hope that this will aid you in finding the
resources that you need without having to always create a support case.
Sara and everyone else, Thank you so much for your feedback around this.
In the interest of usability, we have temporarily disabled this
component on the page as we work to address the underlying problem.