Skip to content

Switching between search index #2006

@daptatea

Description

@daptatea

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Hi,

I’m looking to switch between different indexes in the Azure AI search from the frontend. Like a dropdown menu: Index1, Index2, Index3. Could you guide me on how to do this? Specifically, which file should I edit to modify the API call for selecting different indexes?

I’m currently editing the chatReadRetrieveread file, but I’ve struggled to adjust the frontend code to facilitate this switching. Any tips on what parts of the code I should focus on would be greatly appreciated!

Thanks for your help!

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

azd version?

run azd version and copy paste here.

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions