I am developping a vocal assistant with dialogflow and I have a question about the lifespan of an intent. As far as I understand, the lifespan value gives me the number of possible interactions inside this intent. It is decremented at each interaction and when is equal to 0 the value cannot be recognized as a possible value of the intent.
The default value of a lifespan is 5 but I can set it to any value like 99.
In my agent I try to always set the lifespan of my context to 0 when I want to quit it. Is it the best practise for quitting a context?
Also, in some contexts where there are often more than 5 interactions, I am tempted to initialize lifespan to 99. But, can it deteriorate the performance if we put large values for lifespan? Once again, what is the best practice for lifspan and context management?
Many many thanks