vectara / create-ui

Generate a working React codebase for a range of generative and semantic search UIs
https://vectara.github.io/create-ui
Apache License 2.0
69 stars 12 forks source link

Improve DX of configuring filters #3

Open cjcenizal opened 1 year ago

cjcenizal commented 1 year ago

Configuring filters should be as straightforward as defining some filter attributes and supported values. The UI should expose all of them the user, possibly in a filters drawer, along with the option to toggle between "inclusion" and "exclusion".

hvdv99 commented 9 months ago

Agreed, also configuring filters in the API is also not an easy task. I would like to include or exclude documents from a search but so far I have not been able to find an answer.

cjcenizal commented 9 months ago

@hvdv99 Have you see the Metadata Filters docs? You can include/exclude documents based on the document metadata. If you have questions, you can ask us for help on our forums at https://discuss.vectara.com/c/q-and-a/6.