spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

Add MetadataFields auto configuration in AzureVectorStore

Open Giurzo opened this issue 8 months ago • 0 comments
trafficstars

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.

Giurzo avatar Feb 27 '25 11:02 Giurzo