Function EmbeddingDistance
- EmbeddingDistance(distanceMetric, config?): EmbeddingDistance
Parameters
distanceMetric: undefined | "cosine" | "euclidean" | "manhattan" | "chebyshev"
Optional
config: Pick<Partial<LabeledCriteria>, "embedding" | "formatEvaluatorInputs" | "feedbackKey">