langchain
64b62f6a - community[neo4j_vector]: make embedding dimension check optional (#25737)

Commit
1 year ago
community[neo4j_vector]: make embedding dimension check optional (#25737) **Description:** Starting from Neo4j 5.23 (22 August 2024), with vector-2.0 indexes, `vector.dimensions` is not required to be set, which will cause it the key not exist error in index config if it's not set. Since the existence of vector.dimensions will only ensure additional checks, this commit turns embedding dimension check optional, and only do checks when it exists (not None). https://neo4j.com/release-notes/database/neo4j-5/ **Twitter handle:** @HollowM186 Signed-off-by: Hollow Man <hollowman@opensuse.org> Co-authored-by: Erick Friis <erick@langchain.dev>
Author
Parents
Loading