azure-search-openai-demo
azure-search-openai-demo copied to clipboard
How to support complex queries like doc count
There's a certain class of questions that seems to fail/generate nonsense. Examples from user chat:
- How many documents are in the database?
- How many documents have been signed after March 2025?
- Give me a list of all contracts between company X and company Y
These seem to be more in the area of generating a proper search query. I don't even know if this falls under RAG. But the user requires supporting this.
Any idea or resource would be appreciated. Thanks.