spring-projects/spring-ai
在 GitHub 查看Add MetadataFields auto configuration in AzureVectorStore
Open
#2,340 建立於 2025年2月27日
azurehelp wanted
倉庫指標
- Star
- (8,872 star)
- PR 合併指標
- (平均合併 2天 1小時) (30 天內合併 50 個 PR)
描述
Expected Behavior
Be able to create an AzureVectorStore with specified MetadataFields list in the configuration, like:
spring:
ai:
vectorstore:
azure:
url: endpoint
api-key: key
metadata-fileds:
- name: filterField
fieldType: string
Current Behavior
Without specifying these MetadataFileds when creating the AzureVectorStore bean, it is not possible to filter a query by these fields, forcing the bean to be created manually (like here) without using the auto-configuration feature.