Preparing search index...
The search index is not available
LangChain.js - v0.1.35
LangChain.js
langchain/evaluation
getDistanceCalculationFunction
Function getDistanceCalculationFunction
get
Distance
Calculation
Function
(
distanceType
)
:
VectorFunction
Get the distance function for the given distance type.
Parameters
distanceType
:
EmbeddingDistanceType
Returns
VectorFunction
The distance function.
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
LangChain.js - v0.1.35
Loading...
Get the distance function for the given distance type.