[Cosmos] changes and sample for vector search control plane update
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:
And we now have the ability to pass in a new vector embedding policy json that looks like this:
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.
API change check
APIView has identified API level changes in this PR and created following API reviews.
/azp run python - cosmos
Azure Pipelines successfully started running 1 pipeline(s).
/azp run python - cosmos
Azure Pipelines successfully started running 1 pipeline(s).
/azp run python - cosmos - ci
Azure Pipelines successfully started running 1 pipeline(s).
These changes were merged as part of https://github.com/Azure/azure-sdk-for-python/pull/35468.