You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(spring-ai-azure-store): Add support for configurable field names in Azure Vector Store, allowing users to work with existing Azure AI Search indexes that use custom field names instead of the hardcoded defaults (content, embedding, metadata).
## Motivation - Problem
Azure AI Search indexes may use custom field names (e.g., `chunk_text` instead of `content`). Currently, `AzureVectorStore` hardcodes field names, making it incompatible with such indexes.
Without this feature, users must use native Azure SDK directly (bypassing Spring AI abstractions)
Following the pattern established by `PineconeVectorStore`, which already supports custom field names.
Signed-off-by: Alexandros Pappas <[email protected]>
Copy file name to clipboardExpand all lines: auto-configurations/vector-stores/spring-ai-autoconfigure-vector-store-azure/src/main/java/org/springframework/ai/vectorstore/azure/autoconfigure/AzureVectorStoreAutoConfiguration.java
Copy file name to clipboardExpand all lines: auto-configurations/vector-stores/spring-ai-autoconfigure-vector-store-azure/src/main/java/org/springframework/ai/vectorstore/azure/autoconfigure/AzureVectorStoreProperties.java
+31Lines changed: 31 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@
24
24
* Configuration properties for Azure Vector Store.
Copy file name to clipboardExpand all lines: vector-stores/spring-ai-azure-store/src/main/java/org/springframework/ai/vectorstore/azure/AzureVectorStore.java
Copy file name to clipboardExpand all lines: vector-stores/spring-ai-azure-store/src/test/java/org/springframework/ai/vectorstore/azure/AzureVectorStoreIT.java
0 commit comments