kernel-memory
kernel-memory copied to clipboard
[Question] How can I check if an existing document given a tag value exists?
Context / Scenario
Using Azure AI Search for our embeddings. I'm storing custom tags for uploaded documents, and they appear properly in the Azure AI Search Index.
Question
How can I search documents based on the tag value? I've tried to use AskAsync, but it seems to throw errors when it can't find the document, and it will take very long.
E.g. I tried async with Does a document with tag opinion_id with value {record.id}
Can't I use filter queries? I'm not very familiar with Azure AI Search, so not sure how that will work.