wit-ai / wit

Natural Language Interface for apps and devices
https://wit.ai/
942 stars 92 forks source link

Question on adding 2nd language #2664

Closed jandieg closed 1 year ago

jandieg commented 1 year ago

Our agent is doing fine with English, I see it does resolve some intents written in Spanish (without training), which is good. However things like wit/datetime do fail, for example.

So in plans to add a second language, whats the recommended approach? Is there a way to export and somehow transfer learnings into a new Wit in Spanish?

I am asking from the perspective of not having to train everything again.

Thanks

nishsinghal20 commented 1 year ago

Hi @jandieg! wit/datetime is powered by Duckling. The app language sets the ruleset in Duckling (per language) but you can override that per request by setting context & locale in the request (https://wit.ai/docs/http/#context_link)

In general, the current data model is one language per app.