Hi, I’m building a guard-training scene where each NPC must be asked a fixed set of questions (e.g. “Are you armed?”, “Are you alone?”, “Where did you come from?”). For analytics I need, per NPC and per session, which required questions were not asked — e.g. “User forgot to ask NPC #1 if he is armed; NPC #6 if he is armed and if he is alone.”
Short questions for the community:
-
Does Convai provide a Unity-side hook or callback that gives every user utterance or message?
-
If not, what’s the recommended best practice to capture user speech/intent for per-NPC analytics?
Simple Unity-side plan I’ll try:
-
For each NPC keep a short list of required questions (phrases or synonyms).
-
Capture every user utterance to that NPC (from Convai or local STT).
-
Match utterances to required questions and track which were asked.
-
At end of interaction send a short report listing which NPCs missed which questions.
Example (plain text):
Session abc123 — missing: NPC 1: are_you_armed; NPC 6: are_you_armed, are_you_alone.
Any tips on the best Convai SDK hook to capture raw user messages (or built-in intent features) would be very helpful. Thanks!