azure-search-openai-demo icon indicating copy to clipboard operation
azure-search-openai-demo copied to clipboard

How to support complex queries like doc count

Open syonip opened this issue 4 months ago • 3 comments

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.

syonip avatar Jul 16 '25 02:07 syonip