azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

[Cosmos] changes and sample for vector search control plane update

Open simorenoh opened this issue 1 year ago • 7 comments

Changes for control-plane vector search bits, adding the vector embedding policy to container creation flow and the vector indexes to the existing indexing policy based on the doc shared and PRs done by the service team.

Samples and tests have been added as well.

Relevant updates just mean our indexing policy now has additional vector indexing fields: image

And we now have the ability to pass in a new vector embedding policy json that looks like this: image

I opted for leaving a raw dictionary/json for the new policy since it aligns with the already existing indexing policy, but if we feel we should change this do let me know.

simorenoh avatar Mar 21 '24 18:03 simorenoh

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-cosmos

azure-sdk avatar Mar 21 '24 19:03 azure-sdk

/azp run python - cosmos

simorenoh avatar Apr 29 '24 23:04 simorenoh

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Apr 29 '24 23:04 azure-pipelines[bot]

/azp run python - cosmos

simorenoh avatar Apr 30 '24 18:04 simorenoh

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Apr 30 '24 18:04 azure-pipelines[bot]

/azp run python - cosmos - ci

simorenoh avatar May 02 '24 18:05 simorenoh

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar May 02 '24 18:05 azure-pipelines[bot]

These changes were merged as part of https://github.com/Azure/azure-sdk-for-python/pull/35468.

simorenoh avatar May 17 '24 17:05 simorenoh