Skip to content

Add MetadataFields auto configuration in AzureVectorStore #2340

Open
@Giurzo

Description

@Giurzo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions