mirror of
https://github.com/vxcontrol/langchaingo.git
synced 2026-07-21 00:45:22 -04:00
aba0732988
* vectorstores: add MariaDB and Dolt vector store implementations Add new vector store implementations for MariaDB and Dolt databases. Both support similarity search with metadata filtering and score thresholds. From PR #1147 Co-authored-by: Dustin Brown <coffeegoddd@users.noreply.github.com> * go.mod: update testcontainers for MariaDB vector store tests Update testcontainers-go and testcontainers-go/modules/mariadb to v0.38.0 for MariaDB vector store test support. * vectorstores: fix database handling in MariaDB and Dolt implementations Change value receivers to pointer receivers for init() and createOrGetDatabase() methods to ensure proper state updates. Refactor database creation logic to first check if database exists before creating or updating, replacing the previous INSERT ON DUPLICATE KEY approach with a more explicit flow. --------- Co-authored-by: Dustin Brown <coffeegoddd@users.noreply.github.com>