v1.7.1 - Add Lifespan property to contexts
This release adds Lifespan
property to the AIContext
class. Lifespan
determines for how many requests context will affect the result.
final AIContext weatherContext = new AIContext("weather");
weatherContext.setParameters(Collections.singletonMap("location", "London"));
weatherContext.setLifespan(2);