Skip to content

[Store][Vektor] Add bridge#1561

Merged
OskarStark merged 1 commit intosymfony:mainfrom
Guikingone:store/vektor_bridge
Feb 23, 2026
Merged

[Store][Vektor] Add bridge#1561
OskarStark merged 1 commit intosymfony:mainfrom
Guikingone:store/vektor_bridge

Conversation

@Guikingone
Copy link
Copy Markdown
Contributor

@Guikingone Guikingone commented Feb 6, 2026

Q A
Bug fix? no
New feature? yes
Docs? yes
Issues --
License MIT
  • Bring support for Vektor

@chr-hertel
Copy link
Copy Markdown
Member

Hey @Guikingone, we had quite some BC breaks in store lately and a new integration test setup - can you adopt that here please?

@Guikingone Guikingone force-pushed the store/vektor_bridge branch 3 times, most recently from 15c57cf to 7ad776e Compare February 18, 2026 15:37
@Guikingone Guikingone marked this pull request as ready for review February 18, 2026 15:43
@carsonbot carsonbot added Feature New feature Store Issues & PRs about the AI Store component Status: Needs Review labels Feb 18, 2026
@Guikingone
Copy link
Copy Markdown
Contributor Author

Fabbot is complaining due to the name of the library, not a big deal IMHO 😅

@Guikingone
Copy link
Copy Markdown
Contributor Author

@centamiv If you want to take a look 🙂

@centamiv
Copy link
Copy Markdown

@Guikingone thanks for working on this integration! I took a look at the code and the implementation seems perfectly aligned with the library. Just let me know if you need me to add any tests or features to solve specific use cases.

@OskarStark OskarStark changed the title [Store] Add support for Vektor [Store][Vektor] Add bridge Feb 19, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds a new Vektor vector store bridge to the Symfony AI Store component. Vektor is a PHP-based vector database library that stores data on the filesystem. The PR introduces support for this store backend, following the established patterns of other store bridges in the monorepo.

Changes:

  • Adds a new Vektor store bridge package with Store implementation, tests, and configuration
  • Integrates the Vektor store into the AI Bundle with configuration support
  • Adds a RAG example demonstrating Vektor store usage
  • Updates the monorepo's splitsh.json to include the new bridge for subtree splitting

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/store/src/Bridge/Vektor/Store.php Main Store implementation that wraps the Vektor library, implementing StoreInterface and ManagedStoreInterface
src/store/src/Bridge/Vektor/Tests/StoreTest.php Unit tests for Store class covering setup, drop, optimize, and query operations
src/store/src/Bridge/Vektor/Tests/IntegrationTest.php Integration test extending AbstractStoreIntegrationTestCase for comprehensive testing
src/store/src/Bridge/Vektor/composer.json Package configuration with dependencies on centamiv/vektor ^2.0.1 and symfony components
src/store/src/Bridge/Vektor/phpunit.xml.dist PHPUnit configuration for running bridge tests
src/store/src/Bridge/Vektor/phpstan.dist.neon PHPStan static analysis configuration
src/store/src/Bridge/Vektor/README.md Documentation describing the bridge and linking to resources
src/store/src/Bridge/Vektor/CHANGELOG.md Changelog documenting the addition in version 0.5
src/store/src/Bridge/Vektor/LICENSE MIT license file
src/store/src/Bridge/Vektor/.gitignore Git ignore rules for vendor, composer.lock, and test artifacts
src/store/src/Bridge/Vektor/.gitattributes Export ignore rules for tests and development files
src/store/src/Bridge/Vektor/.github/workflows/close-pull-request.yml GitHub workflow to redirect PRs to main repository
src/store/src/Bridge/Vektor/.github/PULL_REQUEST_TEMPLATE.md PR template redirecting to main repository
src/ai-bundle/src/AiBundle.php Adds Vektor store registration logic in processStoreConfig method
src/ai-bundle/config/store/vektor.php Configuration definition for Vektor stores with storage_path and dimensions options
src/ai-bundle/config/options.php Imports Vektor store configuration into main AI Bundle config
src/ai-bundle/tests/DependencyInjection/AiBundleTest.php Tests for Vektor store configuration with various option combinations
src/ai-bundle/composer.json Adds symfony/ai-vektor-store ^0.5 to require-dev
examples/rag/vektor.php Example demonstrating RAG with Vektor store, SimilaritySearch, and OpenAI
examples/composer.json Adds symfony/ai-vektor-store ^0.5 to require-dev
splitsh.json Adds ai-vektor-store entry for repository splitting

@Guikingone
Copy link
Copy Markdown
Contributor Author

I closed two suggestions of Copilot about using self::assertCount, not used in the project 😄

@Guikingone Guikingone force-pushed the store/vektor_bridge branch 2 times, most recently from acb99e0 to c393763 Compare February 20, 2026 14:14
@Guikingone Guikingone force-pushed the store/vektor_bridge branch 3 times, most recently from c5d4415 to 4213229 Compare February 21, 2026 09:56
@OskarStark
Copy link
Copy Markdown
Contributor

Thank you @Guikingone.

@OskarStark OskarStark merged commit d0d90ba into symfony:main Feb 23, 2026
395 of 396 checks passed
@Guikingone Guikingone deleted the store/vektor_bridge branch February 23, 2026 12:09
OskarStark added a commit that referenced this pull request Feb 24, 2026
… (chr-hertel)

This PR was merged into the main branch.

Discussion
----------

[Store][Vektor] Run Vektor integration test in pipeline

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| Docs?         | no
| Issues        |
| License       | MIT

Follows #1561

Commits
-------

610f0c6 Run Vektor integration test in pipeline
plachance added a commit to plachance/ai that referenced this pull request Feb 24, 2026
…ipeline (chr-hertel)

This PR was merged into the main branch.

Discussion
----------

[Store][Vektor] Run Vektor integration test in pipeline

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| Docs?         | no
| Issues        |
| License       | MIT

Follows symfony#1561

Commits
-------

610f0c6 Run Vektor integration test in pipeline
chr-hertel added a commit that referenced this pull request Feb 28, 2026
…ertel)

This PR was merged into the main branch.

Discussion
----------

[Examples] Fix composer setup of examples before 0.6

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| Docs?         | no
| Issues        |
| License       | MIT

Follows #1561 and #1554.

We should never require unreleased versions when no branch-alias is defined, and since we bump the versions prior to release we can go with `dev-main`. cc `@OskarStark` `@Guikingone`

Commits
-------

5044821 Fix composer setup of examples before 0.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature Status: Reviewed Store Issues & PRs about the AI Store component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants