add inference service in context