QuestionQ7Verified/Snowflake Gen AI & LLM FunctionsCopy linkReport a problemAsk AstroTutorSave questionWhich function calculates the Manhattan distance between two points in a vector space?AVECTOR_INNER_PRODUCTBVECTOR_L1_DISTANCECVECTOR_L2_DISTANCEDVECTOR_COSINE_SIMILARITYShow AnswerAnswerExplanationManhattan distance is the L1, or taxicab, distance, calculated by summing the absolute differences of corresponding vector coordinates. VECTOR_L1_DISTANCE performs this calculation; L2 distance is Euclidean distance.Learn moreUse and enable pgvector — Azure Cosmos DB for PostgreSQLShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion