Embedding Distance Evaluation Chain Input.

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

Implemented by

Properties

distanceMetric?: EmbeddingDistanceType

The distance metric to use for comparing the embeddings.

embedding?: any

The embedding objects to vectorize the outputs.