Keywords in Thai
# support
e
I'm trying to create an Assistant with API https://api.vapi.ai/assistant The transcriber configuration is as follows: "transcriber":{"model":"nova-2","language":"th-TH","provider":"deepgram","smartFormat":true,"keywords":["ยิม:1"]},"startSpeakingPlan":{"waitSeconds":0.5,"smartEndpointingEnabled":true,"transcriptionEndpointingPlan":{"onPunctuationSeconds":0.5,"onNoPunctuationSeconds":1,"onNumberSeconds":0.7}} This gives the following error: "transcriber.each keyword must be in the format 'word' or 'word:number'. for example, 'companyname' or 'companyname:1'", But, as you can see, I'm using the format 'word:number' The problem is the thai alphabet. If, instead of ["ยิม:1"], i use ["gim:1"], then it works. ¿What can i do?
v
@elfuns It seems like you've encountered an issue with the keyword recognition feature when using non-Latin alphabets. The error message suggests that the API expects keywords in a specific format, which might not fully support Thai characters. To address this, I recommend reaching out to the VAPI support team for more information on the correct usage of Thai characters in the keywords parameter. They might have specific guidelines or an updated feature that allows for non-Latin scripts to be used as keywords. In the meantime, if your use case allows, you could consider using transliterated versions of the Thai words (as you did with "gim:1") as a temporary workaround. However, for a more accurate and culturally appropriate solution, contacting support would be the best course of action. Please ask support for more info on this.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
2 Views