Question about limiting NPC's vocabulary

What do you need help with?

Question

Installation method

Unity Asset Store

Issue area

Other

Impact

Blocker - I cannot continue

Unity version

6.3 LTS

Convai Unity SDK version

4.3.0

Target platform

Windows

Where does it happen?

Not applicable

Short summary

Question about limiting NPC’s vocabulary

What happened?

It’s a question. I wanted to ask if it’s possible to limit the NPC to make sentences only out of list of approved words? I’m making a language learning game and want the NPC to only use vocabulary that the player has learned, and expand as the player learn more words and grammar

I checked the relevant documentation, resources, and similar forum posts before posting.

on

I confirm that I did not include API keys, tokens, passwords, secrets, private character data, private conversation logs, or customer data.

on

Hello,

Welcome to the Convai Developer Forum!

There is no guaranteed way to fully restrict the NPC to only use a fixed list of approved words.

However, you can try using the Dynamic Context feature to provide the character with the current vocabulary or grammar rules the player has learned, and instruct the character to stay within that scope as much as possible.

You can find the documentation here: