aws-samples / aws-genai-llm-chatbot

A modular and comprehensive solution to deploy a Multi-LLM and Multi-RAG powered chatbot (Amazon Bedrock, Anthropic, HuggingFace, OpenAI, Meta, AI21, Cohere, Mistral) using AWS CDK on AWS
https://aws-samples.github.io/aws-genai-llm-chatbot/
MIT No Attribution
965 stars 280 forks source link

Enable Metadata Filter Queries for OpenSearch #386

Open philikai opened 4 months ago

philikai commented 4 months ago

Enable Metadata Filter Queries for OpenSearch:

Implement Approximate KNN Search with Metadata Filtering in Amazon OpenSearch

Goal

Motivation

Approaches

UI Integration

Query Rewriting by LLM

ystoneman commented 2 months ago

OpenSearch 2.9 on Amazon OpenSearch Service offers efficient vector query filtering with FAISS for fast metadata filtering during approximate k-NN search.

UI integration may best expose filters to users, while LLM query rewriting could enable natural language filtering to complement the UI.

Key questions:

Share ideas or open a draft PR for feedback. Excited to see this progress!

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 60 days with no activity.