Embedding Distance Evaluation Chain Input.

interface EmbeddingDistanceEvalChainInput {
    distanceMetric?: EmbeddingDistanceType;
    embedding?: EmbeddingsInterface;
}

Implemented by

Properties

distanceMetric?: EmbeddingDistanceType

The distance metric to use for comparing the embeddings.

embedding?: EmbeddingsInterface

The embedding objects to vectorize the outputs.