utils#

Utility functions for working with vectors and vectorstores.

Classes

utils.DistanceStrategy(value[,Β names,Β ...])

Enumerator of the Distance strategies for calculating distances between vectors.

Functions

utils.maximal_marginal_relevance(...[,Β ...])

Calculate maximal marginal relevance.