langchain.js
    Preparing search index...
    metric: "L2" | "Cosine" | "IP"

    Type of metric used in the MyScale database.