Potential collaboration on pgvector VDB support with ai_vdb_provider_postgres
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3559138. --> Reported by: [mxr576](https://www.drupal.org/user/315522) >>> <h2>Problem/Motivation</h2> <p> The <a href="https://www.drupal.org/project/ai_provider_amazeeio">ai_provider_amazeeio</a> module previously depended on the <a href="https://www.drupal.org/project/ai_vdb_provider_postgres">ai_vdb_provider_postgres</a> module for pgvector VDB support. In order to release a stable version, the pgvector VDB driver was forked in <a href="https://git.drupalcode.org/project/ai_provider_amazeeio/-/commit/355186a5fd11e0de415b0420d9cca42424923ba8">commit 355186a5fd11e0de415b0420d9cca42424923ba8</a>.</p> <p> However, for long-term maintainability and security, it would be preferable to collaborate directly on pgvector VDB support in the origin <a href="https://www.drupal.org/project/ai_vdb_provider_postgres">ai_vdb_provider_postgres</a> project, which already working on relevant issues such as <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-1"><a href="https://www.drupal.org/project/ai_vdb_provider_postgres/issues/3547615" title="Status: Active">#3547615: Use the Drupal core pgsql module to do most of the database interactions</a></span>. </p> <h2>Proposed Solution</h2> <ul> <li>Initiate discussion and collaboration between maintainers of <a href="https://www.drupal.org/project/ai_provider_amazeeio">ai_provider_amazeeio</a> and <a href="https://www.drupal.org/project/ai_vdb_provider_postgres">ai_vdb_provider_postgres</a> to unify pgvector support.</li> <li>Explore refactoring or merging the forked pgvector driver back into the origin project.</li> <li>Leverage community resources and shared maintenance for better security and sustainability.</li> <li>Ensure stable releases for both projects while reducing duplication and fragmentation.</li> </ul> <h2>Relevant History / References</h2> <ul> <li> Former direct dependency on <a href="https://www.drupal.org/project/ai_vdb_provider_postgres">ai_vdb_provider_postgres</a> </li> <li> Forked driver for stable release: <a href="https://git.drupalcode.org/project/ai_provider_amazeeio/-/commit/355186a5fd11e0de415b0420d9cca42424923ba8">commit 355186a5fd11e0de415b0420d9cca42424923ba8</a> </li> </ul> <h2>Steps to Reproduce</h2> <h2>Expected Results</h2> <ul> <li>Community-led pgvector support in the origin <a href="https://www.drupal.org/project/ai_vdb_provider_postgres">ai_vdb_provider_postgres</a> project.</li> <li>Stable releases for both projects without unnecessary forks.</li> <li>Improved maintainability and security through collaboration.</li> </ul> <h2>Actual Results</h2> <ul> <li>Separate forks and duplicated maintenance of pgvector support.</li> </ul> <h2>Additional Information</h2> <ul> <li>Open to feedback and discussion from both module maintainers and contributors.</li> </ul>
issue