Here's the first bit of inspiration, a cheap electronic device known as a quay.
Cost: 10 credits; Weight: 0.5 kg
A quay is a small electronic device that generates random answers to spoken questions. It contains limited voice recognition software that responds to particular speech patterns, namely the inflection generally used to form interrogatives in the language for which it is programmed. While for most beings it is simply a novelty item, for some—rumor has it that the Weequays who work for Jabba the Hutt worship one as a god—the device’s responses carry considerable weight of truth.
To determine the quay’s response, simply roll percentile dice.
Result / Response
1-8 / “It is certain.”
9-16 / “Without a doubt”
17-24 / “It is decidedly so.”
25-32 / “Signs point to yes.”
33-40 / “As I see it, yes.”
41-48 / “Outlook good”
49-56 / “Cannot predict now”
57-64 / “Better not tell you now”
65-72 / “Don’t count on it.”
73-80 / “Very doubtful”
81-88 / “My reply is no.”
89-96 / “My sources say no.”
97-100 / The device processes the question but takes more time to respond; roll again.