Voicebox generating wrong queries

Hello all,

I’m currently experimenting with Stardog and its VoiceBox interface, and I’ve encountered a couple of issues that I hope someone can help me with:

  1. Incorrect Query Results:

    • I have a simple Knowledge Graph (KG) set up, but when using VoiceBox to query the KG, it returns incorrect answers—even for simple questions. For example, when I ask which entity has the maximum value for one of its attributes, VoiceBox provides the wrong answer.
    • Upon reviewing the query that VoiceBox generates, I noticed that it uses MAX, GROUP BY, in addition to ORDER BY and LIMIT. This combination seems unnecessary. Ideally, the ORDER BY and LIMIT should be sufficient to get the correct result without the added complexity.
  2. Cannot Copy Query from Response:

    • When I start using VoiceBox with a new database, I am unable to copy the query from the response. Instead, the only option I have is to copy the response itself.
    • Is there a setting or configuration option I might have missed that would allow me to copy the generated query?


Thanks in advance for your help!

Best regards,
Sonam

Hi Sonam,

Incorrect query results
Have you created any training queries? Voicebox will be much more accurate if you do so. We have a full guide on this here. If you have any issues with that or are still getting inaccurate answers after creating training queries, let me know.

No copy button
Based on your screenshots, it looks like you're able to get the copy query button sometimes. Are you consistently getting it (or not getting it) with certain types of queries you ask? "Tell me about" or "describe dataset" questions don't have a specific query associated with them, and thus "Copy query" won't show up for these types of questions.

Best,
Steve

Thanks Steve for the response. I am experimenting with VoiceBox with a single entity so didn't have any stored queries. I will try a more complex model and create training queries.
With regards to the "copy query" button, it is not showing on any new interaction with VoiceBox regardless of the question type. Attached below is VoiceBox generating wrong answer and copy query not showing.

ps. The copy query option is not appearing on new databases I have created.

Hi Sonam,

Sorry for the delay. We're looking into this and will get back to you.

Best,
Steve

Hi Sonam,

We've found the source of the error and are fixing it. I'll update you when I know more.

Best,
Steve

1 Like