admin管理员组文章数量:1125775
I have an indexer in azure search with following fields:
content string
contentVector Single Collection
date DateTimeOffset
category string
when quering for data with LLM:
show me books for nature published in year 2022.
i often get data from other years as well. In order to solve this, I wanted to use prompt flow by parsing the query using python code to see if it has time information. if it does then i wanted to apply filter:
"date ge 2022-01-01T00:00:00Z and date lt 2023-01-01T00:00:00Z"
but in Index Lookup, I do not have any option to add this filter. Wondering if this approach is right? using only date filter here for simplicity.
i also tried giving below string in queries. results were better but still get records from other years:
show me books for nature theme. and (date ge 2022-01-01T00:00:00Z and date lt 2023-01-01T00:00:00Z)
thank you in advance for any documentation or guidance on this.
本文标签: azure prompt flow component Index Lookup does not have filter optionStack Overflow
版权声明:本文标题:azure prompt flow component Index Lookup does not have filter option - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736625666a1945668.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论