Skip to content

Azure AI Search Agentic Retrieval Returning More than Just Selected Fields #2569

@Wilsven

Description

@Wilsven
  • This request is referencing PR Add support for agentic retrieval #2537 @mattgotteiner
  • Fields below will be pertaining to my data structure indexed into the search index
  • Within the source_data, I realised agentic retrieval is only returning the id, title and content fields in the references (see image below).
  • Is there currently a way to retrieve more than just these fields?
    • Within my index, I have more fields like full_url which I want to retrieve so when I display the sources on the frontend, user may click into it and a new browser tab will be opened and they will be directed to the full_url
  • It is my understanding that the fields returned are controlled within the searchmanager.py module? (see second screenshot below)
    • It seems my title and content fields are listed as prioritized_fields which may be why they are only returned
    • The other remaining unset field is the keywords_field
    • Now, if this is where I define what the agentic retrieval returns, where should a field like full_url go? Surely does not make sense to place it within any of the three prioritized_fields options — title_field, content_field or keywords_field
Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions