How can I utilize predictive search in my custom store?

I wanna use predictive search on my custom store with store api

but predictiveSearch returns “queries” as "empty array ( ) " in graphiQL

should I setting something more in admin page?

I Checked Queries, Products, and Collections of predictve search results in Search&Discovery App