We describe a construction of a weight system for finite type knot invariants using, as initial data, a skew-symmetric function of 3 variables satisfying a certain identity. If this function is analytic, then the weight system obtained is reduced to a weight system coming from the Lie algebra sl(2). For non-analytic functions, the problem is open.