feat: add Azure AI Search vector contract and update existing vector …#46
Conversation
…provider contracts - Add azureAiSearchVector.contract.ts with full Zod schema for Azure AI Search configuration - Update elasticsearchCloudVector.contract.ts with expanded field support - Extend milvusCloudVector.contract.ts and milvusVector.contract.ts with additional fields - Register azureAiSearch in contracts/index.ts - Update package.json and package-lock.json dependencies
|
Review summary (key correctness/regression risks):
Tests to consider: Milvus dot metric index creation + upsert; ES Cloud with least-privilege API key; Azure AI Search smoke test on Node 18/20. |
|
PR review findings:
Minor: See |
- elasticsearch-cloud: make apiKey optional in form (runtime already accepts apiKey OR username/password) - milvus + milvus-cloud: use configured metric instead of hardcoded COSINE when auto-creating missing index on upsert - milvus + milvus-cloud: listIndexes now fetches actual metric_type via describeIndex instead of returning static 'cosine' - add metricFromMilvusType / metricFromMilvusCloudType reverse-mapping helpers
…provider contracts