Thank you for taking time to contribute this pull request! You might have already read the [contributor guide][1], but as a reminder, please make sure to:
- Sign the contributor license agreement
- Rebase your changes on the latest
main
branch and squash your commits - Add/Update unit tests as needed
- Run a build and make sure all tests pass prior to submission
Comment From: sobychacko
When running the tests in the PR, I get an error as below. I have a very basic cosmosdb environment setup.
{\\\"Errors\\\":[\\\"A Container Vector Policy has been provided, but the capability has not been enabled on your account.
Could you tell me exactly what I need to run the tests? Thanks!
Comment From: TheovanKraay
When running the tests in the PR, I get an error as below. I have a very basic cosmosdb environment setup.
{\\\"Errors\\\":[\\\"A Container Vector Policy has been provided, but the capability has not been enabled on your account.
Could you tell me exactly what I need to run the tests? Thanks!
Sure, go to “features” tab under “settings” in Azure portal and there is “Vector Search for NoSQL API”. You can enable it there. After that the tests should pass 😊
Comment From: sobychacko
@TheovanKraay Thank you for the PR. It looks good. I ran the tests, polished the code, and merged the changes upstream. We also needed to add the spring-ai-azure-cosmos-db-store
module to the main pom.xml.