The distance metric to use for comparing the embeddings.
OptionalembeddingThe embedding objects to vectorize the outputs.
OptionalevaluationThe name of the evaluation.
OptionalmemoryOptionalskipOptionalskipEvaluate Chain or LLM output, based on optional input and label.
Optionalconfig: anyThe evaluation results containing the score or value. It is recommended that the dictionary contain the following keys:
Return a json-like object representing this chain.
StaticdeserializeLoad a chain from a json-like object describing it.
Use embedding distances to score semantic difference between a prediction and reference.