mirror of
https://github.com/langchain-ai/langchain-postgres.git
synced 2026-07-16 01:33:18 -04:00
Input text/embedding/metadata list length validation is missing #56
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Voileexperiments on GitHub (Oct 28, 2024).
add_textsmethod in baseVectorStorecontains a check thattexts_andmetadatasshould be of the same length.This is not done in
PGVector'sadd_textsoradd_embeddingsmethods. The extra items are just silently dropped.